u-boot/include/config_defaults.h
Simon Glass 91a91ff804 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>
2015-02-12 10:35:33 -07:00

35 lines
681 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
#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