mb/siemens/mc_apl1: Move POST logic to mainboard level
commit9d67142ccbb3421275c6aa8b44b4cbbec78054a7
authorJan Samek <jan.samek@siemens.com>
Thu, 19 Jan 2023 13:05:50 +0000 (19 14:05 +0100)
committerFelix Held <felix-coreboot@felixheld.de>
Sun, 22 Jan 2023 00:29:36 +0000 (22 00:29 +0000)
tree960ea3fe007a56be5081622083aab90108d8165f
parent105d3091f928376f190320ce614b891a8c84f673
mb/siemens/mc_apl1: Move POST logic to mainboard level

Move logic previously used only in the mc_apl2 variant to
the mainboard level so that other variants can also make
use of it without code duplication.

This functionality on the mc_apl6 variant will be enabled
in a follow-up patch.

BUG=none
TEST=Boot on siemens/mc_apl2 and observe that the POST
codes are displayed before DRAM training.

Change-Id: I762e328ad06c047d911ce1fc40f12a66cbd14e11
Signed-off-by: Jan Samek <jan.samek@siemens.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/72115
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
src/mainboard/siemens/mc_apl1/Makefile.inc
src/mainboard/siemens/mc_apl1/post.c [moved from src/mainboard/siemens/mc_apl1/variants/mc_apl2/post.c with 100% similarity]
src/mainboard/siemens/mc_apl1/variants/mc_apl2/Makefile.inc