mbox series

[v1,0/2] Fix serial number usage in MHI bus

Message ID 1626395276-24171-1-git-send-email-bbhatt@codeaurora.org
Headers show
Series Fix serial number usage in MHI bus | expand

Message

Bhaumik Bhatt July 16, 2021, 12:27 a.m. UTC
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 upper
case hexadecimals.

Note: This patch series needs to be picked up after patch:
878789cad00d ("bus: mhi: core: Set BHI/BHIe offsets on power up preparation")

Bhaumik Bhatt (2):
  bus: mhi: core: Read serial number during pre-powerup 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(-)