Skip to content

Commit

Permalink
[POWERPC] 83xx: Remove obsolete setting of ROOT_DEV.
Browse files Browse the repository at this point in the history
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
  • Loading branch information
Kumar Gala committed Feb 17, 2007
1 parent 336c3c2 commit 1eccad0
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 34 deletions.
11 changes: 0 additions & 11 deletions arch/powerpc/platforms/83xx/mpc832x_mds.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 0 additions & 6 deletions arch/powerpc/platforms/83xx/mpc834x_itx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 0 additions & 6 deletions arch/powerpc/platforms/83xx/mpc834x_mds.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
11 changes: 0 additions & 11 deletions arch/powerpc/platforms/83xx/mpc8360e_pb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1eccad0

Please sign in to comment.