diff options
author | zhang sanshan <b51434@freescale.com> | 2015-08-13 15:34:01 +0800 |
---|---|---|
committer | zhang sanshan <b51434@freescale.com> | 2015-08-13 15:42:21 +0800 |
commit | f80d628744bd1e669e365c52068067563b577e16 (patch) | |
tree | cefef37757204ed64d1e43fd8a0773c5b16a6720 /common/image-android.c | |
parent | e1fd92ee35a20398e8842fe945c6350a44f8a67c (diff) | |
download | u-boot-imx-f80d628744bd1e669e365c52068067563b577e16.zip u-boot-imx-f80d628744bd1e669e365c52068067563b577e16.tar.gz u-boot-imx-f80d628744bd1e669e365c52068067563b577e16.tar.bz2 |
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)rel_imx_3.14.38_6qp_gal5.1.1_2.0.0_6qp-gaimx_v2015.04_3.14.38_6qp_ga
Correct the bootargs which is printed.
It should be newbootargs rather than bootimage's bootargs.
Signed-off-by: zhang sanshan <b51434@freescale.com>
Diffstat (limited to 'common/image-android.c')
-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 5cd3a8c..d56380d 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]; |