summaryrefslogtreecommitdiff
path: root/src/mainboard/system76
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2023-01-06 11:20:30 +0000
committerFelix Held <felix-coreboot@felixheld.de>2023-04-26 12:05:42 +0000
commit854bd492fcfa01901fbf8ac39b539b55a7b45ba5 (patch)
tree3ece5fe64014ce11134600d01b009e11cbe796f4 /src/mainboard/system76
parentd45402a55a6866ea1b34ce6d85a88f970c250467 (diff)
mb/{system76,msi}: Enable PchHdaAudioLinkHdaEnable via devicetree
Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: Iae2dc0a934f0ea3ca59d8a811f1daeedb090a7bd Reviewed-on: https://review.coreboot.org/c/coreboot/+/71717 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michał Kopeć <michal.kopec@3mdeb.com>
Diffstat (limited to 'src/mainboard/system76')
-rw-r--r--src/mainboard/system76/adl/devicetree.cb1
-rw-r--r--src/mainboard/system76/adl/variants/darp8/romstage.c1
-rw-r--r--src/mainboard/system76/adl/variants/galp6/romstage.c1
3 files changed, 1 insertions, 2 deletions
diff --git a/src/mainboard/system76/adl/devicetree.cb b/src/mainboard/system76/adl/devicetree.cb
index 8f668bee33..d469491884 100644
--- a/src/mainboard/system76/adl/devicetree.cb
+++ b/src/mainboard/system76/adl/devicetree.cb
@@ -84,6 +84,7 @@ chip soc/intel/alderlake
end
device ref p2sb on end
device ref hda on
+ register "pch_hda_audio_link_hda_enable" = "1"
register "pch_hda_idisp_codec_enable" = "1"
register "pch_hda_idisp_link_frequency" = "HDA_LINKFREQ_96MHZ"
register "pch_hda_idisp_link_tmode" = "HDA_TMODE_8T"
diff --git a/src/mainboard/system76/adl/variants/darp8/romstage.c b/src/mainboard/system76/adl/variants/darp8/romstage.c
index 3d6a5fb993..e6cf37fc74 100644
--- a/src/mainboard/system76/adl/variants/darp8/romstage.c
+++ b/src/mainboard/system76/adl/variants/darp8/romstage.c
@@ -17,7 +17,6 @@ void mainboard_memory_init_params(FSPM_UPD *mupd)
};
const bool half_populated = false;
- mupd->FspmConfig.PchHdaAudioLinkHdaEnable = 1;
mupd->FspmConfig.DmiMaxLinkSpeed = 4;
mupd->FspmConfig.GpioOverride = 0;
diff --git a/src/mainboard/system76/adl/variants/galp6/romstage.c b/src/mainboard/system76/adl/variants/galp6/romstage.c
index 3d6a5fb993..e6cf37fc74 100644
--- a/src/mainboard/system76/adl/variants/galp6/romstage.c
+++ b/src/mainboard/system76/adl/variants/galp6/romstage.c
@@ -17,7 +17,6 @@ void mainboard_memory_init_params(FSPM_UPD *mupd)
};
const bool half_populated = false;
- mupd->FspmConfig.PchHdaAudioLinkHdaEnable = 1;
mupd->FspmConfig.DmiMaxLinkSpeed = 4;
mupd->FspmConfig.GpioOverride = 0;