From ebe1735294b1717c212167d23b665ff3c6d85db9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milie=20Feral?= Date: Tue, 11 Jun 2019 14:48:54 -0400 Subject: [PATCH] [ion] Board: remove shutdown method - It should shutdown the ExternalFlash - But it cannot be done in one function because some code need to be in the external flash and some other in the internal flash. --- ion/src/device/shared/drivers/board.cpp | 5 ----- ion/src/device/shared/drivers/board.h | 1 - 2 files changed, 6 deletions(-) diff --git a/ion/src/device/shared/drivers/board.cpp b/ion/src/device/shared/drivers/board.cpp index ce9241614..399de0c0e 100644 --- a/ion/src/device/shared/drivers/board.cpp +++ b/ion/src/device/shared/drivers/board.cpp @@ -18,11 +18,6 @@ namespace Board { using namespace Regs; -void shutdown() { - shutdownPeripherals(); - shutdownClocks(); -} - void initFPU() { // http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0553a/BABDBFBJ.html CORTEX.CPACR()->setAccess(10, CORTEX::CPACR::Access::Full); diff --git a/ion/src/device/shared/drivers/board.h b/ion/src/device/shared/drivers/board.h index 9bcb5388d..a643c35b7 100644 --- a/ion/src/device/shared/drivers/board.h +++ b/ion/src/device/shared/drivers/board.h @@ -6,7 +6,6 @@ namespace Device { namespace Board { void init(); -void shutdown(); void initFPU(); void initClocks();