[ion] Enable/disable FSMC clock with all clocks

Change-Id: I541532b1803181109d788dd943a6384b3b09db63
This commit is contained in:
Émilie Feral
2017-04-04 16:26:25 +02:00
parent 296a9aae1b
commit 6c2dabe7cc
2 changed files with 6 additions and 5 deletions

View File

@@ -89,9 +89,6 @@ void shutdownGPIO() {
}
void initFSMC() {
// FSMC lives on the AHB3 bus. Let's enable its clock. */
RCC.AHB3ENR()->setFSMCEN(true);
#if 0
/* FSMC timing */
FSMC_Bank1->BTCR[0+1] = (6) | (10 << 8) | (10 << 16);
@@ -165,8 +162,6 @@ void initFSMC() {
}
void shutdownFSMC() {
// FSMC lives on the AHB3 bus. Let's enable its clock. */
RCC.AHB3ENR()->setFSMCEN(false);
}
void initPanel() {