summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorzhang sanshan <b51434@freescale.com>2015-08-13 15:34:01 +0800
committerzhang sanshan <b51434@freescale.com>2015-08-13 16:35:18 +0800
commit045f4dbcc664ec5f34722ae36b5774124823e9a2 (patch)
tree000ec0911d86e1316afd20c5394f88bae8eef3fd /common
parent2b5128a2886d98a63efc806a8e6d1f74e5be36ab (diff)
downloadu-boot-imx-045f4dbcc664ec5f34722ae36b5774124823e9a2.zip
u-boot-imx-045f4dbcc664ec5f34722ae36b5774124823e9a2.tar.gz
u-boot-imx-045f4dbcc664ec5f34722ae36b5774124823e9a2.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)
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')
-rw-r--r--common/image-android.c3
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];