xref: /openbmc/u-boot/arch/sandbox/Kconfig (revision e12546de)
1dd84058dSMasahiro Yamadamenu "Sandbox architecture"
2dd84058dSMasahiro Yamada	depends on SANDBOX
3dd84058dSMasahiro Yamada
4dd84058dSMasahiro Yamadaconfig SYS_ARCH
5dd84058dSMasahiro Yamada	default "sandbox"
6dd84058dSMasahiro Yamada
7dd84058dSMasahiro Yamadaconfig SYS_BOARD
8dd84058dSMasahiro Yamada	default "sandbox"
9dd84058dSMasahiro Yamada
100c4b3880STom Riniconfig SYS_CPU
110c4b3880STom Rini	default "sandbox"
120c4b3880STom Rini
13*c6b89f31SMario Sixconfig SANDBOX64
14*c6b89f31SMario Six	bool "Use 64-bit addresses"
15*c6b89f31SMario Six	select PHYS_64BIT
16*c6b89f31SMario Six	select HOST_64BIT
17*c6b89f31SMario Six
188797b2caSSimon Glassconfig SANDBOX_SPL
198797b2caSSimon Glass	bool "Enable SPL for sandbox"
208797b2caSSimon Glass	select SUPPORT_SPL
218797b2caSSimon Glass
22dd84058dSMasahiro Yamadaconfig SYS_CONFIG_NAME
238797b2caSSimon Glass	default "sandbox_spl" if SANDBOX_SPL
248797b2caSSimon Glass	default "sandbox" if !SANDBOX_SPL
25dd84058dSMasahiro Yamada
2698cff660SBin Mengchoice
2798cff660SBin Meng	prompt "Run sandbox on 32/64-bit host"
28*c6b89f31SMario Six	default HOST_64BIT
2998cff660SBin Meng	help
3098cff660SBin Meng	  Sandbox can be built on 32-bit and 64-bit hosts.
3198cff660SBin Meng	  The default is to build on a 64-bit host and run
3298cff660SBin Meng	  on a 64-bit host. If you want to run sandbox on
3398cff660SBin Meng	  a 32-bit host, change it here.
3498cff660SBin Meng
35*c6b89f31SMario Sixconfig HOST_32BIT
3698cff660SBin Meng	bool "32-bit host"
37*c6b89f31SMario Six	depends on !PHYS_64BIT
3898cff660SBin Meng
39*c6b89f31SMario Sixconfig HOST_64BIT
4098cff660SBin Meng	bool "64-bit host"
4198cff660SBin Meng
4298cff660SBin Mengendchoice
4398cff660SBin Meng
44226b50bbSBin Mengconfig SANDBOX_BITS_PER_LONG
45226b50bbSBin Meng	int
46*c6b89f31SMario Six	default 32 if HOST_32BIT
47*c6b89f31SMario Six	default 64 if HOST_64BIT
48226b50bbSBin Meng
49dd84058dSMasahiro Yamadaendmenu
50