mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
driver/boot_info: change boot seq format to decimal
Original boot sequence format is hexadecimal. but for bootlooder log and logfs format, it is decimal. So in order to show them as the same format. changing boot sequence number format in kernel to decimal. Change-Id: I422359adae3f3c31cd87c2a4d511e00d23fb6db3 Signed-off-by: weiweij <weiweij@motorola.com> Reviewed-on: https://gerrit.mot.com/1381523 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Chuanchun Zhu <zhucc2@motorola.com> Reviewed-by: Zhenxin Xi <xizx@motorola.com> Submit-Approved: Jira Key (cherry picked from commit eb8e58c71924a1df197d1facb4b2edd93cd1000b) Reviewed-on: https://gerrit.mot.com/1381613
This commit is contained in:
parent
8eff437c3f
commit
60b6181207
1 changed files with 3 additions and 3 deletions
|
|
@ -128,7 +128,7 @@ u32 bi_boot_seq(void)
|
|||
EXPORT_SYMBOL(bi_boot_seq);
|
||||
|
||||
#define EMIT_BOOT_SEQ() \
|
||||
EMIT_BOOTINFO("BOOT_SEQ", "0x%08x", boot_seq)
|
||||
EMIT_BOOTINFO("BOOT_SEQ", "%d", boot_seq)
|
||||
|
||||
/*
|
||||
* BL build signature a succession of lines of text each denoting
|
||||
|
|
@ -306,11 +306,11 @@ int mmi_boot_info_init(void)
|
|||
mmi_annotate_persist("MBM_VERSION: 0x%08x\n", bi_mbm_version());
|
||||
mmi_annotate_persist("SERIAL: 0x%llx\n", bi_serial());
|
||||
mmi_annotate_persist("HW_REV: 0x%04x\n", bi_hwrev());
|
||||
mmi_annotate_persist("BOOT_SEQ: 0x%08x\n", bi_boot_seq());
|
||||
mmi_annotate_persist("BOOT_SEQ: %d\n", bi_boot_seq());
|
||||
mmi_annotate("POWERUPREASON: 0x%08x\n", bi_powerup_reason());
|
||||
mmi_annotate("Last boot reason: %s\n\n", bi_bootreason());
|
||||
|
||||
pr_info("BOOT_SEQ: 0x%08x\n", bi_boot_seq());
|
||||
pr_info("BOOT_SEQ: %d\n", bi_boot_seq());
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue