diff options
author | Sean Rhodes <sean@starlabs.systems> | 2021-07-05 16:03:15 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-11-22 14:53:04 +0000 |
commit | 17441a3ac5a114fc8386e8da50ef802e159c97b7 (patch) | |
tree | 0ef9df707f826c2b901bd2ee14aa81ba30d45a9e /src/mainboard/starlabs/labtop/ramstage.c | |
parent | be0722ac9145ac0203aca26165cbc9ee46b2b1b7 (diff) | |
download | coreboot-17441a3ac5a114fc8386e8da50ef802e159c97b7.tar.gz coreboot-17441a3ac5a114fc8386e8da50ef802e159c97b7.tar.bz2 coreboot-17441a3ac5a114fc8386e8da50ef802e159c97b7.zip |
mainboard/starlabs: Add StarBook Mk V
Tested using MrChromeBox's `uefipayload_202107` branch:
* Windows 10
* Ubuntu 20.04
* MX Linux 19.4
* Manjaro 21
No known issues.
https://starlabs.systems/pages/starbook-specification
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Change-Id: I090971a9e8d2be5b08be886d00d304607304b645
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56088
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/starlabs/labtop/ramstage.c')
-rw-r--r-- | src/mainboard/starlabs/labtop/ramstage.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/mainboard/starlabs/labtop/ramstage.c b/src/mainboard/starlabs/labtop/ramstage.c new file mode 100644 index 000000000000..60e65ee8c41e --- /dev/null +++ b/src/mainboard/starlabs/labtop/ramstage.c @@ -0,0 +1,21 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include <device/device.h> +#include <soc/ramstage.h> +#include <option.h> +#include <variants.h> + +static void init_mainboard(void *chip_info) +{ + const struct pad_config *pads; + size_t num; + + pads = variant_gpio_table(&num); + gpio_configure_pads(pads, num); + + devtree_update(); +} + +struct chip_operations mainboard_ops = { + .init = init_mainboard, +}; |