MIPS: allow keeping the dtb command line
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 0 repliesNew
- v13 patches 2 repliesSuperseded
Changes in v2 from the cover letter
* Fix ATh79 -> ATH79
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | MIPS: use USE_OF as the guard for appended dtbarch/ | +1 | 0 replies | |
| 2/3 | MIPS: make the kernel arguments from dtb availablearch/ arch/ | +33 | 0 replies | |
| 3/3 | MIPS: make MIPS_CMDLINE_DTB defaultarch/ arch/ arch/ +3 more | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
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