aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/baytrail/Makefile.inc
diff options
context:
space:
mode:
authorMate Kukri <kukri.mate@gmail.com>2020-07-04 11:20:07 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-08-02 12:07:08 +0000
commite231949b78fee38dca823bc76467f81166e00995 (patch)
tree7491ddcfebdf48cc42895a57d1a40fd5c538fd45 /src/soc/intel/baytrail/Makefile.inc
parent32b93c94e0e1d7f4b083bc9a63cfad61c6ac870a (diff)
soc/intel/baytrail: Add native refcode replacement
- This is a reverse engineered re-implementation of refcode.elf on Bay Trail - Tested on GBYT4, should work everywhere as it's meant to behave exactly the same as the binary refcode Signed-off-by: Mate Kukri <kukri.mate@gmail.com> Change-Id: I91977c509022b0078804dc151d27296260e24bc4 Reviewed-on: https://review.coreboot.org/c/coreboot/+/43133 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/baytrail/Makefile.inc')
-rw-r--r--src/soc/intel/baytrail/Makefile.inc7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/soc/intel/baytrail/Makefile.inc b/src/soc/intel/baytrail/Makefile.inc
index 451f29e377..bfa1846d1a 100644
--- a/src/soc/intel/baytrail/Makefile.inc
+++ b/src/soc/intel/baytrail/Makefile.inc
@@ -49,7 +49,12 @@ ramstage-y += smm.c
ramstage-y += southcluster.c
ramstage-y += xhci.c
ramstage-$(CONFIG_ELOG) += elog.c
-ramstage-$(CONFIG_HAVE_REFCODE_BLOB) += refcode.c
+
+ifeq ($(CONFIG_HAVE_REFCODE_BLOB),y)
+ramstage-y += refcode.c
+else
+ramstage-y += modphy_table.c refcode_native.c
+endif
smm-y += iosf.c
smm-y += pmutil.c