[ARM] 5535/1: U300 Makefile.boot
authorLinus Walleij <linus.walleij@stericsson.com>
Mon, 1 Jun 2009 13:27:26 +0000 (14:27 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 4 Jun 2009 16:47:36 +0000 (17:47 +0100)
The Makefile.boot file for the U300 port. This will compile the
kernel for different ZRELADDR depending on the location of
physical RAM in the chosen configuration.

Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-u300/Makefile.boot [new file with mode: 0644]

diff --git a/arch/arm/mach-u300/Makefile.boot b/arch/arm/mach-u300/Makefile.boot
new file mode 100644 (file)
index 0000000..6fbfc6e
--- /dev/null
@@ -0,0 +1,15 @@
+# Note: the following conditions must always be true:
+#   ZRELADDR == virt_to_phys(TEXTADDR)
+#   PARAMS_PHYS must be within 4MB of ZRELADDR
+#   INITRD_PHYS must be in RAM
+
+ifdef CONFIG_MACH_U300_SINGLE_RAM
+     zreladdr-y        := 0x28E08000
+  params_phys-y        := 0x28E00100
+else
+     zreladdr-y        := 0x48008000
+  params_phys-y        := 0x48000100
+endif
+
+# This isn't used.
+#initrd_phys-y := 0x29800000