]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/incaip/incaip.c
[MIPS] Update <asm/addrspace.h> header
[karo-tx-uboot.git] / board / incaip / incaip.c
index c624b3d82e236e5402ed3fb042ec44429108f599..dc513739fa3fce57c133cc18313f599006924389 100644 (file)
@@ -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();
        }