[POWERPC] Remove fixed setting of ROOT_DEV for 7448HPC2 platforms
authorZang Roy-r61911 <tie-fei.zang@freescale.com>
Tue, 6 Mar 2007 06:10:36 +0000 (14:10 +0800)
committerPaul Mackerras <paulus@samba.org>
Fri, 9 Mar 2007 04:03:26 +0000 (15:03 +1100)
Remove fixed setting of ROOT_DEV for 7448HPC2 platforms.
Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/embedded6xx/mpc7448_hpc2.c

index 3fcc85f60fbf2d78b7ee8ba29c8733026e951fcd..992257488d2977ced830310b4f84611579f708f5 100644 (file)
@@ -91,16 +91,6 @@ static void __init mpc7448_hpc2_setup_arch(void)
        }
        tsi108_csr_vir_base = get_vir_csrbase();
 
-#ifdef CONFIG_ROOT_NFS
-       ROOT_DEV = Root_NFS;
-#else
-       ROOT_DEV = Root_HDA1;
-#endif
-
-#ifdef CONFIG_BLK_DEV_INITRD
-       ROOT_DEV = Root_RAM0;
-#endif
-
        /* setup PCI host bridge */
 #ifdef CONFIG_PCI
        for (np = NULL; (np = of_find_node_by_type(np, "pci")) != NULL;)