diff options
author | CHLin <CHLin56@nuvoton.com> | 2020-09-08 17:08:52 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-09-23 13:51:06 +0000 |
commit | e4df84d057b245017fd1f9f2212e8d16e6345b58 (patch) | |
tree | cf476d12e76b793585f4018cc4701b0fb9b51cb1 /chip/npcx/config_chip.h | |
parent | 07a898d958ec39889bc433c215f6498f39b1c359 (diff) | |
download | chrome-ec-e4df84d057b245017fd1f9f2212e8d16e6345b58.tar.gz |
npcx: add features, memory configuration and ID for npcx9
To support npcx9, this CL defines the configurations of RAM/flash and
features for npcx9m3f and npcx9m6f.
BRANCH=none
BUG=b:165777478
TEST=pass "make buildall"
TEST=with related CLs, build and flash image on the npcx9 EVB. Make sure
EC can boot up and chip/revision ID are correct.
Signed-off-by: CHLin <CHLin56@nuvoton.com>
Change-Id: Ie3b343368d13d7f20e3b8970048704c1d94793d2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2402841
Tested-by: CH Lin <chlin56@nuvoton.com>
Reviewed-by: caveh jalali <caveh@chromium.org>
Commit-Queue: CH Lin <chlin56@nuvoton.com>
Diffstat (limited to 'chip/npcx/config_chip.h')
-rw-r--r-- | chip/npcx/config_chip.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chip/npcx/config_chip.h b/chip/npcx/config_chip.h index f69c15e685..cee339206c 100644 --- a/chip/npcx/config_chip.h +++ b/chip/npcx/config_chip.h @@ -15,6 +15,7 @@ */ #define NPCX_FAMILY_NPCX5 5000 #define NPCX_FAMILY_NPCX7 7000 +#define NPCX_FAMILY_NPCX9 9000 /* Features depend on chip family */ #if defined(CHIP_FAMILY_NPCX5) @@ -23,6 +24,9 @@ #elif defined(CHIP_FAMILY_NPCX7) #include "config_chip-npcx7.h" #define NPCX_FAMILY_VERSION NPCX_FAMILY_NPCX7 +#elif defined(CHIP_FAMILY_NPCX9) +#include "config_chip-npcx9.h" +#define NPCX_FAMILY_VERSION NPCX_FAMILY_NPCX9 #else #error "Unsupported chip family" #endif |