Skip to content
Commit 83903127 authored by Mulin Chao's avatar Mulin Chao Committed by Anas Nashif
Browse files

driver: espi: npcx: add the controller attached flash sharing API



Add the flash channel support by implementing the controller attached
flash sharing APIs, including flash_read, flash_write, and flash_erase.
For flash_read, the max data payload the module can support is 64 bytes
in one transaction.
For flash_write, the max data payload the module can support is 16
bytes in one transaction.

Signed-off-by: default avatarMulin Chao <mlchao@nuvoton.com>
Signed-off-by: default avatarJun Lin <CHLin56@nuvoton.com>
parent 538477f8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment