Tom Rini | 8c0906e | 2012-06-19 12:54:34 +0000 | [diff] [blame] | 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 | |
| 9 | #ifndef __CONFIG_FALLBACKS_H |
| 10 | #define __CONFIG_FALLBACKS_H |
| 11 | |
| 12 | #ifndef CONFIG_SYS_BAUDRATE_TABLE |
| 13 | #define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 } |
| 14 | #endif |
| 15 | |
Stephen Warren | 4f8662d | 2012-10-22 06:43:50 +0000 | [diff] [blame] | 16 | #if defined(CONFIG_CMD_FAT) && !defined(CONFIG_FS_FAT) |
| 17 | #define CONFIG_FS_FAT |
| 18 | #endif |
| 19 | |
| 20 | #if (defined(CONFIG_CMD_EXT4) || defined(CONFIG_CMD_EXT2)) && \ |
| 21 | !defined(CONFIG_FS_EXT4) |
| 22 | #define CONFIG_FS_EXT4 |
| 23 | #endif |
| 24 | |
| 25 | #if defined(CONFIG_CMD_EXT4_WRITE) && !defined(CONFIG_EXT4_WRITE) |
| 26 | #define CONFIG_EXT4_WRITE |
| 27 | #endif |
| 28 | |
Stephen Warren | 8ec730d | 2013-02-28 15:03:46 +0000 | [diff] [blame] | 29 | /* Rather than repeat this expression each time, add a define for it */ |
| 30 | #if defined(CONFIG_CMD_IDE) || \ |
| 31 | defined(CONFIG_CMD_SATA) || \ |
| 32 | defined(CONFIG_CMD_SCSI) || \ |
| 33 | defined(CONFIG_CMD_USB) || \ |
Stephen Warren | fe3ecc5 | 2013-02-28 15:03:47 +0000 | [diff] [blame] | 34 | defined(CONFIG_CMD_PART) || \ |
Stephen Warren | 8ec730d | 2013-02-28 15:03:46 +0000 | [diff] [blame] | 35 | defined(CONFIG_MMC) || \ |
| 36 | defined(CONFIG_SYSTEMACE) |
| 37 | #define HAVE_BLOCK_DEVICE |
| 38 | #endif |
| 39 | |
Tom Rini | 8c0906e | 2012-06-19 12:54:34 +0000 | [diff] [blame] | 40 | #endif /* __CONFIG_FALLBACKS_H */ |