diff options
author | Benjamin Doron <benjamin.doron@9elements.com> | 2023-06-20 12:21:27 -0400 |
---|---|---|
committer | Lean Sheng Tan <sheng.tan@9elements.com> | 2023-06-22 22:24:57 +0000 |
commit | ea13dc3562d489572d358160f1558e833d128541 (patch) | |
tree | bb5103e041e2872b842cbdf6184cbf01e5a5fe66 /src/lib/Makefile.inc | |
parent | 57241a27d177e18d537039556ef36ae25387f710 (diff) |
arch/x86,lib: Migrate SMBIOS implementation to common code
SMBIOS is not specific to architecture, and this is mostly a generic
implementation. Therefore, move it to common code, having
architecture-specific code define some functions to fill this data.
Change-Id: I030c853f83f8427da4a4c661b82a6487938b24e6
Signed-off-by: Benjamin Doron <benjamin.doron@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75886
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/lib/Makefile.inc')
-rw-r--r-- | src/lib/Makefile.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/Makefile.inc b/src/lib/Makefile.inc index 35b892a44b..28e8dd39c1 100644 --- a/src/lib/Makefile.inc +++ b/src/lib/Makefile.inc @@ -134,6 +134,8 @@ ramstage-y += prog_ops.c ramstage-y += hardwaremain.c ramstage-y += selfboot.c ramstage-y += coreboot_table.c +ramstage-$(CONFIG_GENERATE_SMBIOS_TABLES) += smbios.c +ramstage-$(CONFIG_GENERATE_SMBIOS_TABLES) += smbios_defaults.c ramstage-y += bootmem.c ramstage-y += fmap.c ramstage-y += memchr.c |