Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 1 | menu "Sandbox architecture" |
2 | depends on SANDBOX | ||||
3 | |||||
4 | config SYS_ARCH | ||||
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 5 | default "sandbox" |
6 | |||||
7 | config SYS_BOARD | ||||
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 8 | default "sandbox" |
9 | |||||
Tom Rini | 5497504 | 2016-04-18 13:57:42 -0400 | [diff] [blame] | 10 | config SYS_CPU |
11 | default "sandbox" | ||||
12 | |||||
Mario Six | 61efece | 2018-02-12 08:05:57 +0100 | [diff] [blame] | 13 | config SANDBOX64 |
14 | bool "Use 64-bit addresses" | ||||
15 | select PHYS_64BIT | ||||
16 | select HOST_64BIT | ||||
17 | |||||
Simon Glass | 9ca517d | 2016-07-04 11:57:54 -0600 | [diff] [blame] | 18 | config SANDBOX_SPL |
19 | bool "Enable SPL for sandbox" | ||||
20 | select SUPPORT_SPL | ||||
21 | |||||
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 22 | config SYS_CONFIG_NAME |
Simon Glass | 9ca517d | 2016-07-04 11:57:54 -0600 | [diff] [blame] | 23 | default "sandbox_spl" if SANDBOX_SPL |
24 | default "sandbox" if !SANDBOX_SPL | ||||
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 25 | |
Bin Meng | 6bafd24 | 2017-08-01 16:33:33 -0700 | [diff] [blame] | 26 | choice |
27 | prompt "Run sandbox on 32/64-bit host" | ||||
Mario Six | 61efece | 2018-02-12 08:05:57 +0100 | [diff] [blame] | 28 | default HOST_64BIT |
Bin Meng | 6bafd24 | 2017-08-01 16:33:33 -0700 | [diff] [blame] | 29 | help |
30 | Sandbox can be built on 32-bit and 64-bit hosts. | ||||
31 | The default is to build on a 64-bit host and run | ||||
32 | on a 64-bit host. If you want to run sandbox on | ||||
33 | a 32-bit host, change it here. | ||||
34 | |||||
Mario Six | 61efece | 2018-02-12 08:05:57 +0100 | [diff] [blame] | 35 | config HOST_32BIT |
Bin Meng | 6bafd24 | 2017-08-01 16:33:33 -0700 | [diff] [blame] | 36 | bool "32-bit host" |
Mario Six | 61efece | 2018-02-12 08:05:57 +0100 | [diff] [blame] | 37 | depends on !PHYS_64BIT |
Bin Meng | 6bafd24 | 2017-08-01 16:33:33 -0700 | [diff] [blame] | 38 | |
Mario Six | 61efece | 2018-02-12 08:05:57 +0100 | [diff] [blame] | 39 | config HOST_64BIT |
Bin Meng | 6bafd24 | 2017-08-01 16:33:33 -0700 | [diff] [blame] | 40 | bool "64-bit host" |
41 | |||||
42 | endchoice | ||||
43 | |||||
Bin Meng | f34b4de | 2017-08-01 16:33:34 -0700 | [diff] [blame] | 44 | config SANDBOX_BITS_PER_LONG |
45 | int | ||||
Mario Six | 61efece | 2018-02-12 08:05:57 +0100 | [diff] [blame] | 46 | default 32 if HOST_32BIT |
47 | default 64 if HOST_64BIT | ||||
Bin Meng | f34b4de | 2017-08-01 16:33:34 -0700 | [diff] [blame] | 48 | |
Masahiro Yamada | d3ae678 | 2014-07-30 14:08:14 +0900 | [diff] [blame] | 49 | endmenu |