summaryrefslogtreecommitdiff
path: root/src/mainboard/lippert
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/lippert')
-rw-r--r--src/mainboard/lippert/frontrunner-af/Kconfig3
-rw-r--r--src/mainboard/lippert/frontrunner-af/Makefile.inc27
-rw-r--r--src/mainboard/lippert/frontrunner-af/variants/frontrunner-af/BiosCallOuts.c (renamed from src/mainboard/lippert/frontrunner-af/BiosCallOuts-fr.c)0
-rw-r--r--src/mainboard/lippert/frontrunner-af/variants/frontrunner-af/OemCustomize.c (renamed from src/mainboard/lippert/frontrunner-af/OemCustomize-fr.c)0
-rw-r--r--src/mainboard/lippert/frontrunner-af/variants/frontrunner-af/bootblock.c (renamed from src/mainboard/lippert/frontrunner-af/bootblock-fr.c)0
-rw-r--r--src/mainboard/lippert/frontrunner-af/variants/frontrunner-af/devicetree.cb (renamed from src/mainboard/lippert/frontrunner-af/devicetree-fr.cb)0
-rw-r--r--src/mainboard/lippert/frontrunner-af/variants/frontrunner-af/mainboard.c (renamed from src/mainboard/lippert/frontrunner-af/mainboard-fr.c)0
-rw-r--r--src/mainboard/lippert/frontrunner-af/variants/toucan-af/BiosCallOuts.c (renamed from src/mainboard/lippert/frontrunner-af/BiosCallOuts-tc.c)0
-rw-r--r--src/mainboard/lippert/frontrunner-af/variants/toucan-af/OemCustomize.c (renamed from src/mainboard/lippert/frontrunner-af/OemCustomize-tc.c)0
-rw-r--r--src/mainboard/lippert/frontrunner-af/variants/toucan-af/bootblock.c (renamed from src/mainboard/lippert/frontrunner-af/bootblock-tc.c)0
-rw-r--r--src/mainboard/lippert/frontrunner-af/variants/toucan-af/devicetree.cb (renamed from src/mainboard/lippert/frontrunner-af/devicetree-tc.cb)0
-rw-r--r--src/mainboard/lippert/frontrunner-af/variants/toucan-af/mainboard.c (renamed from src/mainboard/lippert/frontrunner-af/mainboard-tc.c)0
12 files changed, 7 insertions, 23 deletions
diff --git a/src/mainboard/lippert/frontrunner-af/Kconfig b/src/mainboard/lippert/frontrunner-af/Kconfig
index 5b211406be..55157eda52 100644
--- a/src/mainboard/lippert/frontrunner-af/Kconfig
+++ b/src/mainboard/lippert/frontrunner-af/Kconfig
@@ -32,8 +32,7 @@ config VARIANT_DIR
config DEVICETREE
string
- default "devicetree-fr.cb" if BOARD_LIPPERT_FRONTRUNNER_AF
- default "devicetree-tc.cb" if BOARD_LIPPERT_TOUCAN_AF
+ default "variants/\$(CONFIG_VARIANT_DIR)/devicetree.cb"
config MAINBOARD_PART_NUMBER
string
diff --git a/src/mainboard/lippert/frontrunner-af/Makefile.inc b/src/mainboard/lippert/frontrunner-af/Makefile.inc
index c09a8ed782..b05b4e8bcb 100644
--- a/src/mainboard/lippert/frontrunner-af/Makefile.inc
+++ b/src/mainboard/lippert/frontrunner-af/Makefile.inc
@@ -7,31 +7,16 @@ pci$(stripped_ahcibios_id).rom-file := $(call strip_quotes,$(CONFIG_AHCI_BIOS_FI
pci$(stripped_ahcibios_id).rom-type := optionrom
endif
-ifeq ($(CONFIG_BOARD_LIPPERT_FRONTRUNNER_AF),y)
-bootblock-y += bootblock-fr.c
-else ifeq ($(CONFIG_BOARD_LIPPERT_TOUCAN_AF),y)
-bootblock-y += bootblock-tc.c
-endif
+bootblock-y += variants/$(VARIANT_DIR)/bootblock.c
romstage-y += buildOpts.c
-ifeq ($(CONFIG_BOARD_LIPPERT_FRONTRUNNER_AF),y)
-romstage-y += BiosCallOuts-fr.c
-romstage-y += OemCustomize-fr.c
-else ifeq ($(CONFIG_BOARD_LIPPERT_TOUCAN_AF),y)
-romstage-y += BiosCallOuts-tc.c
-romstage-y += OemCustomize-tc.c
-endif
+romstage-y += variants/$(VARIANT_DIR)/BiosCallOuts.c
+romstage-y += variants/$(VARIANT_DIR)/OemCustomize.c
ramstage-y += buildOpts.c
-ifeq ($(CONFIG_BOARD_LIPPERT_FRONTRUNNER_AF),y)
-ramstage-y += BiosCallOuts-fr.c
-ramstage-y += OemCustomize-fr.c
-ramstage-y += mainboard-fr.c
-else ifeq ($(CONFIG_BOARD_LIPPERT_TOUCAN_AF),y)
-ramstage-y += BiosCallOuts-tc.c
-ramstage-y += OemCustomize-tc.c
-ramstage-y += mainboard-tc.c
-endif
+ramstage-y += variants/$(VARIANT_DIR)/BiosCallOuts.c
+ramstage-y += variants/$(VARIANT_DIR)/OemCustomize.c
+ramstage-y += variants/$(VARIANT_DIR)/mainboard.c
# Minimal SEMA watchdog support
romstage-y += sema.c
diff --git a/src/mainboard/lippert/frontrunner-af/BiosCallOuts-fr.c b/src/mainboard/lippert/frontrunner-af/variants/frontrunner-af/BiosCallOuts.c
index b2a96a236f..b2a96a236f 100644
--- a/src/mainboard/lippert/frontrunner-af/BiosCallOuts-fr.c
+++ b/src/mainboard/lippert/frontrunner-af/variants/frontrunner-af/BiosCallOuts.c
diff --git a/src/mainboard/lippert/frontrunner-af/OemCustomize-fr.c b/src/mainboard/lippert/frontrunner-af/variants/frontrunner-af/OemCustomize.c
index c1b571e713..c1b571e713 100644
--- a/src/mainboard/lippert/frontrunner-af/OemCustomize-fr.c
+++ b/src/mainboard/lippert/frontrunner-af/variants/frontrunner-af/OemCustomize.c
diff --git a/src/mainboard/lippert/frontrunner-af/bootblock-fr.c b/src/mainboard/lippert/frontrunner-af/variants/frontrunner-af/bootblock.c
index 070da4e7b5..070da4e7b5 100644
--- a/src/mainboard/lippert/frontrunner-af/bootblock-fr.c
+++ b/src/mainboard/lippert/frontrunner-af/variants/frontrunner-af/bootblock.c
diff --git a/src/mainboard/lippert/frontrunner-af/devicetree-fr.cb b/src/mainboard/lippert/frontrunner-af/variants/frontrunner-af/devicetree.cb
index a1d15c398f..a1d15c398f 100644
--- a/src/mainboard/lippert/frontrunner-af/devicetree-fr.cb
+++ b/src/mainboard/lippert/frontrunner-af/variants/frontrunner-af/devicetree.cb
diff --git a/src/mainboard/lippert/frontrunner-af/mainboard-fr.c b/src/mainboard/lippert/frontrunner-af/variants/frontrunner-af/mainboard.c
index 71d0f415df..71d0f415df 100644
--- a/src/mainboard/lippert/frontrunner-af/mainboard-fr.c
+++ b/src/mainboard/lippert/frontrunner-af/variants/frontrunner-af/mainboard.c
diff --git a/src/mainboard/lippert/frontrunner-af/BiosCallOuts-tc.c b/src/mainboard/lippert/frontrunner-af/variants/toucan-af/BiosCallOuts.c
index 4861809ba6..4861809ba6 100644
--- a/src/mainboard/lippert/frontrunner-af/BiosCallOuts-tc.c
+++ b/src/mainboard/lippert/frontrunner-af/variants/toucan-af/BiosCallOuts.c
diff --git a/src/mainboard/lippert/frontrunner-af/OemCustomize-tc.c b/src/mainboard/lippert/frontrunner-af/variants/toucan-af/OemCustomize.c
index e3ffe9b39b..e3ffe9b39b 100644
--- a/src/mainboard/lippert/frontrunner-af/OemCustomize-tc.c
+++ b/src/mainboard/lippert/frontrunner-af/variants/toucan-af/OemCustomize.c
diff --git a/src/mainboard/lippert/frontrunner-af/bootblock-tc.c b/src/mainboard/lippert/frontrunner-af/variants/toucan-af/bootblock.c
index 5077db799b..5077db799b 100644
--- a/src/mainboard/lippert/frontrunner-af/bootblock-tc.c
+++ b/src/mainboard/lippert/frontrunner-af/variants/toucan-af/bootblock.c
diff --git a/src/mainboard/lippert/frontrunner-af/devicetree-tc.cb b/src/mainboard/lippert/frontrunner-af/variants/toucan-af/devicetree.cb
index ee8b246ef1..ee8b246ef1 100644
--- a/src/mainboard/lippert/frontrunner-af/devicetree-tc.cb
+++ b/src/mainboard/lippert/frontrunner-af/variants/toucan-af/devicetree.cb
diff --git a/src/mainboard/lippert/frontrunner-af/mainboard-tc.c b/src/mainboard/lippert/frontrunner-af/variants/toucan-af/mainboard.c
index 901ee0208f..901ee0208f 100644
--- a/src/mainboard/lippert/frontrunner-af/mainboard-tc.c
+++ b/src/mainboard/lippert/frontrunner-af/variants/toucan-af/mainboard.c