aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVlad Lungu2007-10-21 22:10:10 +0900
committerShinya Kuribayashi2007-10-21 22:10:10 +0900
commitde9a738faa7c2f47286119c3bfebc3dfbfe7d86d (patch)
tree6a6c46d5b98ec1118402939f9903b6c3e76bcdd8 /include
parent00101dd7a32d12f698150123e47e4b3420279f86 (diff)
[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')
-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 b8214b1c859..0e6abd7d0fa 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__ */
/*