projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
powerpc: Remove powerpc specific cmd_line
[firefly-linux-kernel-4.4.55.git]
/
arch
/
powerpc
/
platforms
/
powermac
/
setup.c
diff --git
a/arch/powerpc/platforms/powermac/setup.c
b/arch/powerpc/platforms/powermac/setup.c
index 141f8899a633f04182d65179c410b53a78a74109..b127a29ac526dd0e27e5f5a7b487c0d58c2ae9c1 100644
(file)
--- a/
arch/powerpc/platforms/powermac/setup.c
+++ b/
arch/powerpc/platforms/powermac/setup.c
@@
-336,7
+336,7
@@
static void __init pmac_setup_arch(void)
#endif
#ifdef CONFIG_ADB
#endif
#ifdef CONFIG_ADB
- if (strstr(
cm
d_line, "adb_sync")) {
+ if (strstr(
boot_comman
d_line, "adb_sync")) {
extern int __adb_probe_sync;
__adb_probe_sync = 1;
}
extern int __adb_probe_sync;
__adb_probe_sync = 1;
}
@@
-460,7
+460,7
@@
pmac_halt(void)
static void __init pmac_init_early(void)
{
/* Enable early btext debug if requested */
static void __init pmac_init_early(void)
{
/* Enable early btext debug if requested */
- if (strstr(
cm
d_line, "btextdbg")) {
+ if (strstr(
boot_comman
d_line, "btextdbg")) {
udbg_adb_init_early();
register_early_udbg_console();
}
udbg_adb_init_early();
register_early_udbg_console();
}
@@
-469,8
+469,8
@@
static void __init pmac_init_early(void)
pmac_feature_init();
/* Initialize debug stuff */
pmac_feature_init();
/* Initialize debug stuff */
- udbg_scc_init(!!strstr(
cm
d_line, "sccdbg"));
- udbg_adb_init(!!strstr(
cm
d_line, "btextdbg"));
+ udbg_scc_init(!!strstr(
boot_comman
d_line, "sccdbg"));
+ udbg_adb_init(!!strstr(
boot_comman
d_line, "btextdbg"));
#ifdef CONFIG_PPC64
iommu_init_early_dart();
#ifdef CONFIG_PPC64
iommu_init_early_dart();