13 #include <linux/stddef.h>
14 #include <linux/kernel.h>
16 #include <linux/errno.h>
17 #include <linux/reboot.h>
18 #include <linux/pci.h>
19 #include <linux/kdev_t.h>
32 #include <asm/machdep.h>
46 #define DBG(fmt...) udbg_printf(fmt)
56 static void __init mpc832x_sys_setup_arch(
void)
62 ppc_md.progress(
"mpc832x_sys_setup_arch()", 0);
76 #ifdef CONFIG_QUICC_ENGINE
90 #define BCSR8_FETH_RST 0x50
91 clrbits8(&bcsr_regs[8], BCSR8_FETH_RST);
93 setbits8(&bcsr_regs[8], BCSR8_FETH_RST);
105 static int __init mpc832x_sys_probe(
void)
107 unsigned long root = of_get_flat_dt_root();
109 return of_flat_dt_is_compatible(root,
"MPC832xMDS");
113 .name =
"MPC832x MDS",
114 .probe = mpc832x_sys_probe,
115 .setup_arch = mpc832x_sys_setup_arch,