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