diff options
Diffstat (limited to 'firmware/src/dfu/flash.c')
-rw-r--r-- | firmware/src/dfu/flash.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/firmware/src/dfu/flash.c b/firmware/src/dfu/flash.c index 2aaf760..675552d 100644 --- a/firmware/src/dfu/flash.c +++ b/firmware/src/dfu/flash.c @@ -32,14 +32,4 @@ int flash_sector(unsigned int sector, const u_int8_t *data, unsigned int len) } -void flash_init(void) -{ - unsigned int fmcn = AT91F_MC_EFC_ComputerFMCN(48000000); - - AT91F_MC_EFC_CfgModeReg(ff, fmcn << 16 | AT91C_MC_FWS_3FWS | - AT91C_MC_FRDY | AT91C_MC_LOCKE | - AT91C_MC_PROGE); - AT91F_AIC_EnableIt(); - -} |