summaryrefslogtreecommitdiff
path: root/include/asm-mips
diff options
context:
space:
mode:
authorVlad Lungu <vlad@comsys.ro>2007-10-21 22:10:10 +0900
committerShinya Kuribayashi <skuribay@ruby.dti.ne.jp>2007-10-21 22:10:10 +0900
commitde9a738faa7c2f47286119c3bfebc3dfbfe7d86d (patch)
tree6a6c46d5b98ec1118402939f9903b6c3e76bcdd8 /include/asm-mips
parent00101dd7a32d12f698150123e47e4b3420279f86 (diff)
downloadu-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>
Diffstat (limited to 'include/asm-mips')
-rw-r--r--include/asm-mips/addrspace.h2
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__ */
/*