| xj | b04a402 | 2021-11-25 15:01:52 +0800 | [diff] [blame] | 1 | |
| 2 | config CMDLINE_BOOL |
| 3 | bool "Built-in kernel command line" |
| 4 | help |
| 5 | For most platforms, it is firmware or second stage bootloader |
| 6 | that by default specifies the kernel command line options. |
| 7 | However, it might be necessary or advantageous to either override |
| 8 | the default kernel command line or add a few extra options to it. |
| 9 | For such cases, this option allows hardcoding command line options |
| 10 | directly into the kernel. |
| 11 | |
| 12 | For that, choose 'Y' here and fill in the extra boot parameters |
| 13 | in CONFIG_CMDLINE. |
| 14 | |
| 15 | The built-in options will be concatenated to the default command |
| 16 | line if CMDLINE_FORCE is set to 'N'. Otherwise, the default |
| 17 | command line will be ignored and replaced by the built-in string. |
| 18 | |
| 19 | config CMDLINE |
| 20 | string "Built-in kernel command string" |
| 21 | depends on CMDLINE_BOOL |
| 22 | default "" |
| 23 | help |
| 24 | Supply command-line options at build time by entering them here. |
| 25 | |
| 26 | config CMDLINE_FORCE |
| 27 | bool "Built-in command line overrides bootloader arguments" |
| 28 | depends on CMDLINE_BOOL |
| 29 | help |
| 30 | Set this option to 'Y' to have the kernel ignore the bootloader |
| 31 | or firmware command line. Instead, the built-in command line |
| 32 | will be used exclusively. |
| 33 | |
| 34 | If you don't know what to do here, say N. |
| 35 | |
| 36 | config EARLY_PRINTK |
| 37 | def_bool y |