summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya/variants/trulo/Makefile.mk
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2024-07-19 00:31:01 +0530
committerSubrata Banik <subratabanik@google.com>2024-07-22 06:42:56 +0000
commit5b761660c6a3a504606b6fe023fb52220f0541bd (patch)
tree89f17e22b6fbfb303a7cda94ad9bdab99385f8cb /src/mainboard/google/brya/variants/trulo/Makefile.mk
parent039c7c8b018b5373450decaed6dbcbe3e15d313d (diff)
mb/google/brya/var/trulo: Add fw_config probe for storage devices
1. Add STORAGE_UNKNOWN fw_config to enable all storage devices, this is used for the first boot in factory. 2. Add fw_config probe to enable/disable devices in devicetree, to avoid suspend(s0ix) fail issue. 3. Disable eMMC controller incase STORAGE_UFS or STORAGE_NVME fw_config is enabled. BUG=b:351976770 TEST=Builds successfully for google/trulo. Change-Id: Ifdaa0bf35413981327097c260ab47e757f697e37 Signed-off-by: Subrata Banik <subratabanik@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83553 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <ericllai@google.com>
Diffstat (limited to 'src/mainboard/google/brya/variants/trulo/Makefile.mk')
-rw-r--r--src/mainboard/google/brya/variants/trulo/Makefile.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/variants/trulo/Makefile.mk b/src/mainboard/google/brya/variants/trulo/Makefile.mk
index 87f515acad..ebeabf4b33 100644
--- a/src/mainboard/google/brya/variants/trulo/Makefile.mk
+++ b/src/mainboard/google/brya/variants/trulo/Makefile.mk
@@ -5,4 +5,6 @@ romstage-y += gpio.c
romstage-y += memory.c
ramstage-y += gpio.c
+ramstage-$(CONFIG_FW_CONFIG) += fw_config.c
+
ramstage-$(CONFIG_SOC_INTEL_COMMON_BLOCK_HDA_VERB) += hda_verb.c