[PATCH 1/7] netX: add a few base addresses for non on chip devices

Juergen Beisert jbe at pengutronix.de
Fri Apr 27 05:32:19 EDT 2012


Signed-off-by: Juergen Beisert <jbe at pengutronix.de>
---
 arch/arm/mach-netx/include/mach/netx-regs.h |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/mach-netx/include/mach/netx-regs.h b/arch/arm/mach-netx/include/mach/netx-regs.h
index 27b7b8f..8496f3a 100644
--- a/arch/arm/mach-netx/include/mach/netx-regs.h
+++ b/arch/arm/mach-netx/include/mach/netx-regs.h
@@ -20,6 +20,11 @@
 #ifndef __ASM_ARCH_NETX_REGS_H
 #define __ASM_ARCH_NETX_REGS_H
 
+#define NETX_SDRAM_BASE 0x80000000
+#define NETX_CS0_BASE 0xc0000000
+#define NETX_CS1_BASE 0xc8000000
+#define NETX_CS2_BASE 0xd0000000
+
 #define NETX_IO_PHYS 0x00100000
 #define io_p2v(x) (x)
 #define __REG(base,ofs)       (*((volatile unsigned long *)(io_p2v(base) + ofs)))
-- 
1.7.10




More information about the barebox mailing list