aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@sifive.com>2018-03-13 16:31:20 -0400
committerPalmer Dabbelt <palmer@sifive.com>2018-04-03 12:48:27 -0400
commitf6a11d9febad1f308fe4119a54b92e335e7c8032 (patch)
tree3753ca62435690ccd1b57b06e6dd6daa1db6b1eb
parent7a8e7da42250138adf202ba2596ef7f68651060a (diff)
RISC-V: Rename CONFIG_CMDLINE_OVERRIDE to CONFIG_CMDLINE_FORCE
The device tree code looks for CONFIG_CMDLINE_FORCE, but we were using CONFIG_CMDLINE_OVERRIDE. It looks like this was just a hold over from before our device tree conversion -- in fact, we'd already removed the support for CONFIG_CMDLINE_OVERRIDE from our arch-specific code so it didn't even work any more. Thanks to Mortiz and Trung for finding the original bug, and for Michael for suggeting a better fix. CC: Trung Tran <trung.tran@ettus.com> CC: Michael J Clark <mjc@sifive.com> Reviewed-by: Moritz Fischer <mdf@kernel.org> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
-rw-r--r--arch/riscv/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index 1df6e264edd3..e8379daf9334 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -289,7 +289,7 @@ config CMDLINE_BOOL
289 in CONFIG_CMDLINE. 289 in CONFIG_CMDLINE.
290 290
291 The built-in options will be concatenated to the default command 291 The built-in options will be concatenated to the default command
292 line if CMDLINE_OVERRIDE is set to 'N'. Otherwise, the default 292 line if CMDLINE_FORCE is set to 'N'. Otherwise, the default
293 command line will be ignored and replaced by the built-in string. 293 command line will be ignored and replaced by the built-in string.
294 294
295config CMDLINE 295config CMDLINE
@@ -299,7 +299,7 @@ config CMDLINE
299 help 299 help
300 Supply command-line options at build time by entering them here. 300 Supply command-line options at build time by entering them here.
301 301
302config CMDLINE_OVERRIDE 302config CMDLINE_FORCE
303 bool "Built-in command line overrides bootloader arguments" 303 bool "Built-in command line overrides bootloader arguments"
304 depends on CMDLINE_BOOL 304 depends on CMDLINE_BOOL
305 help 305 help