summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2011-08-12 16:16:25 -0700
committerSimon Glass <sjg@chromium.org>2011-08-29 10:59:33 -0700
commit441fed733a2b4cef5d6386b34975cee8b29980f8 (patch)
tree3b7ab38f5deda8993a2ac347722b931226e3e2cd /include/configs
parent6539b64d87a18763d551b9d49603852c07be2916 (diff)
tegra2: Implement board_panic_no_console()
BUG=chromium-os:17062 TEST=build and boot U-Boot without fdt: see message appear Change-Id: Ibc5fc8c6dbeefa6f95cdb2a771e3cd88fb44df31 Reviewed-on: http://gerrit.chromium.org/gerrit/6067 Reviewed-by: Anton Staaf <robotboy@chromium.org> Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/tegra2-common.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/configs/tegra2-common.h b/include/configs/tegra2-common.h
index b4586b43c8..cc4e8904f3 100644
--- a/include/configs/tegra2-common.h
+++ b/include/configs/tegra2-common.h
@@ -89,13 +89,17 @@
#define CONFIG_SYS_NS16550
#define CONFIG_SYS_NS16550_REG_SIZE (-4)
+/* Default serial clock and multiplier */
+#define CONFIG_DEFAULT_NS16550_CLK 216000000 /* 216MHz */
+#define CONFIG_DEFAULT_NS16550_MULT 16
+
#ifdef CONFIG_OF_CONTROL
#define CONFIG_COMPAT_STRING "nvidia,tegra250"
#else
-#define V_NS16550_CLK 216000000 /* 216MHz (pllp_out0) */
#define CONFIG_SYS_NS16550_SERIAL
-#define CONFIG_SYS_NS16550_CLK V_NS16550_CLK
+#define CONFIG_SYS_NS16550_CLK CONFIG_DEFAULT_NS16550_CLK
+
/*
* select serial console configuration