Skip to content

Commit

Permalink
MIPS: PowerTV: Simplify command line handling and needed config changes
Browse files Browse the repository at this point in the history
Additional changes to Youichi Yuasa's command line simplication code

The PowerTV platform uses a non-standard way to get the kernel command
line--we insert a built-in command line into arcs_cmdline and to
get additional command line information from the bootloader via a
pointer in the a1 register. It is necessary to insert a space between
to the two strings or the last argument from arcs_cmdline and the first
argument from the bootloader may be inadvertantly combined.

It is also necessary to set CONFIG_CMDLINE_BOOL to "y" and to set the
default command line to an empty string to get the simplified code to
work properly in the PowerTV environment.

Signed-off-by: David VomLehn <dvomlehn@cisco.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1438/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
David VomLehn authored and Ralf Baechle committed Aug 5, 2010
1 parent 417a5eb commit 0d59050
Show file tree
Hide file tree
Showing 2 changed files with 201 additions and 78 deletions.
Loading

0 comments on commit 0d59050

Please sign in to comment.