sdm845: Implement bitbang UART for bootblock

Hardware / Coreboot - Julius Werner [] - 7 August 2018 20:55 EDT

This patch replaces the UART in the bootblock of SDM845 with a bitbang implementation. Since SDM845 hardware UART needs a firmware blob loaded into it before it becomes usable, it is not really suited for use in the bootblock (since by the time we can read blobs from SPI, the bootblock is essentially over anyway). This solution allows us to still have some console output during early SoC initialization.

Change-Id: I0c252ec83a7993edce5c4debc687f1fdd0d7b36d

90f025b276 sdm845: Implement bitbang UART for bootblock
src/soc/qualcomm/sdm845/ | 1 +
src/soc/qualcomm/sdm845/uart_bitbang.c | 45 ++++++++++++++++++++++++++++++++++
2 files changed, 46 insertions(+)


  • Share