summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2006-01-11 13:59:02 -0600
committerKumar Gala <galak@kernel.crashing.org>2006-01-11 13:59:02 -0600
commitc2871f038062abafa0b7f2048075098915a5ba41 (patch)
tree7ad13acbd847110cbac38f15ca346bcbf3f9836f /common
parent4e2531378f03957d7306e940e0bc21de103f40d3 (diff)
downloadu-boot-imx-c2871f038062abafa0b7f2048075098915a5ba41.zip
u-boot-imx-c2871f038062abafa0b7f2048075098915a5ba41.tar.gz
u-boot-imx-c2871f038062abafa0b7f2048075098915a5ba41.tar.bz2
Added OF_STDOUT_PATH and OF_SOC
OF_STDOUT_PATH specifies the path to the device the kernel can use for console output OF_SOC specifies the proper name of the SOC node if one exists. Patch by Kumar Gala 11 Jan 2006
Diffstat (limited to 'common')
-rw-r--r--common/ft_build.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/ft_build.c b/common/ft_build.c
index 2cecbcf..7a9a40a 100644
--- a/common/ft_build.c
+++ b/common/ft_build.c
@@ -645,6 +645,9 @@ void ft_setup(void *blob, int size, bd_t * bd)
ft_prop_str(&cxt, "name", "chosen");
ft_prop_str(&cxt, "bootargs", getenv("bootargs"));
ft_prop_int(&cxt, "linux,platform", 0x600); /* what is this? */
+#ifdef OF_STDOUT_PATH
+ ft_prop_str(&cxt, "linux,stdout-path", OF_STDOUT_PATH);
+#endif
ft_end_node(&cxt);