aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/asurada/mainboard.c
diff options
context:
space:
mode:
authorCK Hu <ck.hu@mediatek.com>2020-05-13 10:45:08 +0800
committerHung-Te Lin <hungte@chromium.org>2020-08-13 05:34:50 +0000
commit02bab4ddcfe09c0cbbc82ece6c9575f573e8d799 (patch)
treeb1d330737312808b8a7e70bd5e1a20a4e9445e0e /src/mainboard/google/asurada/mainboard.c
parent958ab46ddae6bf906e4db3d499ca719c019c78c8 (diff)
mb/google/asurada: Add new MT8192 mainboard "Asurada"
The placeholder functions and build rules for generating a minimal firmware to run on MT8192 SOC based mainboard "Asurada". Signed-off-by: CK Hu <ck.hu@mediatek.com> Change-Id: Ic7c8bc8a4bba40d1b511823e09945be52198b247 Reviewed-on: https://review.coreboot.org/c/coreboot/+/43963 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Reviewed-by: Hung-Te Lin <hungte@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/asurada/mainboard.c')
-rw-r--r--src/mainboard/google/asurada/mainboard.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/mainboard/google/asurada/mainboard.c b/src/mainboard/google/asurada/mainboard.c
new file mode 100644
index 0000000000..e6040fa7aa
--- /dev/null
+++ b/src/mainboard/google/asurada/mainboard.c
@@ -0,0 +1,17 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <device/device.h>
+
+static void mainboard_init(struct device *dev)
+{
+}
+
+static void mainboard_enable(struct device *dev)
+{
+ dev->ops->init = &mainboard_init;
+}
+
+struct chip_operations mainboard_ops = {
+ .name = CONFIG_MAINBOARD_PART_NUMBER,
+ .enable_dev = mainboard_enable,
+};