diff options
Diffstat (limited to 'arch/m68knommu/platform/5206e/config.c')
-rw-r--r-- | arch/m68knommu/platform/5206e/config.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/m68knommu/platform/5206e/config.c b/arch/m68knommu/platform/5206e/config.c index 0f67320b4031..7fa5e8254c31 100644 --- a/arch/m68knommu/platform/5206e/config.c +++ b/arch/m68knommu/platform/5206e/config.c | |||
@@ -98,15 +98,10 @@ void config_BSP(char *commandp, int size) | |||
98 | { | 98 | { |
99 | mcf_setimr(MCFSIM_IMR_MASKALL); | 99 | mcf_setimr(MCFSIM_IMR_MASKALL); |
100 | 100 | ||
101 | #if defined(CONFIG_BOOTPARAM) | 101 | #if defined(CONFIG_NETtel) |
102 | strncpy(commandp, CONFIG_BOOTPARAM_STRING, size); | ||
103 | commandp[size-1] = 0; | ||
104 | #elif defined(CONFIG_NETtel) | ||
105 | /* Copy command line from FLASH to local buffer... */ | 102 | /* Copy command line from FLASH to local buffer... */ |
106 | memcpy(commandp, (char *) 0xf0004000, size); | 103 | memcpy(commandp, (char *) 0xf0004000, size); |
107 | commandp[size-1] = 0; | 104 | commandp[size-1] = 0; |
108 | #else | ||
109 | memset(commandp, 0, size); | ||
110 | #endif /* CONFIG_NETtel */ | 105 | #endif /* CONFIG_NETtel */ |
111 | 106 | ||
112 | mach_sched_init = coldfire_timer_init; | 107 | mach_sched_init = coldfire_timer_init; |