diff options
author | Greg Ungerer <gerg@snapgear.com> | 2007-07-25 14:07:20 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-25 20:05:01 +0200 |
commit | bc72450aebe73587f80bbae8fc0b62c3d81b85fe (patch) | |
tree | 90bd852d171be66736a9ae9e2acca07586ec3d4d /arch/m68knommu/platform/523x | |
parent | m68knommu: fix reset register address casting (diff) | |
download | linux-bc72450aebe73587f80bbae8fc0b62c3d81b85fe.tar.xz linux-bc72450aebe73587f80bbae8fc0b62c3d81b85fe.zip |
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/523x')
-rw-r--r-- | arch/m68knommu/platform/523x/config.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/m68knommu/platform/523x/config.c b/arch/m68knommu/platform/523x/config.c index 9b054e6caee2..c0157e110035 100644 --- a/arch/m68knommu/platform/523x/config.c +++ b/arch/m68knommu/platform/523x/config.c @@ -63,14 +63,6 @@ void mcf_autovector(unsigned int vec) void config_BSP(char *commandp, int size) { mcf_disableall(); - -#ifdef CONFIG_BOOTPARAM - strncpy(commandp, CONFIG_BOOTPARAM_STRING, size); - commandp[size-1] = 0; -#else - memset(commandp, 0, size); -#endif - mach_sched_init = coldfire_pit_init; mach_tick = coldfire_pit_tick; mach_gettimeoffset = coldfire_pit_offset; |