Alexandru Gagniuc (mr.nuke.me@gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3797
-gerrit
commit ab3052fa00e89b359b0c80fee49a0ba71f70b297 Author: Alexandru Gagniuc mr.nuke.me@gmail.com Date: Mon Jul 22 14:06:12 2013 -0500
NOTFORMERGE: EPIA-M850: Fix decoding of ACPI IO BAR
When SerialICE got to the ACPI IO filter, it complained about a 'nil' value and died. Make this filter work again.
Change-Id: Id8ff78e2f94d3f4d55d00824a8eb2e5ccecd23f4 Signed-off-by: Alexandru Gagniuc mr.nuke.me@gmail.com --- SerialICE/simba/mainboard/via_epia_m_850.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/SerialICE/simba/mainboard/via_epia_m_850.lua b/SerialICE/simba/mainboard/via_epia_m_850.lua index f791e54..7d1743c 100644 --- a/SerialICE/simba/mainboard/via_epia_m_850.lua +++ b/SerialICE/simba/mainboard/via_epia_m_850.lua @@ -129,11 +129,11 @@ dev_power = { tco = { f = nil }, }
-function pm_io_bar(dev, reg, base) - dev.acpi.name = "ACPI" - dev.acpi.base = base - dev.acpi.size = 0x60 - generic_io_bar(dev.acpi) +function pm_io_bar(f, action) + f.dev.acpi.name = "ACPI" + f.dev.acpi.base = bit32.band(action.data, 0xff80) + f.dev.acpi.size = 0x60 + generic_io_bar(f.dev.acpi) end