blob: c191f5634e24888606d64638ced17c3a6218fc0a [file] [log] [blame]
Ilya Yanok7ac2fe22012-09-18 00:22:50 +00001/*
2 * (C) Copyright 2012
3 * Ilya Yanok, ilya.yanok@gmail.com
4 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02005 * SPDX-License-Identifier: GPL-2.0+
Ilya Yanok7ac2fe22012-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
Simon Glassa59abd12015-05-12 14:55:07 -060023#ifdef CONFIG_SPL_DISABLE_OF_CONTROL
Masahiro Yamadae02ee252015-02-24 22:26:20 +090024#undef CONFIG_OF_CONTROL
Simon Glassa59abd12015-05-12 14:55:07 -060025#endif
Masahiro Yamadae02ee252015-02-24 22:26:20 +090026
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
Masahiro Yamadad6489642015-02-24 22:26:21 +090034#undef CONFIG_DM_WARN
35#undef CONFIG_DM_DEVICE_REMOVE
Simon Glass36fa61d2015-02-27 22:06:30 -070036#undef CONFIG_DM_SEQ_ALIAS
Masahiro Yamadad6489642015-02-24 22:26:21 +090037#undef CONFIG_DM_STDIO
38
Ilya Yanok7ac2fe22012-09-18 00:22:50 +000039#endif /* CONFIG_SPL_BUILD */
40#endif /* __CONFIG_UNCMD_SPL_H__ */