Skip to content

Commit

Permalink
Lite5200 shouldn't mess with ROOT_DEV
Browse files Browse the repository at this point in the history
There is no good reason for board platform code to mess with the ROOT_DEV.
Remove it from all in-tree platforms except powermac

This is a follow on to commit 745e102.
The original patch had this change to lite5200.c, but it got dropped in
the psycho madness that is the 2.6.24 merge window.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Grant Likely authored and Linus Torvalds committed Oct 14, 2007
1 parent 9ec0fd4 commit 24cf273
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions arch/powerpc/platforms/52xx/lite5200.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,18 +158,6 @@ static void __init lite5200_setup_arch(void)
of_node_put(np);
}
#endif

#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

}

/*
Expand Down

0 comments on commit 24cf273

Please sign in to comment.