soc/amd/picasso: Drop _INI method and OperationRegion for AZHD device
_INI method for AZHD device for Picasso family was just copied from Stoneyridge as part of initial change. There is no evidence that this is required for Picasso. Also, removing the _INI method works perfectly fine. Thus, this change drops the _INI method for AZHD device on Picasso. Since the _INI method was the only entity using the OperationRegion fields, this change also drops the operation region. BUG=b:155132752 TEST=Verified that audio still works on Trembyle Change-Id: If42abf91ee5cd47a881b0a3b4ca1916ea5169261 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40782 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
edfc5a9df5
commit
f510c75d64
|
@ -79,37 +79,4 @@ Device(PBR8) {
|
||||||
|
|
||||||
Device(AZHD) { /* 0:9.2 - HD Audio */
|
Device(AZHD) { /* 0:9.2 - HD Audio */
|
||||||
Name(_ADR, 0x00090002)
|
Name(_ADR, 0x00090002)
|
||||||
OperationRegion(AZPD, PCI_Config, 0x00, 0x100)
|
|
||||||
Field(AZPD, AnyAcc, NoLock, Preserve) {
|
|
||||||
offset (0x42),
|
|
||||||
NSDI, 1,
|
|
||||||
NSDO, 1,
|
|
||||||
NSEN, 1,
|
|
||||||
offset (0x44),
|
|
||||||
IPCR, 4,
|
|
||||||
offset (0x54),
|
|
||||||
PWST, 2,
|
|
||||||
, 6,
|
|
||||||
PMEB, 1,
|
|
||||||
, 6,
|
|
||||||
PMST, 1,
|
|
||||||
offset (0x62),
|
|
||||||
MMCR, 1,
|
|
||||||
offset (0x64),
|
|
||||||
MMLA, 32,
|
|
||||||
offset (0x68),
|
|
||||||
MMHA, 32,
|
|
||||||
offset (0x6c),
|
|
||||||
MMDT, 16,
|
|
||||||
}
|
|
||||||
|
|
||||||
Method (_INI, 0, NotSerialized)
|
|
||||||
{
|
|
||||||
If (LEqual (OSVR, 0x03))
|
|
||||||
{
|
|
||||||
Store (Zero, NSEN)
|
|
||||||
Store (One, NSDO)
|
|
||||||
Store (One, NSDI)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} /* end AZHD */
|
} /* end AZHD */
|
||||||
|
|
Loading…
Reference in New Issue