[POWERPC] 83xx: Remove obsolete setting of ROOT_DEV.
authorKumar Gala <galak@kernel.crashing.org>
Sat, 17 Feb 2007 15:25:57 +0000 (09:25 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Sat, 17 Feb 2007 15:25:57 +0000 (09:25 -0600)
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/83xx/mpc832x_mds.c
arch/powerpc/platforms/83xx/mpc834x_itx.c
arch/powerpc/platforms/83xx/mpc834x_mds.c
arch/powerpc/platforms/83xx/mpc8360e_pb.c

index c6bfe72893d4f96cd1ad3d5531e05b470d7a9872..71d9c0f17e473129ac887392b438162b09f92570 100644 (file)
@@ -118,17 +118,6 @@ static void __init mpc832x_sys_setup_arch(void)
        }
 
 #endif                         /* CONFIG_QUICC_ENGINE */
-
-#ifdef CONFIG_BLK_DEV_INITRD
-       if (initrd_start)
-               ROOT_DEV = Root_RAM0;
-       else
-#endif
-#ifdef  CONFIG_ROOT_NFS
-               ROOT_DEV = Root_NFS;
-#else
-               ROOT_DEV = Root_HDA1;
-#endif
 }
 
 static int __init mpc832x_declare_of_platform_devices(void)
index a8f66fb3391ab8db23a5ae57a13901537cc8d65e..0a708efa1f561c22ae84cbd16cf474c8e776b642 100644 (file)
@@ -71,12 +71,6 @@ static void __init mpc834x_itx_setup_arch(void)
 
        ppc_md.pci_exclude_device = mpc83xx_exclude_device;
 #endif
-
-#ifdef  CONFIG_ROOT_NFS
-       ROOT_DEV = Root_NFS;
-#else
-       ROOT_DEV = Root_HDA1;
-#endif
 }
 
 static void __init mpc834x_itx_init_IRQ(void)
index 9fd9adf8ff9915b0a34e14d1446fbe0e549b6739..5a610485303bb880c136d2be30919289a5e9bbe0 100644 (file)
@@ -144,12 +144,6 @@ static void __init mpc834x_mds_setup_arch(void)
 #endif
 
        mpc834x_usb_cfg();
-
-#ifdef  CONFIG_ROOT_NFS
-       ROOT_DEV = Root_NFS;
-#else
-       ROOT_DEV = Root_HDA1;
-#endif
 }
 
 static void __init mpc834x_mds_init_IRQ(void)
index 76fcb5bdb759137b2be570158d409793f5fabb64..e39e17f9b920803cb05298aa38907436f1aecc2f 100644 (file)
@@ -128,17 +128,6 @@ static void __init mpc8360_sys_setup_arch(void)
        }
 
 #endif                         /* CONFIG_QUICC_ENGINE */
-
-#ifdef CONFIG_BLK_DEV_INITRD
-       if (initrd_start)
-               ROOT_DEV = Root_RAM0;
-       else
-#endif
-#ifdef  CONFIG_ROOT_NFS
-               ROOT_DEV = Root_NFS;
-#else
-               ROOT_DEV = Root_HDA1;
-#endif
 }
 
 static int __init mpc8360_declare_of_platform_devices(void)