summaryrefslogtreecommitdiff
path: root/include/configs/sandbox.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-07-22 09:22:45 -0600
committerTom Rini <trini@konsulko.com>2016-07-25 12:05:53 -0400
commit5923c843ba0e06a90e0c0c5cc6894ac8641377e1 (patch)
treedbd9f504d4923087eb9efa43922050291d95035c /include/configs/sandbox.h
parent713fb2dcb24537073171fc84528044a3ba081817 (diff)
sandbox: Add instructions about building on 32-bit machines
Sandbox is built with 64-bit ints by default. This doesn't work properly on 32-bit machines. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/sandbox.h')
-rw-r--r--include/configs/sandbox.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
index 4de89f8879..197d8bb8ca 100644
--- a/include/configs/sandbox.h
+++ b/include/configs/sandbox.h
@@ -27,7 +27,10 @@
#define CONFIG_SYS_STDIO_DEREGISTER
-/* Number of bits in a C 'long' on this architecture */
+/*
+ * Number of bits in a C 'long' on this architecture. Set this to 32 when
+ * building on a 32-bit machine.
+ */
#define CONFIG_SANDBOX_BITS_PER_LONG 64
#define CONFIG_LMB