Mercurial > flash_v2
comparison packages/devs/flash/arm/assabet/current/src/flash_program_buf.c @ 132:0ae0bc38e387 ecos-sw-2000-10-31
Merge from eCos master repository on 2000-10-31-00:30:36-GMT
| author | jlarmour |
|---|---|
| date | Tue, 31 Oct 2000 20:53:09 +0000 |
| parents | 6bd9d475ed4b |
| children |
comparison
equal
deleted
inserted
replaced
| 131:8461114e4f19 | 132:0ae0bc38e387 |
|---|---|
| 64 if (cache_on) { | 64 if (cache_on) { |
| 65 HAL_DCACHE_SYNC(); | 65 HAL_DCACHE_SYNC(); |
| 66 HAL_DCACHE_DISABLE(); | 66 HAL_DCACHE_DISABLE(); |
| 67 } | 67 } |
| 68 | 68 |
| 69 ROM = (volatile unsigned long *)((unsigned long)addr & 0xFF800000); | 69 ROM = (volatile unsigned long *)((unsigned long)addr & 0xFE000000); |
| 70 | 70 |
| 71 // Clear any error conditions | 71 // Clear any error conditions |
| 72 ROM[0] = FLASH_Clear_Status; | 72 ROM[0] = FLASH_Clear_Status; |
| 73 | 73 |
| 74 while (len > 0) { | 74 while (len > 0) { |
