On 08/29/2012 02:25 PM, Joe Hershberger wrote: [snip] >> #include <common.h> >> +#ifdef CONFIG_SPL_BUILD >> +/* SPL needs only BOOTP + TFTP so undefine other stuff to save space */ >> +#undef CONFIG_CMD_DHCP >> +#undef CONFIG_CMD_CDP >> +#undef CONFIG_CMD_DNS >> +#undef CONFIG_CMD_LINK_LOCAL >> +#undef CONFIG_CMD_NFS >> +#undef CONFIG_CMD_PING >> +#undef CONFIG_CMD_RARP >> +#undef CONFIG_CMD_SNTP >> +#undef CONFIG_CMD_TFTPPUT >> +#undef CONFIG_CMD_TFTPSRV >> +#endif > > Is this the best place to do this? Seems it would be clearer to > modify config_cmd_default.h or add a config_cmd_spl.h that will > undefine them, and include that.
I was thinking about that too, include/config_cmd_spl.h should probably be how this happens. -- Tom _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot