diff options
author | Paul Walmsley <paul.walmsley@sifive.com> | 2018-12-17 19:15:12 -0800 |
---|---|---|
committer | Palmer Dabbelt <palmer@sifive.com> | 2019-01-07 08:08:00 -0800 |
commit | 8fd6e05c7463b635e51ec7df0a1858c1b5a6e350 (patch) | |
tree | 1e57a65f63d0e3e9f42b89926202c13f6e16b157 /mm/init-mm.c | |
parent | d0df00e30e4bf9bc27ddbd092ad683ff6121b360 (diff) |
arch: riscv: support kernel command line forcing when no DTB passed
CONFIG_CMDLINE_FORCE doesn't work on RISC-V when no DTB is passed into
the kernel. This is because the code that forces the kernel command
line only runs if a valid DTB is present at boot. During debugging,
it's useful to have the ability to force kernel command lines even
when no DTB is present. This patch adds support for doing so.
Cc: Palmer Dabbelt <palmer@sifive.com>
Cc: Albert Ou <aou@eecs.berkeley.edu>
Cc: linux-riscv@lists.infradead.org
Cc: linux-kernel@vger.kernel.org (open list)
Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'mm/init-mm.c')
0 files changed, 0 insertions, 0 deletions