[U-Boot-Users] [PATCH] Added ability to specific OF_STDOUT_PATH
Kumar Gala
galak at gate.crashing.org
Fri Jan 6 00:00:15 CET 2006
Added ability to specific OF_STDOUT_PATH
Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
CHANGELOG:
* Added ability to specific OF_STDOUT_PATH
Allows the kernel to know which device to use for console output
Patch by Kumar Gala 05 Jan 2006
---
commit 3b1cc08e3aed69e2437c9a33d4d0d000d88eda03
tree 57ee8c1fc0da69f731228af597b6e7d867ad8d0d
parent 3080d3537d6cb0dbff783c2e7ad4340e1ea37965
author Kumar Gala <galak at kernel.crashing.org> Thu, 05 Jan 2006 17:04:46 -0600
committer Kumar Gala <galak at kernel.crashing.org> Thu, 05 Jan 2006 17:04:46 -0600
README | 1 +
common/ft_build.c | 3 +++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/README b/README
index ea37dac..ecaef9e 100644
--- a/README
+++ b/README
@@ -413,6 +413,7 @@ The following options need to be configu
OF_CPU - The proper name of the cpus node.
OF_SOC - The proper name of the soc node.
OF_TBCLK - The timebase frequency.
+ OF_STDOUT_PATH - The path to the console device
CONFIG_OF_HAS_BD_T
diff --git a/common/ft_build.c b/common/ft_build.c
index bebee30..6e4d3de 100644
--- a/common/ft_build.c
+++ b/common/ft_build.c
@@ -639,6 +639,9 @@ void ft_setup(void *blob, int size, bd_t
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);
More information about the U-Boot
mailing list