9
0
Fork 0
barebox/drivers/serial
Sascha Hauer dac65f99e8 console: Set Linux console parameter automatically
Linux specifies the linux,stdout-path property in the /chosen node
in the devicetree. Unfortunately this is ignored in most cases.
For cases in which barebox uses this property for its own use we
translate this into a Linux boot arg with:

- the console name provided by the serial driver
- the the instance from the 'serial' alias
- the baudrate from the actual baudrate.

So with this it's for devicetee enabled boards no longer necessary
to manually assign a console= parameter. Should a user not want
to use the automatically assigned parameter it should do:

global.linux.bootargs.console=

in the environment.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-01-22 07:53:21 +01:00
..
Kconfig serial: Add driver for Cadence UART 2013-03-27 09:22:37 +01:00
Makefile serial: Add driver for Cadence UART 2013-03-27 09:22:37 +01:00
amba-pl011.c serial: do not set default baudrate at init 2013-09-22 16:46:51 +02:00
arm_dcc.c console: drop f_caps and check the function pointer getc/putc instead 2013-09-21 09:59:16 +02:00
atmel.c Merge branch 'for-next/rs485' 2013-10-07 08:02:14 +02:00
linux_console.c console: drop f_caps and check the function pointer getc/putc instead 2013-09-21 09:59:16 +02:00
serial_altera.c console: drop f_caps and check the function pointer getc/putc instead 2013-09-21 09:59:16 +02:00
serial_altera_jtag.c console: drop f_caps and check the function pointer getc/putc instead 2013-09-21 09:59:16 +02:00
serial_auart.c serial: do not set default baudrate at init 2013-09-22 16:46:51 +02:00
serial_blackfin.c console: drop f_caps and check the function pointer getc/putc instead 2013-09-21 09:59:16 +02:00
serial_cadence.c console: drop f_caps and check the function pointer getc/putc instead 2013-09-21 09:59:16 +02:00
serial_clps711x.c serial: do not set default baudrate at init 2013-09-22 16:46:51 +02:00
serial_imx.c console: Set Linux console parameter automatically 2014-01-22 07:53:21 +01:00
serial_mpc5xxx.c console: drop f_caps and check the function pointer getc/putc instead 2013-09-21 09:59:16 +02:00
serial_netx.c console: drop f_caps and check the function pointer getc/putc instead 2013-09-21 09:59:16 +02:00
serial_ns16550.c console: Set Linux console parameter automatically 2014-01-22 07:53:21 +01:00
serial_ns16550.h serial: ns16550: Add device ids for omap 2013-11-22 10:56:49 +01:00
serial_omap4_usbboot.c console: drop f_caps and check the function pointer getc/putc instead 2013-09-21 09:59:16 +02:00
serial_pl010.c console: drop f_caps and check the function pointer getc/putc instead 2013-09-21 09:59:16 +02:00
serial_pl010.h Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
serial_pxa.c console: drop f_caps and check the function pointer getc/putc instead 2013-09-21 09:59:16 +02:00
serial_s3c.c console: drop f_caps and check the function pointer getc/putc instead 2013-09-21 09:59:16 +02:00
stm-serial.c console: drop f_caps and check the function pointer getc/putc instead 2013-09-21 09:59:16 +02:00