mb/supermicro/x11ssm-f: drop NMI overrides

Drop the NMI overrides, since NMI now gets configured in gpio common
code. Also remove the variant init mechanism, which is unused now.

Signed-off-by: Michael Niewöhner <foss@mniewoehner.de>
Change-Id: I02e0c679f9aafe33108320a8dfc62dcb278202ef
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48092
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Michael Niewöhner 2020-11-24 13:24:47 +01:00
parent 51f5ff6d27
commit d328934c9b
5 changed files with 0 additions and 35 deletions

View File

@ -8,5 +8,3 @@ bootblock-y += variants/$(VARIANT_DIR)/gpio_early.c
ramstage-y += mainboard.c ramstage-y += mainboard.c
ramstage-y += variants/$(VARIANT_DIR)/gpio.c ramstage-y += variants/$(VARIANT_DIR)/gpio.c
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += fadt.c ramstage-$(CONFIG_HAVE_ACPI_TABLES) += fadt.c
subdirs-y += variants/$(VARIANT_DIR)

View File

@ -1,10 +0,0 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef _BASEBOARD_X11_LGA1151_SERIES_H
#define _BASEBOARD_X11_LGA1151_SERIES_H
#include <device/device.h>
void variant_mainboard_init(void *chip_info);
#endif /* _BASEBOARD_X11_LGA1151_SERIES_H */

View File

@ -1,20 +1,11 @@
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-License-Identifier: GPL-2.0-only */
#include <mainboard.h>
#include <device/device.h> #include <device/device.h>
#include <mainboard/gpio.h> #include <mainboard/gpio.h>
__weak void variant_mainboard_init(void *chip_info)
{
}
static void mainboard_chip_init(void *chip_info) static void mainboard_chip_init(void *chip_info)
{ {
/* do common init */
mainboard_configure_gpios(); mainboard_configure_gpios();
/* do variant init */
variant_mainboard_init(chip_info);
} }
struct chip_operations mainboard_ops = { struct chip_operations mainboard_ops = {

View File

@ -1 +0,0 @@
ramstage-y += mainboard.c

View File

@ -1,13 +0,0 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <mainboard.h>
#include <device/device.h>
#include <intelblocks/pcr.h>
#include <soc/pcr_ids.h>
void variant_mainboard_init(void *chip_info)
{
// TODO: NMI; is this needed? vendor sets it
pcr_write32(0xae, 0x01e4, 0x00000004);
pcr_write32(0xae, 0x01e8, 0x00000040);
}