diff options
author | Simon Glass <sjg@chromium.org> | 2014-11-10 17:16:48 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-11-21 08:13:14 +0100 |
commit | 236f2bd30262f564c0bb71638105e525ddf47b9f (patch) | |
tree | bd3b443d6a7bfd76c40f91c5774c8200594afd3d /include/config_defaults.h | |
parent | 3ac435d33a8f6a4e28df6bc068cb0569bc8061ad (diff) | |
download | u-boot-imx-236f2bd30262f564c0bb71638105e525ddf47b9f.zip u-boot-imx-236f2bd30262f564c0bb71638105e525ddf47b9f.tar.gz u-boot-imx-236f2bd30262f564c0bb71638105e525ddf47b9f.tar.bz2 |
dm: Allow stdio registration to be dropped
Provide a CONFIG_DM_STDIO option to enable registering a serial device
with the stdio library. This is seldom useful in SPL, so disable it by
default when building for SPL.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'include/config_defaults.h')
-rw-r--r-- | include/config_defaults.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/config_defaults.h b/include/config_defaults.h index 985f055..f1b225d 100644 --- a/include/config_defaults.h +++ b/include/config_defaults.h @@ -22,6 +22,7 @@ #ifndef CONFIG_SPL_BUILD #define CONFIG_DM_DEVICE_REMOVE +#define CONFIG_DM_STDIO #endif #endif |