config_uncmd_spl.h 496 B

12345678910111213141516171819202122232425
  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. #ifndef CONFIG_SPL_DM
  12. #undef CONFIG_DM_SERIAL
  13. #undef CONFIG_DM_GPIO
  14. #undef CONFIG_DM_I2C
  15. #undef CONFIG_DM_SPI
  16. #endif
  17. #undef CONFIG_DM_WARN
  18. #undef CONFIG_DM_STDIO
  19. #endif /* CONFIG_SPL_BUILD */
  20. #endif /* __CONFIG_UNCMD_SPL_H__ */