util/intelp2m/fsp: Update some deprecated macros
Avoid using deprecated macros, where possible. "GpioResetPwrGood" represents multiple valid updated values, depending on the GPIO community and will be more difficult to update. While Kabylake supports both sets of macros, it will cause build errors on Coffeelake. In the GPD group, replace with "GpioDswReset." Replace with "GpioResumeReset" in any GPP group. Change-Id: Iab0bb09adad997bef3a2133c443471d4c634f423 Signed-off-by: Benjamin Doron <benjamin.doron00@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/54974 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Maxim Polyakov <max.senia.poliak@gmail.com>
This commit is contained in:
parent
ef5eb967ec
commit
dfb6a0b1a3
|
@ -121,10 +121,10 @@ func (FieldMacros) DecodeDW0() {
|
|||
|
||||
&field {
|
||||
configmap : map[uint8]string {
|
||||
0: "GpioResetPwrGood",
|
||||
1: "GpioResetDeep",
|
||||
2: "GpioResetNormal",
|
||||
3: "GpioResetResume",
|
||||
0: "GpioResetPwrGood", // TODO: Has multiple values (to GPP and GPD)
|
||||
1: "GpioHostDeepReset",
|
||||
2: "GpioPlatformReset",
|
||||
3: "GpioResumeReset",
|
||||
},
|
||||
value : dw0.GetResetConfig(),
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue