From: Damir Samardzic <damir.samardzic@sartura.hr>
Date: Tue, 24 Apr 2018 06:25:21 +0000 (+0200)
Subject: uboot-envtools: add support for ESPRESSObin and MACCHIATObin
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=bdb0de1bbce235244bcd0503c71886409379f4fc;p=openwrt%2Fstaging%2Fdangole.git

uboot-envtools: add support for ESPRESSObin and MACCHIATObin

Added for convenience. These boards can be used as dev boards running
various operating systems from different media, and this simplifies work
with U-Boot environment.

Signed-off-by: Damir Samardzic <damir.samardzic@sartura.hr>
---

diff --git a/package/boot/uboot-envtools/files/mvebu b/package/boot/uboot-envtools/files/mvebu
index 24ca6798e8..ea9f136a43 100644
--- a/package/boot/uboot-envtools/files/mvebu
+++ b/package/boot/uboot-envtools/files/mvebu
@@ -28,6 +28,10 @@ armada-385-turris-omnia)
 armada-xp-linksys-mamba)
 	ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x40000" "0x20000"
 	;;
+globalscale,espressobin|\
+marvell,armada8040-mcbin)
+	ubootenv_add_uci_config "/dev/mtd0" "0x3f0000" "0x10000" "0x10000" "1"
+	;;
 esac
 
 config_load ubootenv