aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68knommu/kernel/setup.c
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@snapgear.com>2007-07-25 08:07:20 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-25 14:05:01 -0400
commitbc72450aebe73587f80bbae8fc0b62c3d81b85fe (patch)
tree90bd852d171be66736a9ae9e2acca07586ec3d4d /arch/m68knommu/kernel/setup.c
parent020f9e16c306f929382ad81e5a0ecf4f41887616 (diff)
m68knommu: make BOOTPARAM setup common
Currently most of the m68knommu cpu/board setup files are handling the setup of fixed boot parameters (via CONFIG_BOOTPARAM) themselves. Move all this into the common setup code. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/m68knommu/kernel/setup.c')
-rw-r--r--arch/m68knommu/kernel/setup.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/m68knommu/kernel/setup.c b/arch/m68knommu/kernel/setup.c
index 2203f694f26b..a5ac0d40fbec 100644
--- a/arch/m68knommu/kernel/setup.c
+++ b/arch/m68knommu/kernel/setup.c
@@ -132,6 +132,11 @@ void setup_arch(char **cmdline_p)
132 132
133 config_BSP(&command_line[0], sizeof(command_line)); 133 config_BSP(&command_line[0], sizeof(command_line));
134 134
135#if defined(CONFIG_BOOTPARAM)
136 strncpy(&command_line[0], CONFIG_BOOTPARAM_STRING, sizeof(command_line));
137 command_line[sizeof(command_line) - 1] = 0;
138#endif
139
135 printk(KERN_INFO "\x0F\r\n\nuClinux/" CPU "\n"); 140 printk(KERN_INFO "\x0F\r\n\nuClinux/" CPU "\n");
136 141
137#ifdef CONFIG_UCDIMM 142#ifdef CONFIG_UCDIMM