xref: /openbmc/u-boot/include/config_uncmd_spl.h (revision dd1033e4)
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * (C) Copyright 2012
4  * Ilya Yanok, ilya.yanok@gmail.com
5  */
6 
7 #ifndef __CONFIG_UNCMD_SPL_H__
8 #define __CONFIG_UNCMD_SPL_H__
9 
10 #ifdef CONFIG_SPL_BUILD
11 /* SPL needs only BOOTP + TFTP so undefine other stuff to save space */
12 
13 #ifndef CONFIG_SPL_DM
14 #undef CONFIG_DM_SERIAL
15 #undef CONFIG_DM_GPIO
16 #undef CONFIG_DM_I2C
17 #undef CONFIG_DM_SPI
18 #endif
19 
20 #undef CONFIG_DM_WARN
21 #undef CONFIG_DM_STDIO
22 
23 #endif /* CONFIG_SPL_BUILD */
24 #endif /* __CONFIG_UNCMD_SPL_H__ */
25