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 9baee690a83a5e6220cea9fb855bb632bcf3c9a6 Author: Alexandru Gagniuc mr.nuke.me@gmail.com Date: Mon Jul 22 14:06:12 2013 -0500
EPIA-M850: Fix decoding of ACPI IO BAR to prevent 'nil' error
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..8f10ba3 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.val = bit32.band(action.data, 0xff80) + f.dev.acpi.size = 0x80 + generic_io_bar(f.dev.acpi) end