summaryrefslogtreecommitdiff
path: root/board/incaip/incaip.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/incaip/incaip.c')
-rw-r--r--board/incaip/incaip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/incaip/incaip.c b/board/incaip/incaip.c
index c624b3d..dc51373 100644
--- a/board/incaip/incaip.c
+++ b/board/incaip/incaip.c
@@ -63,7 +63,7 @@ long int initdram(int board_type)
/* Can't probe for RAM size unless we are running from Flash.
*/
- if (PHYSADDR(our_address) < PHYSADDR(PHYS_FLASH_1))
+ if (CPHYSADDR(our_address) < CPHYSADDR(PHYS_FLASH_1))
{
return max_sdram_size();
}