summaryrefslogtreecommitdiff
path: root/arch/sandbox/dts/Makefile
diff options
context:
space:
mode:
authorMario Six <six@gdsys.cc>2018-02-12 08:05:57 +0100
committerSimon Glass <sjg@chromium.org>2018-02-18 15:53:48 -0700
commitc6b89f31806df06a5d7b688a65f9d2e6e6119a55 (patch)
treec672045c9190eba8774a37aa2e14b0e6102bb12e /arch/sandbox/dts/Makefile
parent995b60b5937133639500d89a01da0d88af3cff15 (diff)
downloadu-boot-c6b89f31806df06a5d7b688a65f9d2e6e6119a55.tar.gz
sandbox: Add 64-bit sandbox
To debug device tree issues involving 32- and 64-bit platforms, it is useful to have a generic 64-bit platform available. Add a version of the sandbox that uses 64-bit integers for its physical addresses as well as a modified device tree. Signed-off-by: Mario Six <mario.six@gdsys.cc> Added CONFIG_SYS_TEXT_BASE to configs/sandbox64_defconfig Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox/dts/Makefile')
-rw-r--r--arch/sandbox/dts/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sandbox/dts/Makefile b/arch/sandbox/dts/Makefile
index 0197569262..861b4dc2b1 100644
--- a/arch/sandbox/dts/Makefile
+++ b/arch/sandbox/dts/Makefile
@@ -2,7 +2,11 @@
# SPDX-License-Identifier: GPL-2.0+
#
+ifdef CONFIG_SANDBOX64
+dtb-$(CONFIG_SANDBOX) += sandbox64.dtb
+else
dtb-$(CONFIG_SANDBOX) += sandbox.dtb
+endif
dtb-$(CONFIG_UT_DM) += test.dtb
targets += $(dtb-y)