Commit 1eccad01 authored by Kumar Gala's avatar Kumar Gala

[POWERPC] 83xx: Remove obsolete setting of ROOT_DEV.

Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent 336c3c2e
...@@ -118,17 +118,6 @@ static void __init mpc832x_sys_setup_arch(void) ...@@ -118,17 +118,6 @@ static void __init mpc832x_sys_setup_arch(void)
} }
#endif /* CONFIG_QUICC_ENGINE */ #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) static int __init mpc832x_declare_of_platform_devices(void)
......
...@@ -71,12 +71,6 @@ static void __init mpc834x_itx_setup_arch(void) ...@@ -71,12 +71,6 @@ static void __init mpc834x_itx_setup_arch(void)
ppc_md.pci_exclude_device = mpc83xx_exclude_device; ppc_md.pci_exclude_device = mpc83xx_exclude_device;
#endif #endif
#ifdef CONFIG_ROOT_NFS
ROOT_DEV = Root_NFS;
#else
ROOT_DEV = Root_HDA1;
#endif
} }
static void __init mpc834x_itx_init_IRQ(void) static void __init mpc834x_itx_init_IRQ(void)
......
...@@ -144,12 +144,6 @@ static void __init mpc834x_mds_setup_arch(void) ...@@ -144,12 +144,6 @@ static void __init mpc834x_mds_setup_arch(void)
#endif #endif
mpc834x_usb_cfg(); 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) static void __init mpc834x_mds_init_IRQ(void)
......
...@@ -128,17 +128,6 @@ static void __init mpc8360_sys_setup_arch(void) ...@@ -128,17 +128,6 @@ static void __init mpc8360_sys_setup_arch(void)
} }
#endif /* CONFIG_QUICC_ENGINE */ #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) static int __init mpc8360_declare_of_platform_devices(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment