2 comments:
File src/soc/mediatek/mt8192/pmif_spi.c:
Print out as a debug message, how long it took?
According to the log, it spends 1 us.
log:
[reset_spislv] 1 get_us_since_boot 0x1 us
[reset_spislv] 2 get_us_since_boot 0x2 us
code:
printk(BIOS_ERR, "[%s] 1 get_us_since_boot %#x us\n", __func__, get_us_since_boot());
/* Wait for PMIC SPI Master to be idle */
if (check_idle(&mtk_pmicspi_mst->other_busy_sta_0, SPIMST_STA)) {
printk(BIOS_ERR, "[%s] spi master busy, timeout\n", __func__);
return E_TIMEOUT;
}
printk(BIOS_ERR, "[%s] 2 get_us_since_boot %#x us\n", __func__, get_us_since_boot());
1. So they are all random numbers? […]
After confirming with DE, they are random numbers in order to verify the read-back data.
To view, visit change 45398. To unsubscribe, or for help writing mail filters, visit settings.