u-boot: add common inc file

SRCREV, SRC_URI, UBRANCH, etc. were duplicated across 3 recipes
so move them to a common include file.

Change-Id: I2a5e8e26b7d1aca3a2da285023812b555fe38407
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/common/recipes-bsp/u-boot/u-boot-fw-utils_2016.07.bb b/common/recipes-bsp/u-boot/u-boot-fw-utils_2016.07.bb
index 2dd34ea..251e044 100644
--- a/common/recipes-bsp/u-boot/u-boot-fw-utils_2016.07.bb
+++ b/common/recipes-bsp/u-boot/u-boot-fw-utils_2016.07.bb
@@ -1,14 +1,9 @@
 SUMMARY = "U-Boot bootloader fw_printenv/setenv utilities"
 LICENSE = "GPLv2+"
-LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
 SECTION = "bootloader"
 DEPENDS = "mtd-utils"
 
-SRCREV = "a5e0a21ed4b62ab4d8ff09f70b751db0f46ddaac"
-UBRANCH = "v2016.07-aspeed-openbmc"
-SRC_URI = "git://git@github.com/openbmc/u-boot.git;branch=${UBRANCH};protocol=https"
-
-PV = "v2016.07+git${SRCPV}"
+require u-boot.inc
 
 S = "${WORKDIR}/git"
 
diff --git a/common/recipes-bsp/u-boot/u-boot-mkimage_2016.07.bb b/common/recipes-bsp/u-boot/u-boot-mkimage_2016.07.bb
index 715eaf4..7f40435 100644
--- a/common/recipes-bsp/u-boot/u-boot-mkimage_2016.07.bb
+++ b/common/recipes-bsp/u-boot/u-boot-mkimage_2016.07.bb
@@ -1,15 +1,10 @@
 SUMMARY = "U-Boot bootloader image creation tool"
 LICENSE = "GPLv2+"
-LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
 SECTION = "bootloader"
 
 DEPENDS = "openssl"
 
-SRCREV = "a5e0a21ed4b62ab4d8ff09f70b751db0f46ddaac"
-UBRANCH = "v2016.07-aspeed-openbmc"
-SRC_URI = "git://git@github.com/openbmc/u-boot.git;branch=${UBRANCH};protocol=https"
-
-PV = "v2016.07+git${SRCPV}"
+require u-boot.inc
 
 S = "${WORKDIR}/git"
 
diff --git a/common/recipes-bsp/u-boot/u-boot.inc b/common/recipes-bsp/u-boot/u-boot.inc
new file mode 100644
index 0000000..4c5e302
--- /dev/null
+++ b/common/recipes-bsp/u-boot/u-boot.inc
@@ -0,0 +1,7 @@
+LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
+
+SRCREV = "a5e0a21ed4b62ab4d8ff09f70b751db0f46ddaac"
+UBRANCH = "v2016.07-aspeed-openbmc"
+SRC_URI = "git://git@github.com/openbmc/u-boot.git;branch=${UBRANCH};protocol=https"
+
+PV = "v2016.07+git${SRCPV}"
diff --git a/common/recipes-bsp/u-boot/u-boot_2016.07.bb b/common/recipes-bsp/u-boot/u-boot_2016.07.bb
index 5213a4f..884758a 100644
--- a/common/recipes-bsp/u-boot/u-boot_2016.07.bb
+++ b/common/recipes-bsp/u-boot/u-boot_2016.07.bb
@@ -1,10 +1,4 @@
 require recipes-bsp/u-boot/u-boot.inc
+require u-boot.inc
 
-LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
 DEPENDS += "dtc-native"
-
-SRCREV = "a5e0a21ed4b62ab4d8ff09f70b751db0f46ddaac"
-UBRANCH = "v2016.07-aspeed-openbmc"
-SRC_URI = "git://git@github.com/openbmc/u-boot.git;branch=${UBRANCH};protocol=https"
-
-PV = "v2016.07+git${SRCPV}"