commit | ce4ecfed577ab4b9e06ad6cd0b30d5d9f536877b | [log] [tgz] |
---|---|---|
author | Felix Singer <felixsinger@posteo.net> | Sat Nov 21 13:38:05 2020 +0000 |
committer | Michael Niewöhner <foss@mniewoehner.de> | Mon Nov 23 12:01:56 2020 +0000 |
tree | a779ac2ecfd0298cfd13935d3689d32f302696c2 | |
parent | e7265a9b10c0bb8169891b3927ebe9e2d31cdd18 [diff] |
mb/clevo/cml-u: Move bootblock.c and ramstage.c to mb level Change-Id: Ifca49c656f259b08fb8ab47fe36e93c146f25266 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/47834 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
diff --git a/src/mainboard/clevo/cml-u/Makefile.inc b/src/mainboard/clevo/cml-u/Makefile.inc index 3af82dd..de3c774 100644 --- a/src/mainboard/clevo/cml-u/Makefile.inc +++ b/src/mainboard/clevo/cml-u/Makefile.inc
@@ -1,4 +1,8 @@ CPPFLAGS_common += -I$(src)/mainboard/$(MAINBOARDDIR)/variants/$(VARIANT_DIR)/include +bootblock-y += bootblock.c + +ramstage-y += ramstage.c ramstage-y += variants/$(VARIANT_DIR)/hda_verb.c + subdirs-y += variants/$(VARIANT_DIR)
diff --git a/src/mainboard/clevo/cml-u/variants/l140cu/bootblock.c b/src/mainboard/clevo/cml-u/bootblock.c similarity index 100% rename from src/mainboard/clevo/cml-u/variants/l140cu/bootblock.c rename to src/mainboard/clevo/cml-u/bootblock.c
diff --git a/src/mainboard/clevo/cml-u/variants/l140cu/ramstage.c b/src/mainboard/clevo/cml-u/ramstage.c similarity index 100% rename from src/mainboard/clevo/cml-u/variants/l140cu/ramstage.c rename to src/mainboard/clevo/cml-u/ramstage.c
diff --git a/src/mainboard/clevo/cml-u/variants/l140cu/Makefile.inc b/src/mainboard/clevo/cml-u/variants/l140cu/Makefile.inc index 57ad0ca..0e47d86 100644 --- a/src/mainboard/clevo/cml-u/variants/l140cu/Makefile.inc +++ b/src/mainboard/clevo/cml-u/variants/l140cu/Makefile.inc
@@ -1,4 +1,2 @@ -bootblock-y += bootblock.c romstage-y += romstage.c -ramstage-y += ramstage.c SPD_SOURCES = samsung-K4AAG165WA-BCTD