Skip to content

MIPS: allow keeping the dtb command line

Jonas Gorski linux-mips 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 0 repliesNew
  2. v13 patches 2 repliesSuperseded

Changes in v2 from the cover letter

* Fix ATh79 -> ATH79

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3MIPS: use USE_OF as the guard for appended dtbarch/mips/Kconfig+1 -10 replies
2/3MIPS: make the kernel arguments from dtb availablearch/mips/Kconfig arch/mips/kernel/setup.c+33 -70 replies
3/3MIPS: make MIPS_CMDLINE_DTB defaultarch/mips/Kconfig arch/mips/bmips/setup.c arch/mips/lantiq/prom.c +3 more+3 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH V2 0/3] MIPS: allow keeping the dtb command line

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.

Changes v1 -> v2:
* Fix ATh79 -> ATH79

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(-)
Signature · 1 line
2.1.4