UPSTREAM: soc: npcx: Move ecst to npcx common folder
NPCX series ROM code changes the chip basic setting by firmware binary
header for loading the firmware from flash to RAM. Add the following to
improve the ec firmware header setting:
- Move the ECST which generates the firmware binary header to NPCX
common folder. All the following NPCX series chips can use this.
- Add ecst setting option in Kconfig.
Signed-off-by: Yuval Peress <peress@chromium.org>
Signed-off-by: Wealian Liao <WHLIAO@nuvoton.com>
(cherry picked from commit a336f7e521fa5cfaea34fcbcc9feaa1139e75dde
https://github.com/zephyrproject-rtos/zephyr.git master)
BUG=b:184448653
TEST=zmake testall
Cq-Depend: chromium:2867128
Signed-off-by: Wealian Liao <whliao@nuvoton.corp-partner.google.com>
Change-Id: Iad5a54341c32d90294a9b95c87d3088979ae6522
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/2872415
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Reviewed-by: Yuval Peress <peress@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
7 files changed