diff options
author | Sekhar Nori <nsekhar@ti.com> | 2014-02-25 06:57:55 -0500 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2014-03-06 08:38:28 -0500 |
commit | 6ba9caaf472fd1707342848d9c5bfb38a230254f (patch) | |
tree | 88a7cc2c865f627c6756a4059d82876dcd7d4b74 /arch/arm/mach-davinci | |
parent | 6d0abeca3242a88cab8232e4acd7e2bf088f3bc2 (diff) |
ARM: davinci: enable da8xx build concurrently with older devices
Enable da8xx devices to build concurrently with older
(traditional) DaVinci devices. Do this by defining multiple
zreladdr values and enabling AUTO_ZRELADDR to prevent
build regressions. Note that we do not enable AUTO_ZRELADDR in
da8xx_omapl_defconfig since it is meant to be removed.
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci')
-rw-r--r-- | arch/arm/mach-davinci/Makefile.boot | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/arch/arm/mach-davinci/Makefile.boot b/arch/arm/mach-davinci/Makefile.boot index 04a6c4e67b14..4b81601754a2 100644 --- a/arch/arm/mach-davinci/Makefile.boot +++ b/arch/arm/mach-davinci/Makefile.boot | |||
@@ -1,13 +1,7 @@ | |||
1 | ifeq ($(CONFIG_ARCH_DAVINCI_DA8XX),y) | 1 | zreladdr-$(CONFIG_ARCH_DAVINCI_DA8XX) += 0xc0008000 |
2 | ifeq ($(CONFIG_ARCH_DAVINCI_DMx),y) | 2 | params_phys-$(CONFIG_ARCH_DAVINCI_DA8XX) := 0xc0000100 |
3 | $(error Cannot enable DaVinci and DA8XX platforms concurrently) | 3 | initrd_phys-$(CONFIG_ARCH_DAVINCI_DA8XX) := 0xc0800000 |
4 | else | 4 | |
5 | zreladdr-y += 0xc0008000 | 5 | zreladdr-$(CONFIG_ARCH_DAVINCI_DMx) += 0x80008000 |
6 | params_phys-y := 0xc0000100 | 6 | params_phys-$(CONFIG_ARCH_DAVINCI_DMx) := 0x80000100 |
7 | initrd_phys-y := 0xc0800000 | 7 | initrd_phys-$(CONFIG_ARCH_DAVINCI_DMx) := 0x80800000 |
8 | endif | ||
9 | else | ||
10 | zreladdr-y += 0x80008000 | ||
11 | params_phys-y := 0x80000100 | ||
12 | initrd_phys-y := 0x80800000 | ||
13 | endif | ||