#if defined(CONFIG_PPC405_WDT) /* Look for wdt= option on command line */ if (strstr(cmd_line, "wdt=")) { int valid_wdt = 0; char *p, *q; for (q = cmd_line; (p = strstr(q, "wdt=")) != 0;) { q = p + 4; if (p > cmd_line && p[-1] != ' ') continue; wdt_period = simple_strtoul(q, &q, 0); valid_wdt = 1; ++q; } wdt_enable = valid_wdt; } #endif 
ppc4xx_init(unsigned long r3, unsigned long r4, unsigned long r5,	    unsigned long r6, unsigned long r7){	parse_bootinfo(find_bootinfo());	/*	 * If we were passed in a board information, copy it into the	 * residual data area.	 */	if (r3)		__res = *(bd_t *)(r3 + KERNELBASE);#if defined(CONFIG_BLK_DEV_INITRD)	/*	 * If the init RAM disk has been configured in, and there's a valid	 * starting address for it, set it up.	 */	if (r4) {		initrd_start = r4 + KERNELBASE;		initrd_end = r5 + KERNELBASE;	}#endif				/* CONFIG_BLK_DEV_INITRD */	/* Copy the kernel command line arguments to a safe place. */	if (r6) {		*(char *) (r7 + KERNELBASE) = 0;		strcpy(cmd_line, (char *) (r6 + KERNELBASE));	}#if defined(CONFIG_PPC405_WDT)/* Look for wdt= option on command line */	if (strstr(cmd_line, "wdt=")) {		int valid_wdt = 0;		char *p, *q;		for (q = cmd_line; (p = strstr(q, "wdt=")) != 0;) {			q = p + 4;			if (p > cmd_line && p[-1] != ' ')				continue;			wdt_period = simple_strtoul(q, &q, 0);			valid_wdt = 1;			++q;		}		wdt_enable = valid_wdt;	}#endif	/* Initialize machine-dependent vectors */	ppc_md.setup_arch = ppc4xx_setup_arch;	ppc_md.show_percpuinfo = ppc4xx_show_percpuinfo;	ppc_md.show_cpuinfo = ppc4xx_show_cpuinfo;	ppc_md.init_IRQ = ppc4xx_init_IRQ;	ppc_md.restart = ppc4xx_restart;	ppc_md.power_off = ppc4xx_power_off;	ppc_md.halt = ppc4xx_halt;	ppc_md.calibrate_decr = ppc4xx_calibrate_decr;#ifdef CONFIG_PPC405_WDT	ppc_md.heartbeat = ppc4xx_wdt_heartbeat;#endif	ppc_md.heartbeat_count = 0;	ppc_md.find_end_of_memory = ppc4xx_find_end_of_memory;	ppc_md.setup_io_mappings = ppc4xx_map_io;#ifdef CONFIG_SERIAL_TEXT_DEBUG	ppc_md.progress = gen550_progress;#endif#if defined(CONFIG_PCI) && defined(CONFIG_IDE)	ppc_ide_md.ide_init_hwif = ppc4xx_ide_init_hwif_ports;#endif /* defined(CONFIG_PCI) && defined(CONFIG_IDE) */}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/a2f40ccd294d14e5aca464c1913e8e0d8de35fca/ppc4xx_setup.c/clean/arch/ppc/syslib/ppc4xx_setup.c