blob: 0f8dbed2ed3fd615f49bd37bac460cd97aabcea8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/* SPDX-License-Identifier: GPL-2.0-only */
#include <mainboard.h>
#include <device/device.h>
#include <mainboard/gpio.h>
__weak void variant_mainboard_init(void *chip_info)
{
}
static void mainboard_chip_init(void *chip_info)
{
/* do common init */
mainboard_configure_gpios();
/* do variant init */
variant_mainboard_init(chip_info);
}
struct chip_operations mainboard_ops = {
.init = mainboard_chip_init,
};
|