diff options
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index ac2fb0641a04..fbcb79bbafd2 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -1392,6 +1392,51 @@ config COMPAT_VDSO | |||
1392 | 1392 | ||
1393 | If unsure, say Y. | 1393 | If unsure, say Y. |
1394 | 1394 | ||
1395 | config CMDLINE_BOOL | ||
1396 | bool "Built-in kernel command line" | ||
1397 | default n | ||
1398 | help | ||
1399 | Allow for specifying boot arguments to the kernel at | ||
1400 | build time. On some systems (e.g. embedded ones), it is | ||
1401 | necessary or convenient to provide some or all of the | ||
1402 | kernel boot arguments with the kernel itself (that is, | ||
1403 | to not rely on the boot loader to provide them.) | ||
1404 | |||
1405 | To compile command line arguments into the kernel, | ||
1406 | set this option to 'Y', then fill in the | ||
1407 | the boot arguments in CONFIG_CMDLINE. | ||
1408 | |||
1409 | Systems with fully functional boot loaders (i.e. non-embedded) | ||
1410 | should leave this option set to 'N'. | ||
1411 | |||
1412 | config CMDLINE | ||
1413 | string "Built-in kernel command string" | ||
1414 | depends on CMDLINE_BOOL | ||
1415 | default "" | ||
1416 | help | ||
1417 | Enter arguments here that should be compiled into the kernel | ||
1418 | image and used at boot time. If the boot loader provides a | ||
1419 | command line at boot time, it is appended to this string to | ||
1420 | form the full kernel command line, when the system boots. | ||
1421 | |||
1422 | However, you can use the CONFIG_CMDLINE_OVERRIDE option to | ||
1423 | change this behavior. | ||
1424 | |||
1425 | In most cases, the command line (whether built-in or provided | ||
1426 | by the boot loader) should specify the device for the root | ||
1427 | file system. | ||
1428 | |||
1429 | config CMDLINE_OVERRIDE | ||
1430 | bool "Built-in command line overrides boot loader arguments" | ||
1431 | default n | ||
1432 | depends on CMDLINE_BOOL | ||
1433 | help | ||
1434 | Set this option to 'Y' to have the kernel ignore the boot loader | ||
1435 | command line, and use ONLY the built-in command line. | ||
1436 | |||
1437 | This is used to work around broken boot loaders. This should | ||
1438 | be set to 'N' under normal conditions. | ||
1439 | |||
1395 | endmenu | 1440 | endmenu |
1396 | 1441 | ||
1397 | config ARCH_ENABLE_MEMORY_HOTPLUG | 1442 | config ARCH_ENABLE_MEMORY_HOTPLUG |