X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=arch%2Fsandbox%2FKconfig;h=2a08533c4b59dab6f3ffb86fd886da4c0d55c0c4;hb=4c6edc288b4aa487824e8a276b925170f78fbe3a;hp=c3935506947ef5b37c400228fbabdf73a2252471;hpb=dd84058d24ff54d6b32818ffe44aeb4bba2cfae6;p=oweals%2Fu-boot.git diff --git a/arch/sandbox/Kconfig b/arch/sandbox/Kconfig index c393550694..2a08533c4b 100644 --- a/arch/sandbox/Kconfig +++ b/arch/sandbox/Kconfig @@ -2,15 +2,48 @@ menu "Sandbox architecture" depends on SANDBOX config SYS_ARCH - string default "sandbox" config SYS_BOARD - string default "sandbox" -config SYS_CONFIG_NAME - string +config SYS_CPU default "sandbox" +config SANDBOX64 + bool "Use 64-bit addresses" + select PHYS_64BIT + select HOST_64BIT + +config SANDBOX_SPL + bool "Enable SPL for sandbox" + select SUPPORT_SPL + +config SYS_CONFIG_NAME + default "sandbox_spl" if SANDBOX_SPL + default "sandbox" if !SANDBOX_SPL + +choice + prompt "Run sandbox on 32/64-bit host" + default HOST_64BIT + help + Sandbox can be built on 32-bit and 64-bit hosts. + The default is to build on a 64-bit host and run + on a 64-bit host. If you want to run sandbox on + a 32-bit host, change it here. + +config HOST_32BIT + bool "32-bit host" + depends on !PHYS_64BIT + +config HOST_64BIT + bool "64-bit host" + +endchoice + +config SANDBOX_BITS_PER_LONG + int + default 32 if HOST_32BIT + default 64 if HOST_64BIT + endmenu