diff options
author | Karthikeyan Ramasubramanian <kramasub@google.com> | 2019-12-22 23:04:59 -0700 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2020-01-27 04:47:51 +0000 |
commit | d60386ef2fc0a609bfeef060e73a74a8f1af3047 (patch) | |
tree | 83b025bfd19870caa0360051fce05be8a13c0439 /src/mainboard/google/dedede/smihandler.c | |
parent | edad34b883efc20c9cd28b96ec77318556508663 (diff) | |
download | coreboot-d60386ef2fc0a609bfeef060e73a74a8f1af3047.tar.xz |
mb/google/dedede: Add smihandler stub
Add stub implementation of smihandler.
BUG=b:144768001
TEST=Build test.
Change-Id: I7ab25888812bfb4578915e342b14355ccd15f5cc
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38280
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard/google/dedede/smihandler.c')
-rw-r--r-- | src/mainboard/google/dedede/smihandler.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/mainboard/google/dedede/smihandler.c b/src/mainboard/google/dedede/smihandler.c new file mode 100644 index 0000000000..780d33f6de --- /dev/null +++ b/src/mainboard/google/dedede/smihandler.c @@ -0,0 +1,29 @@ +/* + * This file is part of the coreboot project. + * + * Copyright 2020 The coreboot project Authors. + * + * SPDX-License-Identifier: GPL-2.0-or-later + */ + +#include <baseboard/variants.h> +#include <cpu/x86/smm.h> +#include <intelblocks/smihandler.h> + +void mainboard_smi_gpi_handler(const struct gpi_status *sts) +{ +} + +void mainboard_smi_sleep(u8 slp_typ) +{ + const struct pad_config *pads; + size_t num; + + pads = variant_sleep_gpio_table(&num); + gpio_configure_pads(pads, num); +} + +int mainboard_smi_apmc(u8 apmc) +{ + return 0; +} |