Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279705
b: refs/heads/master
c: d1db912
h: refs/heads/master
i:
  279703: d20c832
v: v3
  • Loading branch information
Greg Ungerer committed Dec 24, 2011
1 parent 1063059 commit bccc8b2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e87c09a899d38d1b6858e010c22a1200fb77965d
refs/heads/master: d1db9120cd7df0872385fd29a25257f23cb70527
16 changes: 8 additions & 8 deletions trunk/arch/m68k/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@ menu "Kernel hacking"

source "lib/Kconfig.debug"

config BOOTPARAM
bool 'Compiled-in Kernel Boot Parameter'

config BOOTPARAM_STRING
string 'Kernel Boot Parameter'
default 'console=ttyS0,19200'
depends on BOOTPARAM

if !MMU

config FULLDEBUG
Expand All @@ -15,14 +23,6 @@ config HIGHPROFILE
help
Use a fast secondary clock to produce profiling information.

config BOOTPARAM
bool 'Compiled-in Kernel Boot Parameter'

config BOOTPARAM_STRING
string 'Kernel Boot Parameter'
default 'console=ttyS0,19200'
depends on BOOTPARAM

config NO_KERNEL_MSG
bool "Suppress Kernel BUG Messages"
help
Expand Down
4 changes: 4 additions & 0 deletions trunk/arch/m68k/kernel/setup_mm.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,10 @@ void __init setup_arch(char **cmdline_p)
init_mm.end_data = (unsigned long)_edata;
init_mm.brk = (unsigned long)_end;

#if defined(CONFIG_BOOTPARAM)
strncpy(m68k_command_line, CONFIG_BOOTPARAM_STRING, CL_SIZE);
m68k_command_line[CL_SIZE - 1] = 0;
#endif /* CONFIG_BOOTPARAM */
*cmdline_p = m68k_command_line;
memcpy(boot_command_line, *cmdline_p, CL_SIZE);

Expand Down

0 comments on commit bccc8b2

Please sign in to comment.