m68knommu: add uboot commandline argument passing support
authorLennart Sorensen <lsorense@csclub.uwaterloo.ca>
Fri, 18 Sep 2009 17:49:36 +0000 (13:49 -0400)
committerGreg Ungerer <gerg@goober.(none)>
Fri, 4 Dec 2009 01:45:30 +0000 (11:45 +1000)
commit588baeac38829304390b690142376d2c71ac5c9f
tree0ee2dfff38998ef64128dcf88d530c53a6782b82
parentb0d22d66fd485316653b8db4c16139eeae5a0266
m68knommu: add uboot commandline argument passing support

This patch adds m68knommu support for getting the kernel command line
arguments from uboot, including the passing of an initrd image from uboot.

We use this on a 5270/5271 based board, and have used it on the 5271evb
development board.  It is based on a patch found in the linux-2.6-denx
git tree, although that tree seems to have had lots of other changes
since which are not in the main Linus kernel.  I believe this will work
on all coldfires, although other m68knommu might be missing the _init_sp
stuff in head.S as far as I can tell.  I only have the coldfire to
test on.

Signed-off-by: Lennart Sorensen <lsorense@csclub.uwaterloo.ca>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
arch/m68knommu/Kconfig
arch/m68knommu/kernel/setup.c
arch/m68knommu/platform/coldfire/head.S