]> git.sur5r.net Git - u-boot/blobdiff - arch/sandbox/Kconfig
cfi_flash: Remove assignments from if conditions
[u-boot] / arch / sandbox / Kconfig
index a8a90cb7a4dd9d14c35cc60b16e6eca4698eb6af..87418e398687cd652bf9b1a60b7967e7488c28c1 100644 (file)
@@ -10,17 +10,34 @@ config SYS_BOARD
 config SYS_CPU
        default "sandbox"
 
+config SANDBOX_SPL
+       bool "Enable SPL for sandbox"
+       select SUPPORT_SPL
+
 config SYS_CONFIG_NAME
-       default "sandbox"
+       default "sandbox_spl" if SANDBOX_SPL
+       default "sandbox" if !SANDBOX_SPL
 
-config PCI
-       bool "PCI support"
+choice
+       prompt "Run sandbox on 32/64-bit host"
+       default SANDBOX_64BIT
        help
-         Enable support for PCI (Peripheral Interconnect Bus), a type of bus
-         used on some devices to allow the CPU to communicate with its
-         peripherals.
+         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 SANDBOX_32BIT
+       bool "32-bit host"
+
+config SANDBOX_64BIT
+       bool "64-bit host"
+
+endchoice
 
-config DM_KEYBOARD
-       default y
+config SANDBOX_BITS_PER_LONG
+       int
+       default 32 if SANDBOX_32BIT
+       default 64 if SANDBOX_64BIT
 
 endmenu