mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-21 04:00:25 +09:00
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
This commit is contained in:
parent
4e2531378f
commit
c2871f0380
@ -2,6 +2,14 @@
|
|||||||
Changes since U-Boot 1.1.4:
|
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
|
* Allow board code to fixup the flat device tree before booting a
|
||||||
kernel
|
kernel
|
||||||
Patch by Kumar Gala 11 Jan 2006
|
Patch by Kumar Gala 11 Jan 2006
|
||||||
|
2
README
2
README
@ -411,7 +411,9 @@ The following options need to be configured:
|
|||||||
The maximum size of the constructed OF tree.
|
The maximum size of the constructed OF tree.
|
||||||
|
|
||||||
OF_CPU - The proper name of the cpus node.
|
OF_CPU - The proper name of the cpus node.
|
||||||
|
OF_SOC - The proper name of the soc node.
|
||||||
OF_TBCLK - The timebase frequency.
|
OF_TBCLK - The timebase frequency.
|
||||||
|
OF_STDOUT_PATH - The path to the console device
|
||||||
|
|
||||||
CONFIG_OF_HAS_BD_T
|
CONFIG_OF_HAS_BD_T
|
||||||
|
|
||||||
|
@ -645,6 +645,9 @@ void ft_setup(void *blob, int size, bd_t * bd)
|
|||||||
ft_prop_str(&cxt, "name", "chosen");
|
ft_prop_str(&cxt, "name", "chosen");
|
||||||
ft_prop_str(&cxt, "bootargs", getenv("bootargs"));
|
ft_prop_str(&cxt, "bootargs", getenv("bootargs"));
|
||||||
ft_prop_int(&cxt, "linux,platform", 0x600); /* what is this? */
|
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);
|
ft_end_node(&cxt);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user