summaryrefslogtreecommitdiff
path: root/include/config_defaults.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-02-05 21:41:36 -0700
committerSimon Glass <sjg@chromium.org>2015-02-12 10:35:33 -0700
commit91a91ff804d50d7a4b7560d10fa6863fc4c04307 (patch)
tree14dea1b2e33e7f7fa8afef744f91cea1712bb7d9 /include/config_defaults.h
parentf94a1bed07e2af1c46ddcf2046cddd979ebfd994 (diff)
downloadu-boot-91a91ff804d50d7a4b7560d10fa6863fc4c04307.tar.gz
dm: Add Kconfig options for driver model SPL support
The SPL support cannot be enabled yet, but we can add the Kconfig options in preparation for this. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/config_defaults.h')
-rw-r--r--include/config_defaults.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/config_defaults.h b/include/config_defaults.h
index 4d49315044..fa99838957 100644
--- a/include/config_defaults.h
+++ b/include/config_defaults.h
@@ -21,9 +21,15 @@
#define CONFIG_PARTITIONS 1
#ifndef CONFIG_SPL_BUILD
+#ifndef CONFIG_DM_WARN
#define CONFIG_DM_WARN
+#endif
+#ifndef CONFIG_DM_DEVICE_REMOVE
#define CONFIG_DM_DEVICE_REMOVE
+#endif
+#ifndef CONFIG_DM_STDIO
#define CONFIG_DM_STDIO
#endif
+#endif
#endif