aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-sunxi/patches/100-sun6i-alternate-on-UART2.patch
diff options
context:
space:
mode:
authorZoltan Herpai <wigyori@uid0.hu>2016-03-29 11:42:14 +0000
committerZoltan Herpai <wigyori@uid0.hu>2016-03-29 11:42:14 +0000
commit2d4ebff3ad9b298837782b790ac5aea941c2a255 (patch)
tree8febe14ffb923147afec2dfe978760bfbc9882a2 /package/boot/uboot-sunxi/patches/100-sun6i-alternate-on-UART2.patch
parentd1aa4bfe1ddd52c52eb6314155245121078399a1 (diff)
downloadupstream-2d4ebff3ad9b298837782b790ac5aea941c2a255.tar.gz
upstream-2d4ebff3ad9b298837782b790ac5aea941c2a255.tar.bz2
upstream-2d4ebff3ad9b298837782b790ac5aea941c2a255.zip
package: uboot-sunxi: various changes - bump to 2016.03 - add bugfixes related to 2016.03 update - sync DTS files with mainline - add support for non-standard uEnv.txt - add initial support for Theobroma A31-yQ7 devboard
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 49089
Diffstat (limited to 'package/boot/uboot-sunxi/patches/100-sun6i-alternate-on-UART2.patch')
-rw-r--r--package/boot/uboot-sunxi/patches/100-sun6i-alternate-on-UART2.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/boot/uboot-sunxi/patches/100-sun6i-alternate-on-UART2.patch b/package/boot/uboot-sunxi/patches/100-sun6i-alternate-on-UART2.patch
new file mode 100644
index 0000000000..46c497269a
--- /dev/null
+++ b/package/boot/uboot-sunxi/patches/100-sun6i-alternate-on-UART2.patch
@@ -0,0 +1,21 @@
+From d7311b6e7cdd1fc0e92665188e650934718cb2b1 Mon Sep 17 00:00:00 2001
+From: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
+Date: Tue, 16 Jun 2015 10:52:01 +0200
+Subject: sun6i: define alternate-function for UART2 on GPG
+
+
+diff --git a/arch/arm/include/asm/arch-sunxi/gpio.h b/arch/arm/include/asm/arch-sunxi/gpio.h
+index 8e67b3b..1fbf494 100644
+--- a/arch/arm/include/asm/arch-sunxi/gpio.h
++++ b/arch/arm/include/asm/arch-sunxi/gpio.h
+@@ -177,6 +177,7 @@ enum sunxi_gpio_number {
+ #define SUN6I_GPG_SDC1 2
+ #define SUN8I_GPG_SDC1 2
+ #define SUN6I_GPG_TWI3 2
++#define SUN6I_GPG_UART2 2
+ #define SUN5I_GPG_UART1 4
+
+ #define SUN4I_GPH_SDC1 5
+--
+cgit v0.10.2
+