summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/tms320dm320/system-dm320.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/tms320dm320/system-dm320.c')
-rw-r--r--firmware/target/arm/tms320dm320/system-dm320.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/target/arm/tms320dm320/system-dm320.c b/firmware/target/arm/tms320dm320/system-dm320.c
index abdca21627..267fbd46af 100644
--- a/firmware/target/arm/tms320dm320/system-dm320.c
+++ b/firmware/target/arm/tms320dm320/system-dm320.c
@@ -374,6 +374,11 @@ void system_init(void)
i2c_init();
avr_hid_init();
+
+#ifndef BOOTLOADER
+ /* Disable External Memory interface (used for accessing NOR flash) */
+ bitclr16(&IO_CLK_MOD0, CLK_MOD0_EMIF);
+#endif
#endif
}