summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-vexpress
diff options
context:
space:
mode:
authorRouven Czerwinski <r.czerwinski@pengutronix.de>2021-01-13 08:57:57 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2021-01-18 09:01:59 +0100
commitff8b098a4ad26688a8f2a853a864903b47f240d6 (patch)
tree4e63d88a2ca31a0012e22df4b8f564ad51c267bf /arch/arm/mach-vexpress
parent8aec949feadb3c863ad07dbb725ea9256dd8c778 (diff)
downloadbarebox-ff8b098a4ad26688a8f2a853a864903b47f240d6.tar.gz
barebox-ff8b098a4ad26688a8f2a853a864903b47f240d6.tar.xz
ARM: qemu: support for state & env via DT overlay
Add support for state and barebox environment by applying an overlay on top of the qemu generated device tree. If qemu is used with a persistent flash partition, this allows usage of environments and state across qemu reboots. Simple testing can be performed by starting with qemu-system-arm -m 256M -M virt -kernel images/barebox-dt-2nd.img -nographic Storing data, changing into the qemu console via Ctrl-A Ctrl-C, issuing 'system_reset' and Ctrl-A Ctrl-C to get back into the barebox console. Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-vexpress')
-rw-r--r--arch/arm/mach-vexpress/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-vexpress/Kconfig b/arch/arm/mach-vexpress/Kconfig
index 9d301f7ae8..557c9653f4 100644
--- a/arch/arm/mach-vexpress/Kconfig
+++ b/arch/arm/mach-vexpress/Kconfig
@@ -11,5 +11,6 @@ config MACH_VIRT
bool "QEMU virt"
select ARM_PSCI_CLIENT
select BOARD_ARM_GENERIC_DT
+ select OF_OVERLAY
endif