]>
Commit | Line | Data |
---|---|---|
7ac2fe2d IY |
1 | /* |
2 | * (C) Copyright 2012 | |
3 | * Ilya Yanok, ilya.yanok@gmail.com | |
4 | * | |
1a459660 | 5 | * SPDX-License-Identifier: GPL-2.0+ |
7ac2fe2d IY |
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 | #undef CONFIG_CMD_CDP | |
14 | #undef CONFIG_CMD_DHCP | |
15 | #undef CONFIG_CMD_DNS | |
16 | #undef CONFIG_CMD_LINK_LOCAL | |
17 | #undef CONFIG_CMD_NFS | |
18 | #undef CONFIG_CMD_PING | |
19 | #undef CONFIG_CMD_RARP | |
20 | #undef CONFIG_CMD_SNTP | |
21 | #undef CONFIG_CMD_TFTPPUT | |
22 | #undef CONFIG_CMD_TFTPSRV | |
a59abd10 | 23 | #ifdef CONFIG_SPL_DISABLE_OF_CONTROL |
e02ee254 | 24 | #undef CONFIG_OF_CONTROL |
a59abd10 | 25 | #endif |
e02ee254 MY |
26 | |
27 | #ifndef CONFIG_SPL_DM | |
28 | #undef CONFIG_DM_SERIAL | |
29 | #undef CONFIG_DM_GPIO | |
30 | #undef CONFIG_DM_I2C | |
31 | #undef CONFIG_DM_SPI | |
32 | #endif | |
33 | ||
d648964f MY |
34 | #undef CONFIG_DM_WARN |
35 | #undef CONFIG_DM_DEVICE_REMOVE | |
36fa61dc | 36 | #undef CONFIG_DM_SEQ_ALIAS |
d648964f MY |
37 | #undef CONFIG_DM_STDIO |
38 | ||
7ac2fe2d IY |
39 | #endif /* CONFIG_SPL_BUILD */ |
40 | #endif /* __CONFIG_UNCMD_SPL_H__ */ |