diff options
| author | Grant Likely <grant.likely@secretlab.ca> | 2007-10-10 14:48:28 -0400 |
|---|---|---|
| committer | Paul Mackerras <paulus@samba.org> | 2007-10-11 06:40:43 -0400 |
| commit | 745e1027751acbc1f14f8bbef378b491242b9c83 (patch) | |
| tree | 578581f58f05a19bd02ef7b67ac7f2862fb90688 /arch/powerpc/platforms/chrp | |
| parent | d27c1cedc0e4faed2c0fce9d82d4c17695e43e90 (diff) | |
[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/chrp')
| -rw-r--r-- | arch/powerpc/platforms/chrp/setup.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/powerpc/platforms/chrp/setup.c b/arch/powerpc/platforms/chrp/setup.c index 96498ad7b9..59306261f5 100644 --- a/arch/powerpc/platforms/chrp/setup.c +++ b/arch/powerpc/platforms/chrp/setup.c | |||
| @@ -290,16 +290,6 @@ void __init chrp_setup_arch(void) | |||
| 290 | ppc_md.set_rtc_time = rtas_set_rtc_time; | 290 | ppc_md.set_rtc_time = rtas_set_rtc_time; |
| 291 | } | 291 | } |
| 292 | 292 | ||
| 293 | #ifdef CONFIG_BLK_DEV_INITRD | ||
| 294 | /* this is fine for chrp */ | ||
| 295 | initrd_below_start_ok = 1; | ||
| 296 | |||
| 297 | if (initrd_start) | ||
| 298 | ROOT_DEV = Root_RAM0; | ||
| 299 | else | ||
| 300 | #endif | ||
| 301 | ROOT_DEV = Root_SDA2; /* sda2 (sda1 is for the kernel) */ | ||
| 302 | |||
| 303 | /* On pegasos, enable the L2 cache if not already done by OF */ | 293 | /* On pegasos, enable the L2 cache if not already done by OF */ |
| 304 | pegasos_set_l2cr(); | 294 | pegasos_set_l2cr(); |
| 305 | 295 | ||
