diff options
author | CHLin <CHLin56@nuvoton.com> | 2020-09-28 11:31:02 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-10-05 10:07:45 +0000 |
commit | 60ea87ad25e3a64a3f53de566924492148fb0ce2 (patch) | |
tree | 7283d32d79391870c20e3c00f6111978a9ecb6fd /include/config.h | |
parent | e6ca724f8b5e15a18bccf14c5905b3f1d8baf7c2 (diff) | |
download | chrome-ec-60ea87ad25e3a64a3f53de566924492148fb0ce2.tar.gz |
npcx9: workaround the download_from_flash API of the booter
The download_from_flash API in the booter is called to copy the RO/RW
image from flash to code RAM when doing the sysjump. There is a bug in
the npcx9 A1 chip. We have to workaround it with this CL and remove
the bypass when A2 chip is available.
BRANCH=none
BUG=b:165777478
TEST=pass "make buildall"
TEST="sysjump RO/RW" succeeds in the npcx9 EVB.
Signed-off-by: CHLin <CHLin56@nuvoton.com>
Change-Id: Id2babe9b9dbd36ca8b0450051d22632eb5bd4825
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2435165
Tested-by: CH Lin <chlin56@nuvoton.com>
Tested-by: caveh jalali <caveh@chromium.org>
Reviewed-by: caveh jalali <caveh@chromium.org>
Commit-Queue: CH Lin <chlin56@nuvoton.com>
Diffstat (limited to 'include/config.h')
-rw-r--r-- | include/config.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index 2a5f86377d..e32f7282c9 100644 --- a/include/config.h +++ b/include/config.h @@ -1089,6 +1089,12 @@ /* Wireless chargers */ #undef CONFIG_WIRELESS_CHARGER_P9221_R7 +/* + * Workaround npcx9 A1 chip's bug for download_from_flash API in th booter. + * This can be removed when A2 chip is available. + */ +#undef CONFIG_WORKAROUND_FLASH_DOWNLOAD_API + /*****************************************************************************/ /* |