|
@@ -149,30 +149,6 @@ notrace void __init machine_init(u64 dt_ptr)
|
|
|
ppc_md.progress("id mach(): done", 0x200);
|
|
|
}
|
|
|
|
|
|
-#ifdef CONFIG_BOOKE_WDT
|
|
|
-extern u32 booke_wdt_enabled;
|
|
|
-extern u32 booke_wdt_period;
|
|
|
-
|
|
|
-/* Checks wdt=x and wdt_period=xx command-line option */
|
|
|
-notrace int __init early_parse_wdt(char *p)
|
|
|
-{
|
|
|
- if (p && strncmp(p, "0", 1) != 0)
|
|
|
- booke_wdt_enabled = 1;
|
|
|
-
|
|
|
- return 0;
|
|
|
-}
|
|
|
-early_param("wdt", early_parse_wdt);
|
|
|
-
|
|
|
-int __init early_parse_wdt_period (char *p)
|
|
|
-{
|
|
|
- if (p)
|
|
|
- booke_wdt_period = simple_strtoul(p, NULL, 0);
|
|
|
-
|
|
|
- return 0;
|
|
|
-}
|
|
|
-early_param("wdt_period", early_parse_wdt_period);
|
|
|
-#endif /* CONFIG_BOOKE_WDT */
|
|
|
-
|
|
|
/* Checks "l2cr=xxxx" command-line option */
|
|
|
int __init ppc_setup_l2cr(char *str)
|
|
|
{
|