summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/52xx
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2007-10-11 04:48:28 +1000
committerPaul Mackerras <paulus@samba.org>2007-10-11 20:40:43 +1000
commit745e1027751acbc1f14f8bbef378b491242b9c83 (patch)
tree578581f58f05a19bd02ef7b67ac7f2862fb90688 /arch/powerpc/platforms/52xx
parentd27c1cedc0e4faed2c0fce9d82d4c17695e43e90 (diff)
downloadtalos-op-linux-745e1027751acbc1f14f8bbef378b491242b9c83.tar.gz
talos-op-linux-745e1027751acbc1f14f8bbef378b491242b9c83.zip
[POWERPC] Platforms shouldn't mess with ROOT_DEV
There is no good reason for board platform code to mess with the ROOT_DEV. Remove it from all in-tree platforms except powermac. Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/52xx')
-rw-r--r--arch/powerpc/platforms/52xx/efika.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/powerpc/platforms/52xx/efika.c b/arch/powerpc/platforms/52xx/efika.c
index 4263158b3274..0b1e60a010ba 100644
--- a/arch/powerpc/platforms/52xx/efika.c
+++ b/arch/powerpc/platforms/52xx/efika.c
@@ -197,15 +197,6 @@ static void __init efika_setup_arch(void)
{
rtas_initialize();
-#ifdef CONFIG_BLK_DEV_INITRD
- initrd_below_start_ok = 1;
-
- if (initrd_start)
- ROOT_DEV = Root_RAM0;
- else
-#endif
- ROOT_DEV = Root_SDA2; /* sda2 (sda1 is for the kernel) */
-
efika_pcisetup();
#ifdef CONFIG_PM
OpenPOWER on IntegriCloud