blob: 80e8b1811a49f3f0107f9f50d63bae959de48f50 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/* SPDX-License-Identifier: GPL-2.0-only */
#include <bootblock_common.h>
#include <intelblocks/lpc_lib.h>
#include <gpio.h>
#include <variants.h>
void bootblock_mainboard_init(void)
{
const struct pad_config *pads;
size_t num;
pads = variant_early_gpio_table(&num);
gpio_configure_pads(pads, num);
if (CONFIG(EC_STARLABS_NUVOTON))
lpc_open_mmio_window(0xfe800000, 0x10000);
}
|