X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fm68knommu%2Fplatform%2F5272%2Fconfig.c;h=a9e0dcee10b6e771f23f211ed8b225bce5d7c927;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=e325c19fbdd84679c770c3a12bf4977bfd0b6a22;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/arch/m68knommu/platform/5272/config.c b/arch/m68knommu/platform/5272/config.c index e325c19fb..a9e0dcee1 100644 --- a/arch/m68knommu/platform/5272/config.c +++ b/arch/m68knommu/platform/5272/config.c @@ -23,7 +23,6 @@ #include #include #include -#include /***************************************************************************/ @@ -110,7 +109,7 @@ void config_BSP(char *commandp, int size) #if defined(CONFIG_BOOTPARAM) strncpy(commandp, CONFIG_BOOTPARAM_STRING, size); commandp[size-1] = 0; -#elif defined(CONFIG_NETtel) +#elif defined(CONFIG_NETtel) || defined(CONFIG_SCALES) /* Copy command line from FLASH to local buffer... */ memcpy(commandp, (char *) 0xf0004000, size); commandp[size-1] = 0; @@ -118,6 +117,10 @@ void config_BSP(char *commandp, int size) /* Copy command line from FLASH to local buffer... */ memcpy(commandp, (char *) 0xffe06000, size); commandp[size-1] = 0; +#elif defined(CONFIG_CANCam) + /* Copy command line from FLASH to local buffer... */ + memcpy(commandp, (char *) 0xf0010000, size); + commandp[size-1] = 0; #else memset(commandp, 0, size); #endif