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

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
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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 */