Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
bbd1dca4
Commit
bbd1dca4
authored
Jan 08, 2004
by
Ben Collins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: Add option to define default command line to kernel, ala PPC.
parent
92bb6550
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
arch/sparc64/Kconfig
arch/sparc64/Kconfig
+16
-0
arch/sparc64/prom/bootstr.c
arch/sparc64/prom/bootstr.c
+4
-0
No files found.
arch/sparc64/Kconfig
View file @
bbd1dca4
...
@@ -489,6 +489,22 @@ config WATCHDOG_RIO
...
@@ -489,6 +489,22 @@ config WATCHDOG_RIO
machines. The watchdog timeout period is normally one minute but
machines. The watchdog timeout period is normally one minute but
can be changed with a boot-time parameter.
can be changed with a boot-time parameter.
config CMDLINE_BOOL
bool "Default bootloader kernel arguments"
config CMDLINE
string "Initial kernel command string"
depends on CMDLINE_BOOL
default "console=ttyS0,9600 root=/dev/sda1"
help
Say Y here if you want to be able to pass default arguments to
the kernel. This will be overridden by the bootloader, if you
use one (such as SILO). This is most useful if you want to boot
a kernel from TFTP, and want default options to be available
with having them passed on the command line.
NOTE: This option WILL override the PROM bootargs setting!
endmenu
endmenu
source "drivers/base/Kconfig"
source "drivers/base/Kconfig"
...
...
arch/sparc64/prom/bootstr.c
View file @
bbd1dca4
...
@@ -21,6 +21,10 @@ struct {
...
@@ -21,6 +21,10 @@ struct {
char
bootstr_buf
[
BARG_LEN
];
char
bootstr_buf
[
BARG_LEN
];
}
bootstr_info
=
{
}
bootstr_info
=
{
.
bootstr_len
=
BARG_LEN
,
.
bootstr_len
=
BARG_LEN
,
#ifdef CONFIG_CMDLINE
.
bootstr_valid
=
1
,
.
bootstr_buf
=
CONFIG_CMDLINE
,
#endif
};
};
char
*
__init
char
*
__init
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment