Maulik V Vaghela has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/38370 )
Change subject: rtc/post.c: Fix compilation issue for post.c ......................................................................
rtc/post.c: Fix compilation issue for post.c
cmos_post_code linking will provide an error if some code is using the function in smm stage. Adding post.c file in smm stage would fix this issue
Change-Id: Iffdcccaad48e7ad96e068d07046630fbe4297e65 Signed-off-by: Maulik V Vaghela maulik.v.vaghela@intel.com --- M src/drivers/pc80/rtc/Makefile.inc 1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/70/38370/1
diff --git a/src/drivers/pc80/rtc/Makefile.inc b/src/drivers/pc80/rtc/Makefile.inc index 4938d78..fa622c0 100644 --- a/src/drivers/pc80/rtc/Makefile.inc +++ b/src/drivers/pc80/rtc/Makefile.inc @@ -12,6 +12,7 @@ smm-$(CONFIG_USE_OPTION_TABLE) += option.c
all-$(CONFIG_CMOS_POST) += post.c +smm-$(CONFIG_CMOS_POST) += post.c
ifeq ($(CONFIG_USE_OPTION_TABLE),y) cbfs-files-$(CONFIG_HAVE_CMOS_DEFAULT) += cmos.default