arm: Add RAMOOPS memory area
RAMOOPS is a driver that uses a reserved static memory region to store
the data from the last panic or boot. This helps to debug crashes at the
next boot while preserving the boot messages.

To guarantee a memory area that is not altered by barebox or the kernel,
this area is located at the end of the RAM right after barebox and
before the STACK. This ensures that changing barebox sizes do not
interfere with RAMOOPS.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 9280600 commit 6c42710ae03bd642f68220dea4dac60b6cbd6d23
@Markus Pargmann Markus Pargmann authored on 8 Dec 2015
Sascha Hauer committed on 10 Dec 2015
Showing 2 changed files
View
arch/arm/cpu/start.c
View
arch/arm/include/asm/barebox-arm.h