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 #undef CONFIG_DM_SPI 17 #endif 18 19 #undef CONFIG_DM_STDIO 20 21 #endif /* CONFIG_SPL_BUILD */ 22 #endif /* __CONFIG_UNCMD_SPL_H__ */ 23