X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fppc%2Fkernel%2Fsetup.c;h=18a2f147d412efbf4e1ea46c539fdc69fb406c9a;hb=720b94a4e7548e78be55ab8fd3be4686c57dc808;hp=7cd9e210e636d0c4a31f428d2e869bf899037b45;hpb=86090fcac5e27b630656fe3d963a6b80e26dac44;p=linux-2.6.git diff --git a/arch/ppc/kernel/setup.c b/arch/ppc/kernel/setup.c index 7cd9e210e..18a2f147d 100644 --- a/arch/ppc/kernel/setup.c +++ b/arch/ppc/kernel/setup.c @@ -37,6 +37,7 @@ #include #include #include +#include #if defined CONFIG_KGDB #include @@ -683,6 +684,12 @@ void __init setup_arch(char **cmdline_p) do_init_bootmem(); if ( ppc_md.progress ) ppc_md.progress("setup_arch: bootmem", 0x3eab); +#ifdef CONFIG_PPC_OCP + /* Initialize OCP device list */ + ocp_early_init(); + if ( ppc_md.progress ) ppc_md.progress("ocp: exit", 0x3eab); +#endif + ppc_md.setup_arch(); if ( ppc_md.progress ) ppc_md.progress("arch: exit", 0x3eab);