diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2017-08-01 16:33:34 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-09-11 21:43:58 -0600 |
commit | 226b50bbd87b0c4ebf913066dfadbe04306ce402 (patch) | |
tree | 98bf336c875b145cdbc8a45fcbac3932360d54b5 /arch/sandbox | |
parent | 98cff66027c44e6e15eb48dbb2300f388bcc172c (diff) | |
download | u-boot-226b50bbd87b0c4ebf913066dfadbe04306ce402.tar.gz |
sandbox: Convert SANDBOX_BITS_PER_LONG to Kconfig
Convert SANDBOX_BITS_PER_LONG to Kconfig and assign it a correct
number depending on which host we are going to build and run.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sandbox')
-rw-r--r-- | arch/sandbox/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sandbox/Kconfig b/arch/sandbox/Kconfig index 7b07bff1da..87418e3986 100644 --- a/arch/sandbox/Kconfig +++ b/arch/sandbox/Kconfig @@ -35,4 +35,9 @@ config SANDBOX_64BIT endchoice +config SANDBOX_BITS_PER_LONG + int + default 32 if SANDBOX_32BIT + default 64 if SANDBOX_64BIT + endmenu |