soc: npcx: add npcx7m6fc & npcx7m7fc

This adds npcx7m6fc & npcx7m7fc Kconfig. Also fix npcx7m6fb typo.

Signed-off-by: Wealian Liao <WHLIAO@nuvoton.com>
This commit is contained in:
Wealian Liao 2021-02-23 18:36:44 +08:00 committed by Anas Nashif
commit b182ec78a1
4 changed files with 30 additions and 2 deletions

View file

@ -6,6 +6,6 @@
if SOC_NPCX7M6FB
config SOC
default "npcx76mfb"
default "npcx7m6fb"
endif # SOC_NPCX7M6FB

View file

@ -0,0 +1,11 @@
# Nuvoton Cortex-M4 Embedded Controller
# Copyright (c) 2021 Nuvoton Technology Corporation.
# SPDX-License-Identifier: Apache-2.0
if SOC_NPCX7M6FC
config SOC
default "npcx7m6fc"
endif # SOC_NPCX7M6FC

View file

@ -0,0 +1,11 @@
# Nuvoton Cortex-M4 Embedded Controller
# Copyright (c) 2021 Nuvoton Technology Corporation.
# SPDX-License-Identifier: Apache-2.0
if SOC_NPCX7M7FC
config SOC
default "npcx7m7fc"
endif # SOC_NPCX7M7FC

View file

@ -4,12 +4,18 @@
# SPDX-License-Identifier: Apache-2.0
choice
prompt "NPCX7M6FB Selection"
prompt "NPCX7 Selection"
depends on SOC_SERIES_NPCX7
config SOC_NPCX7M6FB
bool "NPCX7M6FB"
config SOC_NPCX7M6FC
bool "NPCX7M6FC"
config SOC_NPCX7M7FC
bool "NPCX7M7FC"
endchoice
config SOC_POWER_MANAGEMENT