aboutsummaryrefslogtreecommitdiff
path: root/board/gardena/smart-gateway-mt7688/board.c
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2018-08-16 15:27:31 +0200
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2018-09-23 14:27:51 +0200
commit88dc40991494951015978b381bc37899fd9971d4 (patch)
treef3118a6ac9c00ba805c5120118167c976911ee8a /board/gardena/smart-gateway-mt7688/board.c
parentb02f76a83541fe9fe3a2918039b26fc133699c17 (diff)
downloadu-boot-88dc40991494951015978b381bc37899fd9971d4.zip
u-boot-88dc40991494951015978b381bc37899fd9971d4.tar.gz
u-boot-88dc40991494951015978b381bc37899fd9971d4.tar.bz2
mips: Add Gardena Smart-Gateway board support
The Gardena Smart-Gateway boards have a MT7688 SoC with 128 MiB of RAM and 8 MiB of flash (SPI NOR) and additional 128MiB SPI NAND storage. This patch also includes 2 targets. One is the target that can be programmed into the SPI NOR flash and a 2nd target "xxx-ram" is added to support loading and booting via an already running U-Boot version. This allows easy development and testing without the need to flash the image each time. Signed-off-by: Stefan Roese <sr@denx.de> [fixed and regenerated defconfig files] Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Diffstat (limited to 'board/gardena/smart-gateway-mt7688/board.c')
-rw-r--r--board/gardena/smart-gateway-mt7688/board.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/board/gardena/smart-gateway-mt7688/board.c b/board/gardena/smart-gateway-mt7688/board.c
new file mode 100644
index 0000000..5ff546f
--- /dev/null
+++ b/board/gardena/smart-gateway-mt7688/board.c
@@ -0,0 +1,17 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (C) 2018 Stefan Roese <sr@denx.de>
+ */
+
+#include <common.h>
+#include <asm/io.h>
+
+int board_early_init_f(void)
+{
+ /*
+ * Nothing to be done here for this board (no UART setup etc)
+ * right now. We might need some pin muxing, so lets keep this
+ * function for now.
+ */
+ return 0;
+}