mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
[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>
This commit is contained in:
parent
eb366d4c95
commit
7666c17e2b
1 changed files with 15 additions and 0 deletions
15
arch/arm/mach-u300/Makefile.boot
Normal file
15
arch/arm/mach-u300/Makefile.boot
Normal file
|
@ -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
|
Loading…
Reference in a new issue