summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@stericsson.com>2009-06-01 13:27:26 (GMT)
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-06-04 16:47:36 (GMT)
commit7666c17e2b0986a079da46122d8658544416c2cf (patch)
tree0f045f8b55aac9ec384524b7b9298cbc9e033d67 /arch/arm
parenteb366d4c95f546bb46a536387a4aca00ed2eda6a (diff)
downloadlinux-7666c17e2b0986a079da46122d8658544416c2cf.tar.xz
[ARM] 5535/1: U300 Makefile.boot
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>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-u300/Makefile.boot15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/mach-u300/Makefile.boot b/arch/arm/mach-u300/Makefile.boot
new file mode 100644
index 0000000..6fbfc6e
--- /dev/null
+++ b/arch/arm/mach-u300/Makefile.boot
@@ -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