Commit 626f33b0 authored by Josua Mayer's avatar Josua Mayer Committed by H. Nikolaus Schaller

pass the serial console configuration on to linux

DeviceTree has a special node for passing certain boot arguments from
the firmware on to the kernel:

Enable the u-boot facility that sets chosen->stdout-path to the same
serial console that u-boot itself was built to use.
Signed-off-by: default avatarJosua Mayer <josua.mayer97@gmail.com>
parent 05e34ff8
......@@ -58,4 +58,11 @@
#define CONFIG_G_DNL_PRODUCT_NUM 0xd022
#define CONFIG_SYS_CACHELINE_SIZE 64
/*
* set stdout-path in dtb chosen-node to the selected uart
* replaces console=ttyO2... cmdline option
* uses previously defined CONFIG_CONS_INDEX
*/
#define CONFIG_OF_STDOUT_VIA_ALIAS
#endif /* __CONFIG_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment