diff options
author | Ji Luo <ji.luo@nxp.com> | 2018-09-26 21:00:24 +0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2018-09-29 00:35:25 -0700 |
commit | ee1f41973062e7e5f57da881277de18d5e40bd1c (patch) | |
tree | de7a653b89bd1dae15c7b4a1012aa43b74d01873 | |
parent | 74389afb73a041a631878ccbde37744198b654d6 (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>
(cherry picked from commit d71dcb917590227abd55e9486ea3b4d4de81f115)
-rw-r--r-- | common/image-android.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/image-android.c b/common/image-android.c index 35a91fbf2d..27e8659a39 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) { |