diff options
author | Felix Held <felix.held@amd.corp-partner.google.com> | 2020-06-27 01:41:21 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2020-06-28 14:20:11 +0000 |
commit | 346f391642623a132a539edeabbe8a638015b1f9 (patch) | |
tree | 5cebeff3f297cad162b273205fb807147b4dba86 /src/mainboard/amd/mandolin/Makefile.inc | |
parent | 664ba9767d1171c4bd918a76e3c1d1bc4703b028 (diff) | |
download | coreboot-346f391642623a132a539edeabbe8a638015b1f9.tar.xz |
mb/amd/mandolin: factor out eMMC GPIO pin mux setup
This also makes the calling of the eMMC GPIO mux setup function
conditional on PICASSO_LPC_IOMUX instead of AMD_LPC_DEBUG_CARD which
only makes the selection of PICASSO_LPC_IOMUX user-configurable.
Change-Id: Ic49a668f82fbc1b851c07d312b543d2889fe4734
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42842
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/amd/mandolin/Makefile.inc')
-rw-r--r-- | src/mainboard/amd/mandolin/Makefile.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/amd/mandolin/Makefile.inc b/src/mainboard/amd/mandolin/Makefile.inc index 56dd5e2454..de850b2c0a 100644 --- a/src/mainboard/amd/mandolin/Makefile.inc +++ b/src/mainboard/amd/mandolin/Makefile.inc @@ -6,6 +6,10 @@ bootblock-y += early_gpio.c ramstage-y += gpio.c ramstage-y += port_descriptors.c +ifneq ($(CONFIG_PICASSO_LPC_IOMUX),y) +ramstage-y += emmc_gpio.c +endif + # APCB_mandolin.bin APCB_SOURCES = mandolin |