coreboot-kgpe-d16/src/superio
Bill XIE a11eca149a superio/nuvoton/nct6776: Correct the definition of NCT6776_GPIOBASE
NCT6776's data sheet does say that the virtual LDN of GPIO base should
be 0x308, and most mainboards using it usually correctly config it in
devicetree.cb under the path 2e.308, but in nct6776.h it used to be
defined as 8 from the beginning (an ancient commit 1e3a22649a, lately
revived in commit f95daa510d), identical to the LDN of WDT, which
eliminates the definition of value 2e.308, and makes related resource
allocations unable to take effect. (in log we can find "PNP: 002e.308
missing read_resources" if 2e.308 is enabled and assigned with
resources)

In this commit, NCT6776_GPIOBASE is set to a value consistent with the
data sheet.

With this commit, resources under 2e.308 of NCT6776 can be allocated
successfully.

Change-Id: I604bad7ab34a8f57262fdec508e5952cf8eabf1c
Signed-off-by: Bill XIE <persmule@hardenedlinux.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57221
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
2021-08-29 16:41:12 +00:00
..
acpi src/superio: Fix typo in comment 2021-02-11 10:21:54 +00:00
aspeed
common
fintek
ite src: Retype option API to use unsigned integers 2021-05-06 14:48:15 +00:00
nsc
nuvoton superio/nuvoton/nct6776: Correct the definition of NCT6776_GPIOBASE 2021-08-29 16:41:12 +00:00
renesas
serverengines
smsc superio/smsc/sch5545: Add missing <types.h> 2021-02-13 22:06:28 +00:00
winbond src: Retype option API to use unsigned integers 2021-05-06 14:48:15 +00:00