Initialize early GPIOs
This commit is contained in:
parent
6ac5c4bf8a
commit
1c813a7e4b
@ -1 +1,2 @@
|
||||
bootblock-y += bootblock.c
|
||||
ramstage-y += ramstage.c variants/$(VARIANT_DIR)/hda_verb.c
|
||||
|
23
src/mainboard/system76/cfl-h/bootblock.c
Normal file
23
src/mainboard/system76/cfl-h/bootblock.c
Normal file
@ -0,0 +1,23 @@
|
||||
/*
|
||||
* This file is part of the coreboot project.
|
||||
*
|
||||
* Copyright (C) 2019 System76
|
||||
*
|
||||
* 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 <bootblock_common.h>
|
||||
#include <gpio.h>
|
||||
#include <soc/gpio.h>
|
||||
#include "gpio.h"
|
||||
|
||||
void bootblock_mainboard_init(void) {
|
||||
gpio_configure_pads(early_gpio_table, ARRAY_SIZE(early_gpio_table));
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user