]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Added OF_STDOUT_PATH and OF_SOC
authorKumar Gala <galak@kernel.crashing.org>
Wed, 11 Jan 2006 19:59:02 +0000 (13:59 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 11 Jan 2006 19:59:02 +0000 (13:59 -0600)
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

CHANGELOG
README
common/ft_build.c

index a2c01fbb38ba3fd892b82a003ef6acbaf9fc064f..7c201433ce3935a61c75f7bc8bd415b5847c31ee 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,14 @@
 Changes since U-Boot 1.1.4:
 ======================================================================
 
+* 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
+
 * Allow board code to fixup the flat device tree before booting a
   kernel
   Patch by Kumar Gala 11 Jan 2006
diff --git a/README b/README
index 3b64fe20a1004b52bc1105ff0f5db8e70c4f1b16..ecaef9e1537141c7bf8c51fcc69e8691c11df646 100644 (file)
--- a/README
+++ b/README
@@ -411,7 +411,9 @@ The following options need to be configured:
                The maximum size of the constructed OF tree.
 
                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
 
index 2cecbcf9664518f140d6828b11ef62dc74b1c41c..7a9a40a305c113e7dba80834c169dc78ceaa68b0 100644 (file)
@@ -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);