diff options
author | Howard Chiu <howard.chiu@quantatw.com> | 2021-08-02 06:34:51 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2021-08-05 05:19:33 +0300 |
commit | 9f1ff12060761de2b063c042a194d3030ef1e15a (patch) | |
tree | 231d5179b3454723beb5336de81beac3aae06577 /meta-facebook | |
parent | 33109174ab92b491001a95d5e51ec7f04e7e8e6c (diff) | |
download | openbmc-9f1ff12060761de2b063c042a194d3030ef1e15a.tar.xz |
meta-bletchley: configure 57600 baudrate
Specific patch for bletchley only
Change-Id: Ic059caf023a305e137a01fda5b9cc6e6d9299849
Signed-off-by: Howard Chiu <howard.chiu@quantatw.com>
Diffstat (limited to 'meta-facebook')
3 files changed, 41 insertions, 0 deletions
diff --git a/meta-facebook/meta-bletchley/recipes-bsp/u-boot/u-boot-aspeed-sdk/0001-u-boot-ast2600-57600-baudrate-for-bletchley.patch b/meta-facebook/meta-bletchley/recipes-bsp/u-boot/u-boot-aspeed-sdk/0001-u-boot-ast2600-57600-baudrate-for-bletchley.patch new file mode 100644 index 000000000..46f892908 --- /dev/null +++ b/meta-facebook/meta-bletchley/recipes-bsp/u-boot/u-boot-aspeed-sdk/0001-u-boot-ast2600-57600-baudrate-for-bletchley.patch @@ -0,0 +1,31 @@ +From 12e9371e44b922e0383dba3a231a21b82ca03368 Mon Sep 17 00:00:00 2001 +From: Howard <howard.chiu@quantatw.com> +Date: Wed, 4 Aug 2021 14:08:14 +0800 +Subject: [PATCH] u-boot: ast2600: 57600 baudrate for bletchley + +Specific patch for bletchley only +--- + configs/ast2600_openbmc_spl_defconfig | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/configs/ast2600_openbmc_spl_defconfig b/configs/ast2600_openbmc_spl_defconfig +index c1ed4f54d5..2257673e16 100644 +--- a/configs/ast2600_openbmc_spl_defconfig ++++ b/configs/ast2600_openbmc_spl_defconfig +@@ -35,7 +35,7 @@ CONFIG_ARMV7_PSCI_NR_CPUS=2 + CONFIG_NR_DRAM_BANKS=1 + CONFIG_FIT=y + CONFIG_USE_BOOTARGS=y +-CONFIG_BOOTARGS="console=ttyS4,115200n8 root=/dev/ram rw" ++CONFIG_BOOTARGS="console=ttyS4,57600n8 root=/dev/ram rw" + CONFIG_USE_BOOTCOMMAND=y + CONFIG_BOOTCOMMAND="bootm 20100000" + CONFIG_SYS_CONSOLE_ENV_OVERWRITE=y +@@ -133,3 +133,4 @@ CONFIG_USE_TINY_PRINTF=y + CONFIG_TPM=y + CONFIG_SPL_TPM=y + # CONFIG_EFI_LOADER is not set ++CONFIG_BAUDRATE=57600 +-- +2.25.1 + diff --git a/meta-facebook/meta-bletchley/recipes-bsp/u-boot/u-boot-aspeed-sdk_%.bbappend b/meta-facebook/meta-bletchley/recipes-bsp/u-boot/u-boot-aspeed-sdk_%.bbappend new file mode 100644 index 000000000..2789df998 --- /dev/null +++ b/meta-facebook/meta-bletchley/recipes-bsp/u-boot/u-boot-aspeed-sdk_%.bbappend @@ -0,0 +1,5 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI += " \ + file://0001-u-boot-ast2600-57600-baudrate-for-bletchley.patch \ + " diff --git a/meta-facebook/meta-bletchley/recipes-bsp/u-boot/u-boot-fw-utils-aspeed-sdk_%.bbappend b/meta-facebook/meta-bletchley/recipes-bsp/u-boot/u-boot-fw-utils-aspeed-sdk_%.bbappend new file mode 100644 index 000000000..b7bdbd200 --- /dev/null +++ b/meta-facebook/meta-bletchley/recipes-bsp/u-boot/u-boot-fw-utils-aspeed-sdk_%.bbappend @@ -0,0 +1,5 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/u-boot-aspeed-sdk:" + +SRC_URI += " \ + file://0001-u-boot-ast2600-57600-baudrate-for-bletchley.patch \ + " |