blob: 3b198ae3ced6820b9c744cf9d948cc46d024fbaa [file] [log] [blame]
Ilya Yanokf7a2c552012-09-18 00:22:50 +00001/*
2 * (C) Copyright 2012
3 * Ilya Yanok, ilya.yanok@gmail.com
4 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005 * SPDX-License-Identifier: GPL-2.0+
Ilya Yanokf7a2c552012-09-18 00:22:50 +00006 */
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 Yamada72fb32b2015-02-24 22:26:20 +090023
24#ifndef CONFIG_SPL_DM
25#undef CONFIG_DM_SERIAL
26#undef CONFIG_DM_GPIO
27#undef CONFIG_DM_I2C
28#undef CONFIG_DM_SPI
29#endif
30
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +090031#undef CONFIG_DM_WARN
Masahiro Yamadacfc2f7d2015-02-24 22:26:21 +090032#undef CONFIG_DM_STDIO
33
Ilya Yanokf7a2c552012-09-18 00:22:50 +000034#endif /* CONFIG_SPL_BUILD */
35#endif /* __CONFIG_UNCMD_SPL_H__ */