aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/board/amlogic/sei510
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/board/amlogic/sei510')
-rw-r--r--roms/u-boot/board/amlogic/sei510/MAINTAINERS8
-rw-r--r--roms/u-boot/board/amlogic/sei510/Makefile6
-rw-r--r--roms/u-boot/board/amlogic/sei510/sei510.c26
3 files changed, 40 insertions, 0 deletions
diff --git a/roms/u-boot/board/amlogic/sei510/MAINTAINERS b/roms/u-boot/board/amlogic/sei510/MAINTAINERS
new file mode 100644
index 000000000..c01c1d60d
--- /dev/null
+++ b/roms/u-boot/board/amlogic/sei510/MAINTAINERS
@@ -0,0 +1,8 @@
+SEI510
+M: Neil Armstrong <narmstrong@baylibre.com>
+S: Maintained
+L: u-boot-amlogic@groups.io
+F: board/amlogic/sei510/
+F: configs/sei510_defconfig
+F: include/configs/sei510.h
+F: doc/board/amlogic/sei510.rst
diff --git a/roms/u-boot/board/amlogic/sei510/Makefile b/roms/u-boot/board/amlogic/sei510/Makefile
new file mode 100644
index 000000000..03399a384
--- /dev/null
+++ b/roms/u-boot/board/amlogic/sei510/Makefile
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0+
+#
+# (C) Copyright 2016 BayLibre, SAS
+# Author: Neil Armstrong <narmstrong@baylibre.com>
+
+obj-y := sei510.o
diff --git a/roms/u-boot/board/amlogic/sei510/sei510.c b/roms/u-boot/board/amlogic/sei510/sei510.c
new file mode 100644
index 000000000..bb188c21f
--- /dev/null
+++ b/roms/u-boot/board/amlogic/sei510/sei510.c
@@ -0,0 +1,26 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (C) 2016 BayLibre, SAS
+ * Author: Neil Armstrong <narmstrong@baylibre.com>
+ */
+
+#include <common.h>
+#include <dm.h>
+#include <env.h>
+#include <env_internal.h>
+#include <init.h>
+#include <net.h>
+#include <asm/io.h>
+#include <asm/arch/axg.h>
+#include <asm/arch/sm.h>
+#include <asm/arch/eth.h>
+#include <asm/arch/mem.h>
+
+int misc_init_r(void)
+{
+ meson_generate_serial_ethaddr();
+
+ env_set("serial#", "AMLG12ASEI510");
+
+ return 0;
+}