Commit 769b9152 authored by Greg Ungerer's avatar Greg Ungerer Committed by Linus Torvalds

[PATCH] configuration boot arguments for ColdFire/5272 targets

Allow for hard setting of boot arguments from configuration for
the Motorola Coldfire 5272 CPU targets.
parent 11f2da91
...@@ -104,7 +104,10 @@ void config_BSP(char *commandp, int size) ...@@ -104,7 +104,10 @@ void config_BSP(char *commandp, int size)
mcf_disableall(); mcf_disableall();
#if defined(CONFIG_NETtel) #if defined(CONFIG_BOOTPARAM)
strncpy(commandp, CONFIG_BOOTPARAM_STRING, size);
commandp[size-1] = 0;
#elif defined(CONFIG_NETtel)
/* Copy command line from FLASH to local buffer... */ /* Copy command line from FLASH to local buffer... */
memcpy(commandp, (char *) 0xf0004000, size); memcpy(commandp, (char *) 0xf0004000, size);
commandp[size-1] = 0; commandp[size-1] = 0;
......
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