Skip to content
Browse files

Ignore bootloader passed args

Added kernel config option to ignore kernel
command line args passed by the bootloader.
  • Loading branch information...
1 parent 3017556 commit c1cc85358ed0071fb2264b2c90ab29119916bec6 @dalingrin committed Apr 12, 2011
Showing with 9 additions and 0 deletions.
  1. +7 −0 arch/arm/Kconfig
  2. +2 −0 arch/arm/kernel/setup.c
7 arch/arm/Kconfig
@@ -1291,6 +1291,13 @@ config CMDLINE
time by entering them here. As a minimum, you should specify the
memory size and the root device (e.g., mem=64M root=/dev/nfs).
+ bool "Ignore bootloader command line args"
+ default n
+ help
+ Ignore the command line args passed from the bootloader and use
+ default command line args defined in CONFIG_CMDLINE
bool "Kernel Execute-In-Place from ROM"
depends on !ZBOOT_ROM
2 arch/arm/kernel/setup.c
@@ -630,7 +630,9 @@ __tagtable(ATAG_REVISION, parse_tag_revision);
static int __init parse_tag_cmdline(const struct tag *tag)
strlcpy(default_command_line, tag->u.cmdline.cmdline, COMMAND_LINE_SIZE);
return 0;

0 comments on commit c1cc853

Please sign in to comment.
Something went wrong with that request. Please try again.