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>
This commit is contained in:
parent
4c61294498
commit
100f92c54f
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -122,9 +122,6 @@ void mainboard_late_rcba_config(void)
|
|||
RCBA32(FD) |= FD_INTLAN;
|
||||
|
||||
/* This should probably go into the ACPI enable trap */
|
||||
/* Set up I/O Trap #0 for 0xfe00 (SMIC) */
|
||||
RCBA32(0x1e84) = 0x00020001;
|
||||
RCBA32(0x1e80) = 0x0000fe01;
|
||||
|
||||
/* Set up I/O Trap #3 for 0x800-0x80c (Trap) */
|
||||
RCBA32(0x1e9c) = 0x000200f0;
|
||||
|
|
|
@ -73,9 +73,6 @@ void mainboard_late_rcba_config(void)
|
|||
/* Disable unused devices */
|
||||
RCBA32(FD) |= FD_INTLAN;
|
||||
|
||||
/* Set up I/O Trap #0 for 0xfe00 (SMIC) */
|
||||
RCBA64(IOTR0) = 0x000200010000fe01ULL;
|
||||
|
||||
/* Set up I/O Trap #3 for 0x800-0x80c (Trap) */
|
||||
RCBA64(IOTR3) = 0x000200f0000c0801ULL;
|
||||
}
|
||||
|
|
|
@ -72,9 +72,6 @@ void mainboard_late_rcba_config(void)
|
|||
/* Disable unused devices */
|
||||
RCBA32(FD) |= FD_INTLAN;
|
||||
|
||||
/* Set up I/O Trap #0 for 0xfe00 (SMIC) */
|
||||
RCBA64(IOTR0) = 0x000200010000fe01ULL;
|
||||
|
||||
/* Set up I/O Trap #3 for 0x800-0x80c (Trap) */
|
||||
RCBA64(IOTR3) = 0x000200f0000c0801ULL;
|
||||
}
|
||||
|
|
|
@ -77,16 +77,6 @@ void mainboard_late_rcba_config(void)
|
|||
|
||||
/* Disable unused devices */
|
||||
RCBA32(FD) |= FD_INTLAN;
|
||||
|
||||
/* This should probably go into the ACPI OS Init trap */
|
||||
|
||||
/* Set up I/O Trap #0 for 0xfe00 (SMIC) */
|
||||
RCBA32(0x1e84) = 0x00020001;
|
||||
RCBA32(0x1e80) = 0x0000fe01;
|
||||
|
||||
/* Set up I/O Trap #3 for 0x800-0x80c (Trap) */
|
||||
RCBA32(0x1e9c) = 0x000200f0;
|
||||
RCBA32(0x1e98) = 0x000c0801;
|
||||
}
|
||||
|
||||
static void init_artec_dongle(void)
|
||||
|
|
|
@ -265,10 +265,6 @@ static void mobile5_pm_init(struct device *dev)
|
|||
(void)RCBA32(0x1d44);
|
||||
RCBA32(0x1d48) = 0x00030000;
|
||||
(void)RCBA32(0x1d48);
|
||||
RCBA32(0x1e80) = 0x000c0801;
|
||||
(void)RCBA32(0x1e80);
|
||||
RCBA32(0x1e84) = 0x000200f0;
|
||||
(void)RCBA32(0x1e84);
|
||||
|
||||
const u32 rcba2010[] = {
|
||||
/* 2010: */ 0x00188200, 0x14000016, 0xbc4abcb5, 0x00000000,
|
||||
|
|
Loading…
Reference in New Issue