OMAP2/3: use different addresses for dump capture kernel
Subsystems (3)
PATCH 1/1 OMAP2/3: use different addresses for dump capture kernel
Dump capture kernels must be loaded into different address than the primary kernel hence we load them into physical address 0x84000000.
Signed-off-by Mika Westerberg <[email protected]>
--- arch/arm/mach-omap2/Makefile.boot | 7 ++++++- arch/arm/plat-omap/include/plat/memory.h | 8 ++++++++ 2 files changed, 14 insertions(+), 1 deletions(-)
arch/arm/mach-omap2/Makefile.boot +6 -1
@@ -1,3 +1,8 @@ - zreladdr-y := 0x80008000 +ifeq ($(CONFIG_CRASH_DUMP),y) +zreladdr-y := 0x84008000 +params_phys-y := 0x84000100 +else +zreladdr-y := 0x80008000 params_phys-y := 0x80000100 +endif initrd_phys-y := 0x80800000
arch/arm/plat-omap/include/plat/memory.h +8 -0
@@ -39,7 +39,15 @@#if defined(CONFIG_ARCH_OMAP1 )#define PHYS_OFFSET UL(0x10000000)#else +/* +* We want crashdump kernels to be in different physical address than +* the primary kernel. +*/ +#ifdef CONFIG_CRASH_DUMP +#define PHYS_OFFSET UL(0x84000000) +#else #define PHYS_OFFSET UL(0x80000000) +#endif /* CONFIG_CRASH_DUMP */ #endif /*
Signature · 1 line
1.5.6.5