summaryrefslogtreecommitdiff
path: root/src/mainboard/apple/macbook21
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2022-12-03 08:25:18 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2022-12-23 03:09:20 +0000
commit100f92c54f2f199e98d817bd16ae7530e8ad719c (patch)
tree0111fb5b05c20fc1765e644026ec5e8dd17bd504 /src/mainboard/apple/macbook21
parent4c61294498254c0cc07608632228f84b2e555a06 (diff)
mb,x86/smm: Disable unused IO traps
Only IO trap #3 for lenovo/x60,t60 and getac/p470 have implemented the IO trap handler. Change-Id: Ibadce174f673e88380f4b6745fd9ed8b73177a13 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/70367 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/apple/macbook21')
-rw-r--r--src/mainboard/apple/macbook21/early_init.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mainboard/apple/macbook21/early_init.c b/src/mainboard/apple/macbook21/early_init.c
index 42e7d77cf7..c0a57cc8fc 100644
--- a/src/mainboard/apple/macbook21/early_init.c
+++ b/src/mainboard/apple/macbook21/early_init.c
@@ -23,10 +23,4 @@ void mainboard_late_rcba_config(void)
/* Disable unused devices */
RCBA32(FD) |= FD_INTLAN;
-
- /* Set up I/O Trap #0 for 0xfe00 (SMIC) */
-
- /* Set up I/O Trap #3 for 0x800-0x80c (Trap) */
- RCBA32(0x1e9c) = 0x000200f0;
- RCBA32(0x1e98) = 0x000c0801;
}