diff options
author | laforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-09-20 00:50:54 +0000 |
---|---|---|
committer | laforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2006-09-20 00:50:54 +0000 |
commit | 569d11d8a5f033fb3bb67b4cabe55d386bb25794 (patch) | |
tree | 1e43601afde78985200504b9a990ab53449b5688 /firmware/src/dfu/flash.c | |
parent | 3124bf3b4492d9cd608d4b933db88ca34ec425b7 (diff) |
- implement some more missing DFU bits
- add debugging support to DFU
- introduce a auto-generated compile.h to add reviison number/... to firmware
git-svn-id: https://svn.openpcd.org:2342/trunk@201 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
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(); - -} |