From c6b89f31806df06a5d7b688a65f9d2e6e6119a55 Mon Sep 17 00:00:00 2001 From: Mario Six Date: Mon, 12 Feb 2018 08:05:57 +0100 Subject: 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 Added CONFIG_SYS_TEXT_BASE to configs/sandbox64_defconfig Signed-off-by: Simon Glass --- include/fdtdec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/fdtdec.h') diff --git a/include/fdtdec.h b/include/fdtdec.h index 4afb9ac501..4153a6a008 100644 --- a/include/fdtdec.h +++ b/include/fdtdec.h @@ -24,7 +24,7 @@ typedef phys_addr_t fdt_addr_t; typedef phys_size_t fdt_size_t; #ifdef CONFIG_PHYS_64BIT -#define FDT_ADDR_T_NONE (-1ULL) +#define FDT_ADDR_T_NONE (-1U) #define fdt_addr_to_cpu(reg) be64_to_cpu(reg) #define fdt_size_to_cpu(reg) be64_to_cpu(reg) typedef fdt64_t fdt_val_t; -- cgit