In some cases, device may boot straight to the mission mode. The serial number and OEM PK hash values would remain unpopulated in those cases. Hence, move the reads for those to the power up preparation phase such that controllers always have them populated. Also, in order to maintain consistency with the way OEM PK hash is displayed and improve the current way, depict serial number in hexadecimals. Tested on: X86_64 architecture with SDX65 on Ubuntu 18.04 distribution. v2: -Fixed nitpick for 0x%x -Minor update to commit message for "Depict serial number" patch -Added reviewed-by tags Bhaumik Bhatt (2): bus: mhi: core: Move serial number read to power up phase bus: mhi: core: Depict serial number in hexadecimals drivers/bus/mhi/core/boot.c | 17 +---------------- drivers/bus/mhi/core/init.c | 19 +++++++++++++++++-- 2 files changed, 18 insertions(+), 18 deletions(-) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project