aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-sunxi/patches/101-sun6i-support-console-on-UART2.patch
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2020-03-16 14:47:07 +0100
committerPetr Štetiar <ynezz@true.cz>2020-03-28 13:03:02 +0100
commit48436953e9f25fced7a14d0e92fadb22ebe8ba50 (patch)
tree970953997a576cd2df1b4ba2a9b14b647c6ef9b0 /package/boot/uboot-sunxi/patches/101-sun6i-support-console-on-UART2.patch
parent5fbcb52648ccc2a012e464b9ca8928e5dd8812ea (diff)
downloadupstream-48436953e9f25fced7a14d0e92fadb22ebe8ba50.tar.gz
upstream-48436953e9f25fced7a14d0e92fadb22ebe8ba50.tar.bz2
upstream-48436953e9f25fced7a14d0e92fadb22ebe8ba50.zip
uboot-sunxi: bump to 2020.01
Refreshed patches, removed following, probably obsolete patches: 221-compatible-old-dtc.patch 240-sun50i-h5-Orange-Pi-Zero-Plus-Fix-SdCard-detection.patch Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'package/boot/uboot-sunxi/patches/101-sun6i-support-console-on-UART2.patch')
-rw-r--r--package/boot/uboot-sunxi/patches/101-sun6i-support-console-on-UART2.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/boot/uboot-sunxi/patches/101-sun6i-support-console-on-UART2.patch b/package/boot/uboot-sunxi/patches/101-sun6i-support-console-on-UART2.patch
index b922690845..823c156809 100644
--- a/package/boot/uboot-sunxi/patches/101-sun6i-support-console-on-UART2.patch
+++ b/package/boot/uboot-sunxi/patches/101-sun6i-support-console-on-UART2.patch
@@ -6,7 +6,7 @@ Subject: ARM: sun6i: Support console on UART2 (GPG6/GPG7)
--- a/arch/arm/mach-sunxi/board.c
+++ b/arch/arm/mach-sunxi/board.c
-@@ -127,6 +127,10 @@ static int gpio_init(void)
+@@ -129,6 +129,10 @@ static int gpio_init(void)
sunxi_gpio_set_cfgpin(SUNXI_GPG(3), SUN5I_GPG_UART1);
sunxi_gpio_set_cfgpin(SUNXI_GPG(4), SUN5I_GPG_UART1);
sunxi_gpio_set_pull(SUNXI_GPG(4), SUNXI_GPIO_PULL_UP);
@@ -19,7 +19,7 @@ Subject: ARM: sun6i: Support console on UART2 (GPG6/GPG7)
sunxi_gpio_set_cfgpin(SUNXI_GPB(1), SUN8I_GPB_UART2);
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
-@@ -258,6 +258,8 @@ extern int soft_i2c_gpio_scl;
+@@ -244,6 +244,8 @@ extern int soft_i2c_gpio_scl;
#endif
#elif CONFIG_CONS_INDEX == 2 && defined(CONFIG_MACH_SUN5I)
#define OF_STDOUT_PATH "/soc@01c00000/serial@01c28400:115200"