mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
UPSTREAM: lenovo/t60: transition away from device_t
Replace the use of the old device_t definition inside mainboard/lenovo/t60. The patch has been tested both with the arch/io.h definition of device_t enabled and disabled in order to ensure compatibility while the transaction takes place. BUG=None BRANCH=None TEST=None Signed-off-by: Antonello Dettori <dev@dettori.io> Reviewed-on: https://review.coreboot.org/16405 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com> Change-Id: I4d87498637d74f96ca5809b0e810755a58fc64ab Reviewed-on: https://chromium-review.googlesource.com/385013 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
ec3c4f92a1
commit
f1147d8d91
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ static void ich7_enable_lpc(void)
|
|||
static void early_superio_config(void)
|
||||
{
|
||||
int timeout = 100000;
|
||||
device_t dev = PNP_DEV(0x2e, 3);
|
||||
pnp_devfn_t dev = PNP_DEV(0x2e, 3);
|
||||
|
||||
pnp_write_config(dev, 0x29, 0xa0);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue