config_uncmd_spl.h 452 B

12345678910111213141516171819202122
  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_I2C
  13. #undef CONFIG_DM_SPI
  14. #endif
  15. #undef CONFIG_DM_STDIO
  16. #endif /* CONFIG_SPL_BUILD */
  17. #endif /* __CONFIG_UNCMD_SPL_H__ */