powerpc: Remove powerpc specific cmd_line
There is no need for yet another copy of the command line, just use boot_command_line like everyone else. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:

committed by
Michael Ellerman

parent
c7d1f6afe0
commit
3e47d1474c
@@ -258,7 +258,7 @@ static void chrp_init_early(void)
|
||||
struct device_node *node;
|
||||
const char *property;
|
||||
|
||||
if (strstr(cmd_line, "console="))
|
||||
if (strstr(boot_command_line, "console="))
|
||||
return;
|
||||
/* find the boot console from /chosen/stdout */
|
||||
if (!of_chosen)
|
||||
|
Reference in New Issue
Block a user