mb/ocp, soc/intel/xeon_sp: Use common ASL POST defines
Use common ASL defines for POST code handling. Change-Id: I5b4c11860a8c33e56edaea0f6de378cbaa63a8c5 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/63989 Reviewed-by: Jonathan Zhang <jonzhang@fb.com> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
f0ed846cfc
commit
623e2b351c
|
@ -21,13 +21,7 @@ Field (APMP, ByteAcc, NoLock, Preserve)
|
||||||
APMS, 8 // APM status
|
APMS, 8 // APM status
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Port 80 POST */
|
#include <arch/x86/acpi/post.asl>
|
||||||
OperationRegion (DBG0, SystemIO, 0x80, 0x02)
|
|
||||||
Field (DBG0, ByteAcc, Lock, Preserve)
|
|
||||||
{
|
|
||||||
IO80, 8,
|
|
||||||
IO81, 8
|
|
||||||
}
|
|
||||||
|
|
||||||
/* IO-Trap at 0x800.
|
/* IO-Trap at 0x800.
|
||||||
* This is the ACPI->SMI communication interface.
|
* This is the ACPI->SMI communication interface.
|
||||||
|
|
|
@ -21,13 +21,7 @@ Field (APMP, ByteAcc, NoLock, Preserve)
|
||||||
APMS, 8 // APM status
|
APMS, 8 // APM status
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Port 80 POST */
|
#include <arch/x86/acpi/post.asl>
|
||||||
OperationRegion (DBG0, SystemIO, 0x80, 0x02)
|
|
||||||
Field (DBG0, ByteAcc, Lock, Preserve)
|
|
||||||
{
|
|
||||||
IO80, 8,
|
|
||||||
IO81, 8
|
|
||||||
}
|
|
||||||
|
|
||||||
/* IO-Trap at 0x800.
|
/* IO-Trap at 0x800.
|
||||||
* This is the ACPI->SMI communication interface.
|
* This is the ACPI->SMI communication interface.
|
||||||
|
|
|
@ -58,7 +58,7 @@
|
||||||
{ \
|
{ \
|
||||||
/* indicate unrecognized UUID */ \
|
/* indicate unrecognized UUID */ \
|
||||||
CDW1 |= 0x04 \
|
CDW1 |= 0x04 \
|
||||||
IO80 = 0xEE \
|
DBG0 = 0xEE \
|
||||||
Return (Arg3) \
|
Return (Arg3) \
|
||||||
} \
|
} \
|
||||||
} \
|
} \
|
||||||
|
|
Loading…
Reference in New Issue