barebox/arch/blackfin/lib
Sascha Hauer ee4cab9e58 booting: more flexible Linux bootargs generation
We currently use the environment variable 'bootargs' to get the
Linux bootargs. This patch allows for a more flexible bootargs
generation using global variables. With it the Linux bootargs
are concatenated from multiple variables. This allows to replace
parts of the bootargs string without having to reconstruct it
completely.
With this bootargs can be constructed like:

global linux.bootargs.base="console=ttyS0,115200"
global linux.bootargs.ip="ip=dhcp"
global linux.mtdparts="physmap-flash.0:512K(nor0.barebox),-(root)"

This will then automatically be combined into a kernel bootargs
string during boot.

If the 'linux.bootargs.' variables are all empty the old standard
'bootargs' way will be used.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-05-14 09:16:31 +02:00
..
ashldi3.c initial blackfin support 2007-09-11 10:15:32 +02:00
bf533_string.c rename U-Boot-v2 project to barebox 2009-12-15 10:18:30 +01:00
blackfin_linux.c booting: more flexible Linux bootargs generation 2012-05-14 09:16:31 +02:00
board.c fix malloc space sizes 2011-12-03 10:09:29 +01:00
clock.c clocksource: switch mask to CLOCKSOURCE_MASK 2010-11-29 21:55:25 +01:00
cpu.c reset_cpu: unify declaration 2010-10-22 20:47:02 +02:00
divsi3.S initial blackfin support 2007-09-11 10:15:32 +02:00
flush.S add blackfin cache and traps handling 2007-09-16 11:24:28 +02:00
gcclib.h initial blackfin support 2007-09-11 10:15:32 +02:00
interrupt.S rename U-Boot-v2 project to barebox 2009-12-15 10:18:30 +01:00
lshrdi3.c initial blackfin support 2007-09-11 10:15:32 +02:00
Makefile CONFIG_MODULE -> CONFIG_MODULES 2007-10-04 12:33:03 +02:00
modsi3.S initial blackfin support 2007-09-11 10:15:32 +02:00
module.c add blackfin specific bits for module handling 2007-09-28 20:35:40 +02:00
muldi3.c rename U-Boot-v2 project to barebox 2009-12-15 10:18:30 +01:00
smulsi3_highpart.S initial blackfin support 2007-09-11 10:15:32 +02:00
traps.c blackfin: fix printf compiler warnings 2011-01-07 11:35:46 +01:00
udivsi3.S initial blackfin support 2007-09-11 10:15:32 +02:00
umodsi3.S initial blackfin support 2007-09-11 10:15:32 +02:00
umulsi3_highpart.S initial blackfin support 2007-09-11 10:15:32 +02:00