config_uncmd_spl.h 714 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * (C) Copyright 2012
  3. * Ilya Yanok, ilya.yanok@gmail.com
  4. *
  5. * SPDX-License-Identifier: GPL-2.0+
  6. */
  7. #ifndef __CONFIG_UNCMD_SPL_H__
  8. #define __CONFIG_UNCMD_SPL_H__
  9. #ifdef CONFIG_SPL_BUILD
  10. /* SPL needs only BOOTP + TFTP so undefine other stuff to save space */
  11. #undef CONFIG_CMD_CDP
  12. #undef CONFIG_CMD_DHCP
  13. #undef CONFIG_CMD_DNS
  14. #undef CONFIG_CMD_LINK_LOCAL
  15. #undef CONFIG_CMD_NFS
  16. #undef CONFIG_CMD_PING
  17. #undef CONFIG_CMD_RARP
  18. #undef CONFIG_CMD_SNTP
  19. #undef CONFIG_CMD_TFTPPUT
  20. #undef CONFIG_CMD_TFTPSRV
  21. #undef CONFIG_OF_CONTROL
  22. #ifndef CONFIG_SPL_DM
  23. #undef CONFIG_DM_SERIAL
  24. #undef CONFIG_DM_GPIO
  25. #undef CONFIG_DM_I2C
  26. #undef CONFIG_DM_SPI
  27. #endif
  28. #endif /* CONFIG_SPL_BUILD */
  29. #endif /* __CONFIG_UNCMD_SPL_H__ */