Move to u-boot v2016.07-aspeed-openbmc branch

This moves all machines to a new u-boot branch. The u-boot branch is
based on this month's upstream v2016.07 release, and contains cleanups
that get us closer to submitting upstream.

Importantly for the machine configurations, we now have four new
defconfigs that replace the previous targets:

 - ast_g4_ncsi_defconfig: ast2400 with NCSI networking
 - ast_g4_phy_defconfig: ast2400 with directly attached PHY networking
 - ast_g5_ncsi_defconfig: ast2500 with NCSI networking
 - ast_g5_phy_defconfig: ast2500 with directly attached PHY networking

We now support Firestone again with the ast_g4_phy_defconfig.

This commit updates all machines to the new branch and defconfig. It
also removes unused patches that were being made to u-boot, in the case
of barreleye (a patch to aspeednic.c) and palmetto (a modification to
the u-boot environment).

Change-Id: Ic4baf9ae0d5f4046e69cab99d54865771b01cd2a
Signed-off-by: Joel Stanley <joel@jms.id.au>
diff --git a/meta-phosphor/common/recipes-bsp/u-boot/u-boot-mkimage_2016.07.bb b/meta-phosphor/common/recipes-bsp/u-boot/u-boot-mkimage_2016.07.bb
new file mode 100644
index 0000000..0fece54
--- /dev/null
+++ b/meta-phosphor/common/recipes-bsp/u-boot/u-boot-mkimage_2016.07.bb
@@ -0,0 +1,29 @@
+SUMMARY = "U-Boot bootloader image creation tool"
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
+SECTION = "bootloader"
+
+DEPENDS = "openssl"
+
+SRCREV = "f9b2a49f57c153c7358f9769234c0cefdf4de8d4"
+UBRANCH = "v2016.07-aspeed-openbmc"
+SRC_URI = "git://git@github.com/openbmc/u-boot.git;branch=${UBRANCH};protocol=https"
+
+PV = "v2016.07+git${SRCPV}"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OEMAKE = 'CROSS_COMPILE="${TARGET_PREFIX}" CC="${CC} ${CFLAGS} ${LDFLAGS}" STRIP=true V=1'
+
+do_compile () {
+	oe_runmake sandbox_defconfig
+	oe_runmake cross_tools NO_SDL=1
+}
+
+do_install () {
+	install -d ${D}${bindir}
+	install -m 0755 tools/mkimage ${D}${bindir}/uboot-mkimage
+	ln -sf uboot-mkimage ${D}${bindir}/mkimage
+}
+
+BBCLASSEXTEND = "native nativesdk"