mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 06:31:31 +00:00
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>
28 lines
558 B
C
28 lines
558 B
C
/*
|
|
* config_defaults.h - sane defaults for everyone
|
|
*
|
|
* Copyright (c) 2009 Analog Devices Inc.
|
|
*
|
|
* Licensed under the GPL-2 or later.
|
|
*/
|
|
|
|
#ifndef _CONFIG_DEFAULTS_H_
|
|
#define _CONFIG_DEFAULTS_H_
|
|
|
|
/* Support bootm-ing different OSes */
|
|
#define CONFIG_BOOTM_LINUX 1
|
|
#define CONFIG_BOOTM_NETBSD 1
|
|
#define CONFIG_BOOTM_PLAN9 1
|
|
#define CONFIG_BOOTM_RTEMS 1
|
|
#define CONFIG_BOOTM_VXWORKS 1
|
|
|
|
#define CONFIG_GZIP 1
|
|
#define CONFIG_ZLIB 1
|
|
#define CONFIG_PARTITIONS 1
|
|
|
|
#ifndef CONFIG_SPL_BUILD
|
|
#define CONFIG_DM_DEVICE_REMOVE
|
|
#define CONFIG_DM_STDIO
|
|
#endif
|
|
|
|
#endif
|