mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
UPSTREAM: amd/gardenia: Clean up GPIO ASL
Remove the unused Name field. Its previous design generates an FWTS error and a recommendation for changing it to Serialized. Original-Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com> Original-Reviewed-by: Marc Jones <marcj303@gmail.com> (cherry picked from commit 1d970f1aa16c647e56a08c83f5719041882a2fc0) BUG=None BRANCH=None TEST=None Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-on: https://review.coreboot.org/17846 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com> Change-Id: I27748a4f84286e80043f516564ef64350ef3fef9 Reviewed-on: https://chromium-review.googlesource.com/422243 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
5b372b34ab
commit
9b51ca6f68
1 changed files with 6 additions and 24 deletions
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
* This file is part of the coreboot project.
|
||||
*
|
||||
* Copyright (C) 2015 Advanced Micro Devices, Inc.
|
||||
* Copyright (C) 2015-2016 Advanced Micro Devices, Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -18,31 +18,13 @@ Device(GPIO) {
|
|||
Name (_CID, "AMD0030")
|
||||
Name(_UID, 0)
|
||||
|
||||
Method (_CRS, 0x0, NotSerialized) {
|
||||
Name (RBUF, ResourceTemplate () {
|
||||
//
|
||||
// Interrupt resource. In this example, banks 0 & 1 share the same
|
||||
// interrupt to the parent controller and similarly banks 2 & 3.
|
||||
//
|
||||
// N.B. The definition below is chosen for an arbitrary
|
||||
// test platform. It needs to be changed to reflect the hardware
|
||||
// configuration of the actual platform
|
||||
//
|
||||
Interrupt(ResourceConsumer, Level, ActiveLow, Shared, , , ) {7}
|
||||
|
||||
//
|
||||
// Memory resource. The definition below is chosen for an arbitrary
|
||||
// test platform. It needs to be changed to reflect the hardware
|
||||
// configuration of the actual platform.
|
||||
//
|
||||
Memory32Fixed(ReadWrite, 0xFED81500, 0x300)
|
||||
})
|
||||
|
||||
Return (RBUF)
|
||||
}
|
||||
Name(_CRS, ResourceTemplate() {
|
||||
Interrupt(ResourceConsumer, Level, ActiveLow, Shared, , , ) {7}
|
||||
Memory32Fixed(ReadWrite, 0xFED81500, 0x300)
|
||||
})
|
||||
|
||||
Method (_STA, 0x0, NotSerialized) {
|
||||
Return (0x0F)
|
||||
Return (0x0F)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue