From d3ad9449ec77ff5a85dcaa58608eae49ada848b2 Mon Sep 17 00:00:00 2001 From: Arif Ali Date: Thu, 5 May 2011 23:48:26 +0100 Subject: [PATCH] added clk= into cmdline --- lk/app/aboot/aboot.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lk/app/aboot/aboot.c b/lk/app/aboot/aboot.c index 16f5d12..cb99e12 100644 --- a/lk/app/aboot/aboot.c +++ b/lk/app/aboot/aboot.c @@ -49,7 +49,7 @@ #define EXPAND(NAME) #NAME #define TARGET(NAME) EXPAND(NAME) -#define DEFAULT_CMDLINE ""; +#define DEFAULT_CMDLINE "clk=1.4"; #ifdef MEMBASE #define EMMC_BOOT_IMG_HEADER_ADDR (0xFF000+(MEMBASE)) @@ -289,11 +289,12 @@ unified_boot: if(hdr->cmdline[0]) { cmdline = (char*) hdr->cmdline; + strcat(cmdline," clk=1.4"); } else { cmdline = DEFAULT_CMDLINE; } dprintf(INFO, "cmdline = '%s'\n", cmdline); - + dprintf(INFO, "\nBooting Linux\n"); boot_linux((void *)hdr->kernel_addr, (void *)TAGS_ADDR, (const char *)cmdline, board_machtype(), @@ -381,6 +382,7 @@ continue_boot: if(hdr->cmdline[0]) { cmdline = (char*) hdr->cmdline; + strcat(cmdline," clk=1.4"); } else { cmdline = DEFAULT_CMDLINE; }