summaryrefslogtreecommitdiff
path: root/src/mainboard/starlabs/labtop/include/variants.h
diff options
context:
space:
mode:
authorSean Rhodes <sean@starlabs.systems>2021-07-05 16:03:15 +0100
committerFelix Held <felix-coreboot@felixheld.de>2021-11-22 14:53:04 +0000
commit17441a3ac5a114fc8386e8da50ef802e159c97b7 (patch)
tree0ef9df707f826c2b901bd2ee14aa81ba30d45a9e /src/mainboard/starlabs/labtop/include/variants.h
parentbe0722ac9145ac0203aca26165cbc9ee46b2b1b7 (diff)
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/include/variants.h')
-rw-r--r--src/mainboard/starlabs/labtop/include/variants.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/mainboard/starlabs/labtop/include/variants.h b/src/mainboard/starlabs/labtop/include/variants.h
new file mode 100644
index 0000000000..c95d15bd72
--- /dev/null
+++ b/src/mainboard/starlabs/labtop/include/variants.h
@@ -0,0 +1,17 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#ifndef _BASEBOARD_VARIANTS_H_
+#define _BASEBOARD_VARIANTS_H_
+
+#include <soc/gpio.h>
+
+/*
+ * The next set of functions return the gpio table and fill in the number of
+ * entries for each table.
+ */
+const struct pad_config *variant_gpio_table(size_t *num);
+const struct pad_config *variant_early_gpio_table(size_t *num);
+
+void devtree_update(void);
+
+#endif /* _BASEBOARD_VARIANTS_H_ */