xref: /openbmc/u-boot/include/config_fallbacks.h (revision 4123c4ea23cd8b9f3313bccb6c2add87b06412a3)
126750c8aSTom Rini /*
226750c8aSTom Rini  * Copyright 2012 Texas Instruments
326750c8aSTom Rini  *
426750c8aSTom Rini  * This file is licensed under the terms of the GNU General Public
526750c8aSTom Rini  * License Version 2. This file is licensed "as is" without any
626750c8aSTom Rini  * warranty of any kind, whether express or implied.
726750c8aSTom Rini  */
826750c8aSTom Rini 
926750c8aSTom Rini #ifndef __CONFIG_FALLBACKS_H
1026750c8aSTom Rini #define __CONFIG_FALLBACKS_H
1126750c8aSTom Rini 
1226750c8aSTom Rini #ifndef CONFIG_SYS_BAUDRATE_TABLE
1326750c8aSTom Rini #define CONFIG_SYS_BAUDRATE_TABLE	{ 9600, 19200, 38400, 57600, 115200 }
1426750c8aSTom Rini #endif
1526750c8aSTom Rini 
1603e2ecf6SStephen Warren #if defined(CONFIG_CMD_FAT) && !defined(CONFIG_FS_FAT)
1703e2ecf6SStephen Warren #define CONFIG_FS_FAT
1803e2ecf6SStephen Warren #endif
1903e2ecf6SStephen Warren 
2003e2ecf6SStephen Warren #if (defined(CONFIG_CMD_EXT4) || defined(CONFIG_CMD_EXT2)) && \
2103e2ecf6SStephen Warren 						!defined(CONFIG_FS_EXT4)
2203e2ecf6SStephen Warren #define CONFIG_FS_EXT4
2303e2ecf6SStephen Warren #endif
2403e2ecf6SStephen Warren 
2503e2ecf6SStephen Warren #if defined(CONFIG_CMD_EXT4_WRITE) && !defined(CONFIG_EXT4_WRITE)
2603e2ecf6SStephen Warren #define CONFIG_EXT4_WRITE
2703e2ecf6SStephen Warren #endif
2803e2ecf6SStephen Warren 
292c1af9dcSStephen Warren /* Rather than repeat this expression each time, add a define for it */
302c1af9dcSStephen Warren #if defined(CONFIG_CMD_IDE) || \
312c1af9dcSStephen Warren 	defined(CONFIG_CMD_SATA) || \
322c1af9dcSStephen Warren 	defined(CONFIG_CMD_SCSI) || \
332c1af9dcSStephen Warren 	defined(CONFIG_CMD_USB) || \
34*4123c4eaSStephen Warren 	defined(CONFIG_CMD_PART) || \
352c1af9dcSStephen Warren 	defined(CONFIG_MMC) || \
362c1af9dcSStephen Warren 	defined(CONFIG_SYSTEMACE)
372c1af9dcSStephen Warren #define HAVE_BLOCK_DEVICE
382c1af9dcSStephen Warren #endif
392c1af9dcSStephen Warren 
4026750c8aSTom Rini #endif	/* __CONFIG_FALLBACKS_H */
41