00b7533629
This patch cleans soc/intel/{apl/cnl/skl/icl/tgl} by moving common soc code into common/block/smihandler.c BUG=b:78109109 TEST=Build and boot KBL/CNL/APL/ICL/TGL platform. Change-Id: Ic082bc5d556dd19617d83ab86f93a53574b5bc03 Signed-off-by: Subrata Banik <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/26138 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
32 lines
1.2 KiB
C
32 lines
1.2 KiB
C
/*
|
|
* This file is part of the coreboot project.
|
|
*
|
|
* Copyright (C) 2008-2009 coresystems GmbH
|
|
* Copyright (C) 2014 Google Inc.
|
|
* Copyright (C) 2015-2020 Intel Corporation.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; version 2 of the License.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
#include <intelblocks/smihandler.h>
|
|
#include <soc/pm.h>
|
|
|
|
const smi_handler_t southbridge_smi[SMI_STS_BITS] = {
|
|
[SMI_ON_SLP_EN_STS_BIT] = smihandler_southbridge_sleep,
|
|
[APM_STS_BIT] = smihandler_southbridge_apmc,
|
|
[PM1_STS_BIT] = smihandler_southbridge_pm1,
|
|
[GPE0_STS_BIT] = smihandler_southbridge_gpe0,
|
|
[GPIO_STS_BIT] = smihandler_southbridge_gpi,
|
|
[ESPI_SMI_STS_BIT] = smihandler_southbridge_espi,
|
|
[MCSMI_STS_BIT] = smihandler_southbridge_mc,
|
|
[TCO_STS_BIT] = smihandler_southbridge_tco,
|
|
[PERIODIC_STS_BIT] = smihandler_southbridge_periodic,
|
|
[MONITOR_STS_BIT] = smihandler_southbridge_monitor,
|
|
};
|