blob: 9298d0ee970892ed2a5355837a045dadc2f5cfa4 [file] [log] [blame]
Tom Rini26750c82012-06-19 12:54:34 +00001/*
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 Warren03e2ecf2012-10-22 06:43:50 +000016#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 Warren2c1af9d2013-02-28 15:03:46 +000029/* 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 Warren4123c4e2013-02-28 15:03:47 +000034 defined(CONFIG_CMD_PART) || \
Stephen Warren2c1af9d2013-02-28 15:03:46 +000035 defined(CONFIG_MMC) || \
36 defined(CONFIG_SYSTEMACE)
37#define HAVE_BLOCK_DEVICE
38#endif
39
Tom Rini26750c82012-06-19 12:54:34 +000040#endif /* __CONFIG_FALLBACKS_H */