1 /* SPDX-License-Identifier: GPL-2.0-only */
4 #include <console/console.h>
5 #include <cpu/x86/smm.h>
9 #include <ec/google/chromeec/ec.h>
11 #include <soc/iomap.h>
18 int mainboard_io_trap_handler(int smif
)
22 printk(BIOS_DEBUG
, "Sample\n");
29 /* On success, the IO Trap Handler returns 0
30 * On failure, the IO Trap Handler returns a value != 0
32 * For now, we force the return value to 0 and log all traps to
33 * see what's going on.