zephyr/drivers/espi
Jose Alberto Meza df43f17883 drivers: espi: xec: Avoid flash interrupt by ROM bootloader activity
When MEC15xx boots in MAFS, ROM bootloader performs activity over
eSPI flash channel prior to FW is loaded.
Need to clear STS_DONE during early eSPI driver initialization,
before enabling interrupts to avoid unexpected ISRs in FW.

Otherwise this would cause flash_lock semaphore to be incremented
due to ROM activity and result in FW's first espi flash request
to return immediately even before eSPI bus transaction completes.

Signed-off-by: Jose Alberto Meza <jose.a.meza.arellano@intel.com>
2020-11-09 16:01:16 -08:00
..
CMakeLists.txt
espi_handlers.c
espi_mchp_xec.c
espi_npcx.c
espi_utils.h
host_subs_npcx.c
Kconfig
Kconfig.npcx
Kconfig.xec