summaryrefslogtreecommitdiff
path: root/include/fdtdec.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-03-06 13:19:03 -0700
committerSimon Glass <sjg@chromium.org>2015-06-10 19:26:55 -0600
commitaf282245462186b8b06047c379ee85f4d0ec7a9c (patch)
tree18005092a1d510762d7bd23c10888dba296e85ac /include/fdtdec.h
parenta59abd10498fed8c2bb5718748ba27310aac4ba2 (diff)
sandbox: Move CONFIG_SANDBOX_SERIAL to Kconfig
Move this over to Kconfig and tidy up. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/fdtdec.h')
-rw-r--r--include/fdtdec.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/fdtdec.h b/include/fdtdec.h
index 4fb8a2a1ba5..e255998161c 100644
--- a/include/fdtdec.h
+++ b/include/fdtdec.h
@@ -41,6 +41,12 @@ struct fdt_memory {
fdt_addr_t end;
};
+#ifdef CONFIG_SPL_BUILD
+#define SPL_BUILD 1
+#else
+#define SPL_BUILD 0
+#endif
+
#ifdef CONFIG_OF_CONTROL
# if defined(CONFIG_SPL_BUILD) && defined(SPL_DISABLE_OF_CONTROL)
# define OF_CONTROL 0