Skip to content

Commit 5aa3f22

Browse files
Josh-TsaiJohnAZoidberg
authored andcommitted
fwk: create the Kconfig to select the framework's product family
There are lots of CONFIG_BOARD in the code, we should rename it with the product family. Create the Kconfig to select the framework's product family to enable/disable the feature. BRANCH=fwk-main BUG=None TEST=check family config in build/.config is correct with each project Signed-off-by: Josh Tsai <Josh_Tsai@compal.com> (cherry picked from commit 200e0fe)
1 parent a0a0cbf commit 5aa3f22

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

zephyr/program/framework/Kconfig

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,21 @@ config BOARD_MARIGOLD
2020
Build Framework Marigold reference board. Marigold has Intel SoC
2121
with NPCX993FA0BX EC.
2222

23+
choice PLATFORM_EC_FRAMEWORK_FAMILY
24+
prompt "Select the family design in the makefile"
25+
26+
config PLATFORM_EC_FRAMEWORK_LAPTOP_13
27+
bool "Framework Laptop 13-inch family"
28+
help
29+
Framework Laptop 13-inch family
30+
31+
config PLATFORM_EC_FRAMEWORK_LAPTOP_16
32+
bool "Framework Laptop 16-inch family"
33+
help
34+
Framework Laptop 16-inch family support gpu and fully customizable input design.
35+
36+
endchoice
37+
2338
# Project Configuration
2439
config CHIPSET_INTEL
2540
bool "Framework Intel project"

zephyr/program/framework/lotus/project.conf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# found in the LICENSE file.
44

55
CONFIG_BOARD_LOTUS=y
6-
76
CONFIG_PLATFORM_EC_GPU=y
87

98
# Customized

0 commit comments

Comments
 (0)