summaryrefslogtreecommitdiffstats
path: root/include/config_fallbacks.h
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2012-06-19 12:54:34 +0000
committerWolfgang Denk <wd@denx.de>2012-06-20 20:26:16 +0200
commit26750c8aee2383a026e0cf89e9310628d3a5a6a0 (patch)
treec9aba64f8650364b2cf284e0df6896000728c396 /include/config_fallbacks.h
parent87d65558efe50bb2cc3617bafd8399695212c0e5 (diff)
downloadtalos-obmc-uboot-26750c8aee2383a026e0cf89e9310628d3a5a6a0.tar.gz
talos-obmc-uboot-26750c8aee2383a026e0cf89e9310628d3a5a6a0.zip
CONFIG_SYS_BAUDRATE_TABLE: Add <config_fallbacks.h>, place there
We provide a default table of { 9600, 19200, 38400, 57600, 115200 } in <config_fallbacks.h> which mkconfig places after <configs/...h> in the generated config file. This is used when a board has not set its own table. Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'include/config_fallbacks.h')
-rw-r--r--include/config_fallbacks.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/config_fallbacks.h b/include/config_fallbacks.h
new file mode 100644
index 0000000000..430890c3fb
--- /dev/null
+++ b/include/config_fallbacks.h
@@ -0,0 +1,16 @@
+/*
+ * Copyright 2012 Texas Instruments
+ *
+ * This file is licensed under the terms of the GNU General Public
+ * License Version 2. This file is licensed "as is" without any
+ * warranty of any kind, whether express or implied.
+ */
+
+#ifndef __CONFIG_FALLBACKS_H
+#define __CONFIG_FALLBACKS_H
+
+#ifndef CONFIG_SYS_BAUDRATE_TABLE
+#define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 }
+#endif
+
+#endif /* __CONFIG_FALLBACKS_H */
OpenPOWER on IntegriCloud