summaryrefslogtreecommitdiff
path: root/board/amlogic/sei610/sei610.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-10-18 16:36:44 -0400
committerTom Rini <trini@konsulko.com>2019-10-18 16:36:44 -0400
commit3b985bdeabd1b05abf28fe7dc6530c203750f9fc (patch)
tree7b32aa816256961ee485be87ba0bffdce2d6c969 /board/amlogic/sei610/sei610.c
parentcce99479af3f3d0cdb41a4da078000031b16e9e5 (diff)
parentbe2ffa1656509cc974910224a87443868d7037d9 (diff)
Merge tag 'u-boot-amlogic-20191018' of https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic
- document alternative libretech-cc installation methods, including upstream TF-A and opensource tools - add HDMI/CVBS display support for Amlogic G12A SoCs and SEI510 board - add support for Amlogic A311D based Khadas VIM3 - add support for Amlogic S905X3 based SEI610 board, targeting Android support like SEI510
Diffstat (limited to 'board/amlogic/sei610/sei610.c')
-rw-r--r--board/amlogic/sei610/sei610.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/board/amlogic/sei610/sei610.c b/board/amlogic/sei610/sei610.c
new file mode 100644
index 00000000000..b17eb9ef55b
--- /dev/null
+++ b/board/amlogic/sei610/sei610.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_internal.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_eth_init(PHY_INTERFACE_MODE_RMII,
+ MESON_USE_INTERNAL_RMII_PHY);
+
+ meson_generate_serial_ethaddr();
+
+ env_set("serial#", "AMLG12ASEI610");
+
+ return 0;
+}