Merge branch '2022-04-21-further-cleanups'
[platform/kernel/u-boot.git] / include / config_uncmd_spl.h
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_I2C
16 #endif
17
18 #undef CONFIG_DM_STDIO
19
20 #endif /* CONFIG_SPL_BUILD */
21 #endif /* __CONFIG_UNCMD_SPL_H__ */