Ilya Yanok | 7ac2fe2 | 2012-09-18 00:22:50 +0000 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2012 |
| 3 | * Ilya Yanok, ilya.yanok@gmail.com |
| 4 | * |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | * SPDX-License-Identifier: GPL-2.0+ |
Ilya Yanok | 7ac2fe2 | 2012-09-18 00:22:50 +0000 | [diff] [blame] | 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 |
Masahiro Yamada | e02ee25 | 2015-02-24 22:26:20 +0900 | [diff] [blame] | 23 | #undef CONFIG_OF_CONTROL |
| 24 | |
| 25 | #ifndef CONFIG_SPL_DM |
| 26 | #undef CONFIG_DM_SERIAL |
| 27 | #undef CONFIG_DM_GPIO |
| 28 | #undef CONFIG_DM_I2C |
| 29 | #undef CONFIG_DM_SPI |
| 30 | #endif |
| 31 | |
Masahiro Yamada | d648964 | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 32 | #undef CONFIG_DM_WARN |
| 33 | #undef CONFIG_DM_DEVICE_REMOVE |
Simon Glass | 36fa61d | 2015-02-27 22:06:30 -0700 | [diff] [blame] | 34 | #undef CONFIG_DM_SEQ_ALIAS |
Masahiro Yamada | d648964 | 2015-02-24 22:26:21 +0900 | [diff] [blame] | 35 | #undef CONFIG_DM_STDIO |
| 36 | |
Ilya Yanok | 7ac2fe2 | 2012-09-18 00:22:50 +0000 | [diff] [blame] | 37 | #endif /* CONFIG_SPL_BUILD */ |
| 38 | #endif /* __CONFIG_UNCMD_SPL_H__ */ |