aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-sunxi/patches/101-sun6i-support-console-on-UART2.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2018-02-09 23:58:06 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2018-02-10 15:39:00 +0100
commitf142de5f44bcba8cb0f12e5b1fd26cd9867cf866 (patch)
tree84573fd61ccd78cc238b9927f394207b91fdf5e1 /package/boot/uboot-sunxi/patches/101-sun6i-support-console-on-UART2.patch
parent175538ffdb6605f7485750f9058f3815eb07bb89 (diff)
downloadupstream-f142de5f44bcba8cb0f12e5b1fd26cd9867cf866.tar.gz
upstream-f142de5f44bcba8cb0f12e5b1fd26cd9867cf866.tar.bz2
upstream-f142de5f44bcba8cb0f12e5b1fd26cd9867cf866.zip
uboot-sunxi: refresh patches
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
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 d140f2d538..c1ba07eec5 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
-@@ -126,6 +126,10 @@ static int gpio_init(void)
+@@ -124,6 +124,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
-@@ -259,6 +259,8 @@ extern int soft_i2c_gpio_scl;
+@@ -256,6 +256,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"