config_fallbacks.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * Copyright 2012 Texas Instruments
  3. *
  4. * This file is licensed under the terms of the GNU General Public
  5. * License Version 2. This file is licensed "as is" without any
  6. * warranty of any kind, whether express or implied.
  7. */
  8. #ifndef __CONFIG_FALLBACKS_H
  9. #define __CONFIG_FALLBACKS_H
  10. #ifndef CONFIG_SYS_BAUDRATE_TABLE
  11. #define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 }
  12. #endif
  13. #if defined(CONFIG_CMD_FAT) && !defined(CONFIG_FS_FAT)
  14. #define CONFIG_FS_FAT
  15. #endif
  16. #if (defined(CONFIG_CMD_EXT4) || defined(CONFIG_CMD_EXT2)) && \
  17. !defined(CONFIG_FS_EXT4)
  18. #define CONFIG_FS_EXT4
  19. #endif
  20. #if defined(CONFIG_CMD_EXT4_WRITE) && !defined(CONFIG_EXT4_WRITE)
  21. #define CONFIG_EXT4_WRITE
  22. #endif
  23. /* Rather than repeat this expression each time, add a define for it */
  24. #if defined(CONFIG_CMD_IDE) || \
  25. defined(CONFIG_CMD_SATA) || \
  26. defined(CONFIG_CMD_SCSI) || \
  27. defined(CONFIG_CMD_USB) || \
  28. defined(CONFIG_CMD_PART) || \
  29. defined(CONFIG_MMC) || \
  30. defined(CONFIG_SYSTEMACE)
  31. #define HAVE_BLOCK_DEVICE
  32. #endif
  33. #endif /* __CONFIG_FALLBACKS_H */