config_uncmd_spl.h 496 B

123456789101112131415161718192021222324
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * (C) Copyright 2012
  4. * Ilya Yanok, ilya.yanok@gmail.com
  5. */
  6. #ifndef __CONFIG_UNCMD_SPL_H__
  7. #define __CONFIG_UNCMD_SPL_H__
  8. #ifdef CONFIG_SPL_BUILD
  9. /* SPL needs only BOOTP + TFTP so undefine other stuff to save space */
  10. #ifndef CONFIG_SPL_DM
  11. #undef CONFIG_DM_SERIAL
  12. #undef CONFIG_DM_GPIO
  13. #undef CONFIG_DM_I2C
  14. #undef CONFIG_DM_SPI
  15. #endif
  16. #undef CONFIG_DM_WARN
  17. #undef CONFIG_DM_STDIO
  18. #endif /* CONFIG_SPL_BUILD */
  19. #endif /* __CONFIG_UNCMD_SPL_H__ */