summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2019-03-26 11:20:35 +0100
committerNeil Armstrong <narmstrong@baylibre.com>2019-04-10 16:50:46 +0200
commit4a327e832917c1c27ed2b7fda0d24d34b137ff60 (patch)
tree3bb054f5ab237ca46b1229454173a1d257b1df7c /include
parent91fe071cd07a16367a574909cc1e900462da2651 (diff)
downloadu-boot-4a327e832917c1c27ed2b7fda0d24d34b137ff60.tar.gz
u-boot-4a327e832917c1c27ed2b7fda0d24d34b137ff60.tar.xz
u-boot-4a327e832917c1c27ed2b7fda0d24d34b137ff60.zip
boards: Amlogic: Add support for Libretech-AC
LibreTech AC is a single board computer manufactured by Libre Technology with the following specifications: - Amlogic S805X ARM Cortex-A53 quad-core SoC @ 1.2GHz - ARM Mali 450 GPU - 512MiB DDR4 SDRAM - 10/100 Ethernet - HDMI 2.0 4K/60Hz display - 40-pin GPIO header - 4 x USB 2.0 Host - eMMC, SPI NOR Flash - Infrared receiver The u-boot specific code is the same as the P212 support, so use the P212 board support code with a distinct defconfig and config include files. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/libretech-ac.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/configs/libretech-ac.h b/include/configs/libretech-ac.h
new file mode 100644
index 0000000000..419dc61587
--- /dev/null
+++ b/include/configs/libretech-ac.h
@@ -0,0 +1,24 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Configuration for LibreTech AC
+ *
+ * Copyright (C) 2017 Baylibre, SAS
+ * Author: Neil Armstrong <narmstrong@baylibre.com>
+ */
+
+#ifndef __CONFIG_H
+#define __CONFIG_H
+
+#define CONFIG_ENV_SECT_SIZE 0x10000
+#define CONFIG_ENV_OFFSET (-0x10000)
+
+#define BOOT_TARGET_DEVICES(func) \
+ func(ROMUSB, romusb, na) \
+ func(MMC, mmc, 0) \
+ BOOT_TARGET_DEVICES_USB(func) \
+ func(PXE, pxe, na) \
+ func(DHCP, dhcp, na)
+
+#include <configs/meson64.h>
+
+#endif /* __CONFIG_H */