diff options
author | Greg Ungerer <gerg@snapgear.com> | 2007-07-25 16:07:20 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-25 22:05:01 +0400 |
commit | bc72450aebe73587f80bbae8fc0b62c3d81b85fe (patch) | |
tree | 90bd852d171be66736a9ae9e2acca07586ec3d4d /arch/m68knommu/platform/5407 | |
parent | 020f9e16c306f929382ad81e5a0ecf4f41887616 (diff) | |
download | linux-bc72450aebe73587f80bbae8fc0b62c3d81b85fe.tar.xz |
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/5407')
-rw-r--r-- | arch/m68knommu/platform/5407/config.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/m68knommu/platform/5407/config.c b/arch/m68knommu/platform/5407/config.c index 036f62876241..fde417fdd650 100644 --- a/arch/m68knommu/platform/5407/config.c +++ b/arch/m68knommu/platform/5407/config.c @@ -102,13 +102,6 @@ void config_BSP(char *commandp, int size) { mcf_setimr(MCFSIM_IMR_MASKALL); -#if defined(CONFIG_BOOTPARAM) - strncpy(commandp, CONFIG_BOOTPARAM_STRING, size); - commandp[size-1] = 0; -#else - memset(commandp, 0, size); -#endif - #if defined(CONFIG_CLEOPATRA) /* Different timer setup - to prevent device clash */ mcf_timervector = 30; |