meta-aspeed: u-boot-aspeed-sdk: Add eMMC ABR ROM patch

Address errata 80 from E2600-11.pdf in a ROM patch for integration into
the OTP image. A otptool configuration file is provided as an example

Signed-off-by: Neal Liu <neal_liu@aspeedtech.com>
[AJ: Take 098e7ba124184 from https://github.com/AspeedTech-BMC/openbmc]
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I936c60f9db8e36f3213f426aebeb62b72015303c
diff --git a/meta-aspeed/recipes-bsp/u-boot/files/evbA3_emmc_patch.json b/meta-aspeed/recipes-bsp/u-boot/files/evbA3_emmc_patch.json
new file mode 100644
index 0000000..4afb7b2
--- /dev/null
+++ b/meta-aspeed/recipes-bsp/u-boot/files/evbA3_emmc_patch.json
@@ -0,0 +1,45 @@
+{
+    "name": "evb",
+    "version": "A3",
+    "data_region": {
+        "patch": true,
+        "ecc_region": true,
+        "user_data": [
+            {
+                // dw_hex
+                // bin
+                "types": "dw_hex",
+                "file": "emmc_patch.hex",
+                "offset": "0x1B80"
+            }
+        ]
+    },
+    "config_region": {
+        // OTPCFG0[14]
+        // false: Enable patch code
+        // true : Disable patch code
+        "Disable patch code": false,
+        // OTPCFG14[10-0]
+        "Patch code location": "0x6E0",
+        // OTPCFG14[16-11] 24 DW
+        "Patch code size": "0x18"
+    },
+    "otp_strap": {
+        // OTPSTRAP[1]
+        "Enable boot from eMMC": {
+            // false: Disable boot from eMMC
+            // true : Enable boot from eMMC
+            "value": true,
+            "otp_protect": false,
+            "ignore": false
+        },
+        // OTPSTRAP[43]
+        "Enable boot SPI or eMMC ABR": {
+            // false: Disable boot SPI or eMMC ABR
+            // true : Enable boot SPI or eMMC ABR
+            "value": true,
+            "otp_protect": false,
+            "ignore": false
+        }
+    }
+}