diff packages/devs/flash/arm/iq80310/current/src/flash.h @ 177:4c750ce71ae3

Merge from eCos master repository on 2001-08-10-19:22:57-BST
author jlarmour
date Fri, 10 Aug 2001 19:27:55 +0000
parents f935b880e96c
children e0c0827131d1
line wrap: on
line diff
--- a/packages/devs/flash/arm/iq80310/current/src/flash.h
+++ b/packages/devs/flash/arm/iq80310/current/src/flash.h
@@ -47,7 +47,7 @@
 // First 4K page of flash at physical address zero is
 // virtually mapped at address 0xa0000000.
 #define FLASH_P2V(x) ((volatile unsigned char *)(((unsigned)(x) < 0x1000) ?  \
-                           ((unsigned)(x) | 0xa0000000) :  \
+                           ((unsigned)(x) | 0xd0000000) :  \
                            (unsigned)(x)))
 
 #define FLASH_BOOT_BLOCK_SIZE   0x4000