summaryrefslogtreecommitdiff
path: root/src/mainboard/asus/p2b/Kconfig
diff options
context:
space:
mode:
authorKeith Hui <buurin@gmail.com>2020-02-02 18:03:22 -0500
committerPatrick Georgi <pgeorgi@google.com>2020-03-30 08:47:21 +0000
commitbf7d6f1a82926fdb61aec78f7bbd44c97af4437f (patch)
tree72844d36e3e466bd0419c83e3d0085b1b786e057 /src/mainboard/asus/p2b/Kconfig
parent0a9650c1d4631cd1a3c7f526d34a58bc6eab947e (diff)
downloadcoreboot-bf7d6f1a82926fdb61aec78f7bbd44c97af4437f.tar.xz
asus/p2b: Transform into variant-enabled structure
Get ready to squash all the ASUS i440BX boards together. Change-Id: Ibc9bfa4fc5b582bf658215bda298523e8ee7b36b Signed-off-by: Keith Hui <buurin@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38621 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/asus/p2b/Kconfig')
-rw-r--r--src/mainboard/asus/p2b/Kconfig8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mainboard/asus/p2b/Kconfig b/src/mainboard/asus/p2b/Kconfig
index f55b3a6d46..a9a9b82985 100644
--- a/src/mainboard/asus/p2b/Kconfig
+++ b/src/mainboard/asus/p2b/Kconfig
@@ -29,10 +29,14 @@ config MAINBOARD_DIR
config MAINBOARD_PART_NUMBER
string
- default "P2B"
+ default "P2B" if BOARD_ASUS_P2B
+
+config VARIANT_DIR
+ string
+ default "p2b" if BOARD_ASUS_P2B
config IRQ_SLOT_COUNT
int
default 6
-endif # BOARD_ASUS_P2B
+endif