linux-sg2042/drivers/of
Benjamin Herrenschmidt 78b782cb78 of: Change logic to overwrite cmd_line with CONFIG_CMDLINE
We used to overwrite with CONFIG_CMDLINE if we found a chosen
node but failed to get bootargs out of it or they were empty,
unless CONFIG_CMDLINE_FORCE is set.

Instead change that to overwrite if "data" is non empty after
the bootargs check. It allows arch code to have other mechanisms
to retrieve the command line prior to parsing the device-tree.

Note: CONFIG_CMDLINE_FORCE case should ideally be handled elsewhere
as it won't work as it-is if the device-tree has no /chosen node

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
CC: devicetree-discuss@lists-ozlabs.org
CC: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
2011-09-20 16:09:34 +10:00
..
Kconfig pci/of: Match PCI devices to OF nodes dynamically 2011-06-08 09:08:17 +10:00
Makefile pci/of: Match PCI devices to OF nodes dynamically 2011-06-08 09:08:17 +10:00
address.c of: address: use resource_size helper 2011-08-01 12:55:02 +01:00
base.c Revert "dt: add of_alias_scan and of_alias_get_id" 2011-08-04 11:26:24 +01:00
device.c dt/powerpc: move of_bus_type infrastructure to ibmebus 2011-02-28 01:36:38 -07:00
fdt.c of: Change logic to overwrite cmd_line with CONFIG_CMDLINE 2011-09-20 16:09:34 +10:00
gpio.c of/gpio: export of_gpio_simple_xlate 2011-07-28 16:19:22 -06:00
irq.c of: Export of_irq_find_parent() 2011-04-20 17:01:19 +10:00
of_i2c.c of/i2c: Fix request module by alias 2010-12-24 01:28:54 -07:00
of_mdio.c Fix common misspellings 2011-03-31 11:26:23 -03:00
of_net.c net: ibm_newemac: convert it to use of_get_phy_mode 2011-07-27 09:31:02 +08:00
of_pci.c of: fix missing include from of_pci.c 2011-07-23 23:53:55 -06:00
of_pci_irq.c pci/of: Match PCI devices to OF nodes dynamically 2011-06-08 09:08:17 +10:00
of_spi.c of/spi: call of_register_spi_devices() from spi core code 2010-07-30 00:03:59 -06:00
pdt.c of/promtree: allow DT device matching by fixing 'name' brokenness (v5) 2011-03-02 13:45:19 -07:00
platform.c Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2011-07-25 22:59:39 -07:00