summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJi Luo <ji.luo@nxp.com>2018-09-26 21:00:24 +0800
committerJi Luo <ji.luo@nxp.com>2018-09-27 14:23:21 +0800
commitd71dcb917590227abd55e9486ea3b4d4de81f115 (patch)
treede7a653b89bd1dae15c7b4a1012aa43b74d01873
parent04de18c2b17dabdbf110cb655d35c7a398c0c179 (diff)
MA-12915 [AUTO] Only print kernel command line in debug mode
Print the kernel command line in normal mode will consume about 122ms on imx8qm, move the log print to debug mode to save some boot time. Change-Id: I5996555cf3f210be8ea25111d2bc84e0d06caa5c Signed-off-by: Ji Luo <ji.luo@nxp.com>
-rw-r--r--common/image-android.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/image-android.c b/common/image-android.c
index 35a91fbf2d1..27e8659a393 100644
--- a/common/image-android.c
+++ b/common/image-android.c
@@ -213,7 +213,7 @@ int android_image_get_kernel(const struct andr_img_hdr *hdr, int verify,
}
}
- printf("Kernel command line: %s\n", commandline);
+ debug("Kernel command line: %s\n", commandline);
env_set("bootargs", commandline);
if (os_data) {