diff options
author | zhang sanshan <b51434@freescale.com> | 2015-08-13 15:34:01 +0800 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2016-03-09 14:42:46 +0100 |
commit | ee94d1867b6a2bd4236b631814fafc8c643f9830 (patch) | |
tree | 1a83f5e3bc16f8b91bed1c17646505eb99e09a03 | |
parent | 046105ef09d0be46b43b243f52e769571c2a841c (diff) |
MA-6987 the value of vmalloc on Kernel command line still display 400M after we change it to other values(sabresd dq and auto 6qp 0812 daily build)
Correct the bootargs which is printed.
It should be newbootargs rather than bootimage's bootargs.
Signed-off-by: zhang sanshan <b51434@freescale.com>
-rw-r--r-- | common/image-android.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/image-android.c b/common/image-android.c index 5cd3a8c6ed9..d56380db660 100644 --- a/common/image-android.c +++ b/common/image-android.c @@ -46,7 +46,6 @@ int android_image_get_kernel(const struct andr_img_hdr *hdr, int verify, int len = 0; if (*hdr->cmdline) { - printf("Kernel command line: %s\n", hdr->cmdline); len += strlen(hdr->cmdline); } @@ -66,6 +65,8 @@ int android_image_get_kernel(const struct andr_img_hdr *hdr, int verify, } else if (*hdr->cmdline) { strcat(newbootargs, hdr->cmdline); } + + printf("Kernel command line: %s\n", newbootargs); #ifdef CONFIG_SERIAL_TAG struct tag_serialnr serialnr; char commandline[ANDR_BOOT_ARGS_SIZE]; |