diff options
author | Vlad Lungu <vlad@comsys.ro> | 2007-10-21 22:10:10 +0900 |
---|---|---|
committer | Shinya Kuribayashi <skuribay@ruby.dti.ne.jp> | 2007-10-21 22:10:10 +0900 |
commit | de9a738faa7c2f47286119c3bfebc3dfbfe7d86d (patch) | |
tree | 6a6c46d5b98ec1118402939f9903b6c3e76bcdd8 | |
parent | 00101dd7a32d12f698150123e47e4b3420279f86 (diff) | |
download | u-boot-imx-de9a738faa7c2f47286119c3bfebc3dfbfe7d86d.zip u-boot-imx-de9a738faa7c2f47286119c3bfebc3dfbfe7d86d.tar.gz u-boot-imx-de9a738faa7c2f47286119c3bfebc3dfbfe7d86d.tar.bz2 |
[MIPS] Fix UNCACHED_SDRAM
PHYSADDR is for physical address, KSEG1ADDR is for uncached.
Signed-off-by: Vlad Lungu <vlad@comsys.ro>
Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
-rw-r--r-- | include/asm-mips/addrspace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-mips/addrspace.h b/include/asm-mips/addrspace.h index b8214b1..0e6abd7 100644 --- a/include/asm-mips/addrspace.h +++ b/include/asm-mips/addrspace.h @@ -49,7 +49,7 @@ cannot access physical memory directly from core */ #define UNCACHED_SDRAM(a) (((unsigned long)(a)) | 0x20000000) #else /* !CONFIG_AU1X00 */ -#define UNCACHED_SDRAM(a) PHYSADDR(a) +#define UNCACHED_SDRAM(a) KSEG1ADDR(a) #endif /* CONFIG_AU1X00 */ #endif /* __ASSEMBLY__ */ /* |