meta-facebook: tiogapass: add U-Boot patch to match EFI firmware baud rate

This adds a tiogapass-specific patch so that U-Boot and kernel console
are using 57600 to match EFI firmware baud rate.

(From meta-facebook rev: f552fa78ddbf0364fc393cdbc214d8b1742288b3)

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Change-Id: I73e313aad7abd9d3361e14fb560a7b3f41539e55
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/meta-facebook/meta-tiogapass/recipes-bsp/u-boot/u-boot-aspeed/0001-configs-ast-common-use-57600-baud-rate-to-match-Tiog.patch b/meta-facebook/meta-tiogapass/recipes-bsp/u-boot/u-boot-aspeed/0001-configs-ast-common-use-57600-baud-rate-to-match-Tiog.patch
new file mode 100644
index 0000000..4bec6c8
--- /dev/null
+++ b/meta-facebook/meta-tiogapass/recipes-bsp/u-boot/u-boot-aspeed/0001-configs-ast-common-use-57600-baud-rate-to-match-Tiog.patch
@@ -0,0 +1,39 @@
+From 44cdd36855728059e58dcad52b42d825bb1cc2af Mon Sep 17 00:00:00 2001
+From: Paul Fertser <fercerpav@gmail.com>
+Date: Fri, 25 Sep 2020 18:36:45 +0300
+Subject: [PATCH] configs/ast-common: use 57600 baud rate to match Tioga Pass
+ EFI firmware
+
+This is a Tioga Pass specific patch, only for
+meta-facebook/meta-tiogapass layer.
+
+Signed-off-by: Paul Fertser <fercerpav@gmail.com>
+---
+ include/configs/ast-common.h | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/include/configs/ast-common.h b/include/configs/ast-common.h
+index a0243083bd..f0f2ae08b6 100644
+--- a/include/configs/ast-common.h
++++ b/include/configs/ast-common.h
+@@ -56,7 +56,7 @@
+ #define CONFIG_SYS_LOADS_BAUD_CHANGE
+ #define CONFIG_SERIAL1				1
+ #define CONFIG_CONS_INDEX			1
+-#define CONFIG_BAUDRATE				115200
++#define CONFIG_BAUDRATE				57600
+ 
+ /*
+  * BOOTP options
+@@ -96,7 +96,7 @@
+ #define CONFIG_CMD_MTDPARTS
+ #endif
+ 
+-#define CONFIG_BOOTARGS			"console=ttyS4,115200n8 root=/dev/ram rw"
++#define CONFIG_BOOTARGS			"console=ttyS4,57600n8 root=/dev/ram rw"
+ 
+ #define CONFIG_AST_SPI_NOR    /* AST SPI NOR Flash */
+ #define CONFIG_FMC_CS			1
+-- 
+2.17.1
+
diff --git a/meta-facebook/meta-tiogapass/recipes-bsp/u-boot/u-boot-aspeed_%.bbappend b/meta-facebook/meta-tiogapass/recipes-bsp/u-boot/u-boot-aspeed_%.bbappend
new file mode 100644
index 0000000..b9bf0af
--- /dev/null
+++ b/meta-facebook/meta-tiogapass/recipes-bsp/u-boot/u-boot-aspeed_%.bbappend
@@ -0,0 +1,2 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+SRC_URI += "file://0001-configs-ast-common-use-57600-baud-rate-to-match-Tiog.patch"
diff --git a/meta-facebook/meta-tiogapass/recipes-bsp/u-boot/u-boot-fw-utils-aspeed_%.bbappend b/meta-facebook/meta-tiogapass/recipes-bsp/u-boot/u-boot-fw-utils-aspeed_%.bbappend
new file mode 100644
index 0000000..f24fe5e
--- /dev/null
+++ b/meta-facebook/meta-tiogapass/recipes-bsp/u-boot/u-boot-fw-utils-aspeed_%.bbappend
@@ -0,0 +1,2 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/u-boot-aspeed:"
+SRC_URI += "file://0001-configs-ast-common-use-57600-baud-rate-to-match-Tiog.patch"