]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - bootrom/bootrom.c
removed some duplicates.
[proxmark3-svn] / bootrom / bootrom.c
index 44bfaba6c32824a4987f21af032549155942d3cd..9d9dcad48eb1079008ffc86b0ae8458d033b1a82 100644 (file)
@@ -272,10 +272,10 @@ void BootROM(void)
        LED_B_OFF();
        LED_A_OFF();
 
-       AT91C_BASE_EFC0->EFC_FMR =
-               AT91C_MC_FWS_1FWS |
-               MC_FLASH_MODE_MASTER_CLK_IN_MHZ(48);
-
+       AT91C_BASE_EFC0->EFC_FMR = AT91C_MC_FWS_1FWS | MC_FLASH_MODE_MASTER_CLK_IN_MHZ(48);
+#ifdef HAS_512_FLASH
+       AT91C_BASE_EFC1->EFC_FMR = AT91C_MC_FWS_1FWS | MC_FLASH_MODE_MASTER_CLK_IN_MHZ(48);
+#endif 
     // Initialize all system clocks
     ConfigClocks();
 
Impressum, Datenschutz