summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-u300
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@stericsson.com>2009-06-01 14:27:26 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-06-04 17:47:36 +0100
commit7666c17e2b0986a079da46122d8658544416c2cf (patch)
tree0f045f8b55aac9ec384524b7b9298cbc9e033d67 /arch/arm/mach-u300
parenteb366d4c95f546bb46a536387a4aca00ed2eda6a (diff)
downloadblackbird-op-linux-7666c17e2b0986a079da46122d8658544416c2cf.tar.gz
blackbird-op-linux-7666c17e2b0986a079da46122d8658544416c2cf.zip
[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/mach-u300')
-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 000000000000..6fbfc6ea2d35
--- /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
OpenPOWER on IntegriCloud