3 * Ilya Yanok, ilya.yanok@gmail.com
5 * See file CREDITS for list of people who contributed to this
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation; either version 2 of
11 * the License, or (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
22 * We don't use any commands in SPL, but generic networking code
23 * has some features enabled/disabled based on CONFIG_CMD_*
24 * options. As we want a minimal set of features included
25 * into network SPL image, we undefine some config options here.
28 #ifndef __CONFIG_UNCMD_SPL_H__
29 #define __CONFIG_UNCMD_SPL_H__
31 #ifdef CONFIG_SPL_BUILD
32 /* SPL needs only BOOTP + TFTP so undefine other stuff to save space */
34 #undef CONFIG_CMD_DHCP
36 #undef CONFIG_CMD_LINK_LOCAL
38 #undef CONFIG_CMD_PING
39 #undef CONFIG_CMD_RARP
40 #undef CONFIG_CMD_SNTP
41 #undef CONFIG_CMD_TFTPPUT
42 #undef CONFIG_CMD_TFTPSRV
43 #endif /* CONFIG_SPL_BUILD */
44 #endif /* __CONFIG_UNCMD_SPL_H__ */