xref: /openbmc/u-boot/arch/sandbox/Kconfig (revision 226b50bb)
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
138797b2caSSimon Glassconfig SANDBOX_SPL
148797b2caSSimon Glass	bool "Enable SPL for sandbox"
158797b2caSSimon Glass	select SUPPORT_SPL
168797b2caSSimon Glass
17dd84058dSMasahiro Yamadaconfig SYS_CONFIG_NAME
188797b2caSSimon Glass	default "sandbox_spl" if SANDBOX_SPL
198797b2caSSimon Glass	default "sandbox" if !SANDBOX_SPL
20dd84058dSMasahiro Yamada
2198cff660SBin Mengchoice
2298cff660SBin Meng	prompt "Run sandbox on 32/64-bit host"
2398cff660SBin Meng	default SANDBOX_64BIT
2498cff660SBin Meng	help
2598cff660SBin Meng	  Sandbox can be built on 32-bit and 64-bit hosts.
2698cff660SBin Meng	  The default is to build on a 64-bit host and run
2798cff660SBin Meng	  on a 64-bit host. If you want to run sandbox on
2898cff660SBin Meng	  a 32-bit host, change it here.
2998cff660SBin Meng
3098cff660SBin Mengconfig SANDBOX_32BIT
3198cff660SBin Meng	bool "32-bit host"
3298cff660SBin Meng
3398cff660SBin Mengconfig SANDBOX_64BIT
3498cff660SBin Meng	bool "64-bit host"
3598cff660SBin Meng
3698cff660SBin Mengendchoice
3798cff660SBin Meng
38*226b50bbSBin Mengconfig SANDBOX_BITS_PER_LONG
39*226b50bbSBin Meng	int
40*226b50bbSBin Meng	default 32 if SANDBOX_32BIT
41*226b50bbSBin Meng	default 64 if SANDBOX_64BIT
42*226b50bbSBin Meng
43dd84058dSMasahiro Yamadaendmenu
44