Commit 1281c3f0 authored by Greg Ungerer's avatar Greg Ungerer Committed by Linus Torvalds

[PATCH] configuration boot arguments for ColdFire/5249 targets

Allow for hard setting of boot arguments from configuration for
the Motorola Coldfire 5249 CPU targets.
parent ae86fb4f
......@@ -95,7 +95,13 @@ int mcf_timerirqpending(int timer)
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
mach_sched_init = coldfire_timer_init;
mach_tick = coldfire_tick;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment