summaryrefslogtreecommitdiff
path: root/src/mainboard/supermicro/x11-lga1151-series/mainboard.c
blob: 1377a874fe17bfab0222dd65c85d89817a6140db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* SPDX-License-Identifier: GPL-2.0-only */

#include <mainboard.h>
#include <device/device.h>
#include <soc/ramstage.h>
#include <variant/gpio.h>

__weak void variant_mainboard_init(void *chip_info)
{
}

static void mainboard_chip_init(void *chip_info)
{
	/* do common init */
	gpio_configure_pads(gpio_table, ARRAY_SIZE(gpio_table));

	/* do variant init */
	variant_mainboard_init(chip_info);
}

struct chip_operations mainboard_ops = {
	.init = mainboard_chip_init,
};