aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68knommu/platform/5206/config.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/platform/5206/config.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/platform/5206/config.c')
-rw-r--r--arch/m68knommu/platform/5206/config.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/m68knommu/platform/5206/config.c b/arch/m68knommu/platform/5206/config.c
index 3343830aad10..d265ed4e5afc 100644
--- a/arch/m68knommu/platform/5206/config.c
+++ b/arch/m68knommu/platform/5206/config.c
@@ -98,14 +98,6 @@ int mcf_timerirqpending(int timer)
98void config_BSP(char *commandp, int size) 98void config_BSP(char *commandp, int size)
99{ 99{
100 mcf_setimr(MCFSIM_IMR_MASKALL); 100 mcf_setimr(MCFSIM_IMR_MASKALL);
101
102#if defined(CONFIG_BOOTPARAM)
103 strncpy(commandp, CONFIG_BOOTPARAM_STRING, size);
104 commandp[size-1] = 0;
105#else
106 memset(commandp, 0, size);
107#endif
108
109 mach_sched_init = coldfire_timer_init; 101 mach_sched_init = coldfire_timer_init;
110 mach_tick = coldfire_tick; 102 mach_tick = coldfire_tick;
111 mach_gettimeoffset = coldfire_timer_offset; 103 mach_gettimeoffset = coldfire_timer_offset;