diff options
author | Greg Ungerer <gerg@snapgear.com> | 2007-07-25 08:07:20 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-25 14:05:01 -0400 |
commit | bc72450aebe73587f80bbae8fc0b62c3d81b85fe (patch) | |
tree | 90bd852d171be66736a9ae9e2acca07586ec3d4d /arch/m68knommu/platform/5249/config.c | |
parent | 020f9e16c306f929382ad81e5a0ecf4f41887616 (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/5249/config.c')
-rw-r--r-- | arch/m68knommu/platform/5249/config.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/m68knommu/platform/5249/config.c b/arch/m68knommu/platform/5249/config.c index d6706079d64a..4cdeb719512d 100644 --- a/arch/m68knommu/platform/5249/config.c +++ b/arch/m68knommu/platform/5249/config.c | |||
@@ -96,14 +96,6 @@ int mcf_timerirqpending(int timer) | |||
96 | void config_BSP(char *commandp, int size) | 96 | void config_BSP(char *commandp, int size) |
97 | { | 97 | { |
98 | mcf_setimr(MCFSIM_IMR_MASKALL); | 98 | mcf_setimr(MCFSIM_IMR_MASKALL); |
99 | |||
100 | #if defined(CONFIG_BOOTPARAM) | ||
101 | strncpy(commandp, CONFIG_BOOTPARAM_STRING, size); | ||
102 | commandp[size-1] = 0; | ||
103 | #else | ||
104 | memset(commandp, 0, size); | ||
105 | #endif | ||
106 | |||
107 | mach_sched_init = coldfire_timer_init; | 99 | mach_sched_init = coldfire_timer_init; |
108 | mach_tick = coldfire_tick; | 100 | mach_tick = coldfire_tick; |
109 | mach_gettimeoffset = coldfire_timer_offset; | 101 | mach_gettimeoffset = coldfire_timer_offset; |