summaryrefslogtreecommitdiff
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
authorDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2015-01-14 21:44:13 +0100
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2015-01-21 14:02:48 +0100
commit25fc664f408e2e78623d03071884bafc62251553 (patch)
tree81e076263e7b5310dbd1974cfff8b2a504590899 /arch/mips/Kconfig
parent768f6096f9c389b5ed36bee2957bee16b085fc4a (diff)
downloadu-boot-imx-25fc664f408e2e78623d03071884bafc62251553.zip
u-boot-imx-25fc664f408e2e78623d03071884bafc62251553.tar.gz
u-boot-imx-25fc664f408e2e78623d03071884bafc62251553.tar.bz2
MIPS: bootm: refactor preparation of Linux kernel command line
Move preparation of Linux kernel command line in a separate function and mark it as legacy. Add a Kconfig option to make that legacy mode configurable. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r--arch/mips/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 4991da2..a5d5a33 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -116,6 +116,19 @@ config CPU_MIPS64_R2
endchoice
+menu "OS boot interface"
+
+config MIPS_BOOT_CMDLINE_LEGACY
+ bool "Hand over legacy command line to Linux kernel"
+ default y
+ help
+ Enable this option if you want U-Boot to hand over the Yamon-style
+ command line to the kernel. All bootargs will be prepared as argc/argv
+ compatible list. The argument count (argc) is stored in register $a0.
+ The address of the argument list (argv) is stored in register $a1.
+
+endmenu
+
config SUPPORTS_BIG_ENDIAN
bool