summaryrefslogtreecommitdiffstats
path: root/arch/m68knommu/Kconfig
diff options
context:
space:
mode:
authorLennart Sorensen <lsorense@csclub.uwaterloo.ca>2009-09-18 19:49:36 +0200
committerGreg Ungerer <gerg@goober.(none)>2009-12-04 02:45:30 +0100
commit588baeac38829304390b690142376d2c71ac5c9f (patch)
tree0ee2dfff38998ef64128dcf88d530c53a6782b82 /arch/m68knommu/Kconfig
parentm68knommu: Coldfire GPIO corrections (diff)
downloadlinux-588baeac38829304390b690142376d2c71ac5c9f.tar.xz
linux-588baeac38829304390b690142376d2c71ac5c9f.zip
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>
Diffstat (limited to 'arch/m68knommu/Kconfig')
-rw-r--r--arch/m68knommu/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/m68knommu/Kconfig b/arch/m68knommu/Kconfig
index e2201b90aa22..064f5913db1a 100644
--- a/arch/m68knommu/Kconfig
+++ b/arch/m68knommu/Kconfig
@@ -533,6 +533,13 @@ config AVNET
default y
depends on (AVNET5282)
+config UBOOT
+ bool "Support for U-Boot command line parameters"
+ help
+ If you say Y here kernel will try to collect command
+ line parameters from the initial u-boot stack.
+ default n
+
config 4KSTACKS
bool "Use 4Kb for kernel stacks instead of 8Kb"
default y