aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-sunxi/patches/100-sun6i-alternate-on-UART2.patch
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2016-11-23 16:21:50 +0100
committerZoltan HERPAI <wigyori@uid0.hu>2016-11-23 16:21:50 +0100
commit9e2f8fa1e5df297c172ce1472eb076c3c0b27cad (patch)
treed87851afa0c09b71ff6685b56fc49837f6815517 /package/boot/uboot-sunxi/patches/100-sun6i-alternate-on-UART2.patch
parentce116bc6f997d8d6e6b976cacce5d4c60d705fc6 (diff)
downloadmaster-187ad058-9e2f8fa1e5df297c172ce1472eb076c3c0b27cad.tar.gz
master-187ad058-9e2f8fa1e5df297c172ce1472eb076c3c0b27cad.tar.bz2
master-187ad058-9e2f8fa1e5df297c172ce1472eb076c3c0b27cad.zip
uboot-sunxi: fix default config for OLIMEX A13 SOM (FS#239)
The current uboot default config for the A13 SOM erroneously enables support for the AXP209 power regulator IC which is not present on the board. This superfluous support module sets an incorrect initial clock frequency and confuses the kernel, ultimately leading to a boot failure later on. Properly disable the PMIC support and enable the EHCI support by translating the deprecated SYS_EXTRA_OPTIONS values into proper SUNXI_NO_PMIC and USB_EHCI_HCD symbols respectively. Also rename 002-add-olimex-a13-som.diff to 002-add-olimex-a13-som.patch and refresh the remaining patches of the series while we're at it. Reported-by: Mario Fischer <mario-fischer@web.de> Signed-off-by: Jo-Philipp Wich <jo@mein.io>
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.patch7
1 files changed, 1 insertions, 6 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
index 46c497269a..bf5dc66e1a 100644
--- a/package/boot/uboot-sunxi/patches/100-sun6i-alternate-on-UART2.patch
+++ b/package/boot/uboot-sunxi/patches/100-sun6i-alternate-on-UART2.patch
@@ -4,11 +4,9 @@ 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 {
+@@ -180,6 +180,7 @@ enum sunxi_gpio_number {
#define SUN6I_GPG_SDC1 2
#define SUN8I_GPG_SDC1 2
#define SUN6I_GPG_TWI3 2
@@ -16,6 +14,3 @@ index 8e67b3b..1fbf494 100644
#define SUN5I_GPG_UART1 4
#define SUN4I_GPH_SDC1 5
---
-cgit v0.10.2
-