All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] MIPS: allow keeping the dtb command line
@ 2015-09-12 16:26 Jonas Gorski
  2015-09-12 16:26 ` [PATCH 1/3] MIPS: use USE_OF as the guard for appended dtb Jonas Gorski
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Jonas Gorski @ 2015-09-12 16:26 UTC (permalink / raw)
  To: linux-mips
  Cc: Ralf Baechle, Kevin Cernekee, Florian Fainelli,
	Zubair Lutfullah Kakakhel, James Hogan, John Crispin,
	Ganesan Ramalingam, Jayachandran C, Andrew Bresticker,
	James Hartley

Currently MIPS kernel code overwrites any bootargs from devicetree
unconditionally with the arcscmdline. Several targets work around this
by copying the devicetree bootargs into the arcscmdline after parsing
the device tree.

This patchset adds a new kernel option for keeping the devicetree
bootargs, then removes the workarounds and lets the targets instead make
use of that option.

Since some targets use OF but don't make use of the devicetree bootargs,
treat them like non-OF enabled targets and only use the prom commandline/

Jonas Gorski (3):
  MIPS: use USE_OF as the guard for appended dtb
  MIPS: make the kernel arguments from dtb available
  MIPS: make MIPS_CMDLINE_DTB default

 arch/mips/Kconfig           | 21 ++++++++++++++++++++-
 arch/mips/bmips/setup.c     |  1 -
 arch/mips/kernel/setup.c    | 24 +++++++++++++++++-------
 arch/mips/lantiq/prom.c     |  2 --
 arch/mips/netlogic/xlp/dt.c |  1 -
 arch/mips/pistachio/init.c  |  1 -
 arch/mips/ralink/of.c       |  2 --
 7 files changed, 37 insertions(+), 15 deletions(-)

-- 
2.1.4

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-09-12 19:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-12 16:26 [PATCH 0/3] MIPS: allow keeping the dtb command line Jonas Gorski
2015-09-12 16:26 ` [PATCH 1/3] MIPS: use USE_OF as the guard for appended dtb Jonas Gorski
2015-09-12 16:26 ` [PATCH 2/3] MIPS: make the kernel arguments from dtb available Jonas Gorski
2015-09-12 16:26 ` [PATCH 3/3] MIPS: make MIPS_CMDLINE_DTB default Jonas Gorski
2015-09-12 18:53   ` Hauke Mehrtens
2015-09-12 19:01     ` Jonas Gorski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.