9
0
Fork 0
barebox/drivers
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
..
amba treewide: Use dev_add_param_int_ro where possible 2013-04-11 11:48:35 +02:00
ata Merge branch 'for-next/misc' 2013-12-06 08:23:24 +01:00
base net: dm9k: Fix resource sizes in add_dm9000_device 2013-12-18 16:52:14 +01:00
bus bus: Add omap gpmc driver 2013-11-27 10:42:54 +01:00
clk Merge branch 'for-next/tegra' 2013-12-06 08:23:27 +01:00
clocksource ARM: bcm2835: register the clocksource driver earlier 2013-10-22 15:28:58 +02:00
dma mtd: nand: mxs-nand: Add i.MX6 support 2013-07-23 16:25:14 +02:00
eeprom eeprom: at24: Enable OF partition parsing 2013-11-08 15:42:08 +01:00
gpio Merge branch 'for-next/tegra' 2013-12-06 08:23:27 +01:00
i2c Merge branch 'for-next/omap-drivers' 2013-12-06 08:23:27 +01:00
input console: drop f_caps and check the function pointer getc/putc instead 2013-09-21 09:59:16 +02:00
led led: trigger: disable LEDs with trigger before installing it 2013-11-11 09:02:07 +01:00
mci Merge branch 'for-next/tegra' 2013-12-06 08:23:27 +01:00
mfd treewide: Add missing includes 2013-11-08 15:42:04 +01:00
misc driver: Attach info callback to device, not to driver 2013-05-30 12:18:27 +02:00
mtd UBI: Add some asserts to ubi_attach_fastmap() 2014-01-07 11:03:24 +01:00
net Merge branch 'for-next/openrisc' 2014-01-07 11:57:51 +01:00
of of: find also nodes by mixture of alias and path 2014-01-10 10:39:57 +01:00
pinctrl pinctrl: single: select CONFIG_PINCTRL 2013-12-17 08:25:45 +01:00
pwm pwm: sanity check values before passing them to the drivers 2013-09-27 07:16:50 +02:00
serial console: Set Linux console parameter automatically 2014-01-22 07:53:21 +01:00
spi Merge branch 'for-next/omap-drivers' 2013-12-06 08:23:27 +01:00
usb usb: chipidea i.MX: add some delay after ulpi_setup 2014-01-07 11:13:59 +01:00
video video: ipufb: Use uncached memory for framebuffer 2013-12-20 11:32:08 +01:00
w1 w1: Fix compiler warning 2013-03-06 09:04:26 +01:00
watchdog treewide: Add missing includes 2013-11-08 15:42:04 +01:00
Kconfig bus: Add imx-weim support 2013-07-16 08:48:09 +02:00
Makefile bus: Add imx-weim support 2013-07-16 08:48:09 +02:00