aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-sunxi/patches/002-add-olimex-a13-som.diff
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2016-10-31 20:19:27 +0100
committerJo-Philipp Wich <jo@mein.io>2016-11-02 02:11:19 +0100
commit7a5897268008a85c3843ae522b2b274911a9eec0 (patch)
tree63fb9c4aecb720286599da6dbfe4816b6b319932 /package/boot/uboot-sunxi/patches/002-add-olimex-a13-som.diff
parent12d15fa8a5096913927d75958d0ed3af9d963e73 (diff)
downloadupstream-7a5897268008a85c3843ae522b2b274911a9eec0.tar.gz
upstream-7a5897268008a85c3843ae522b2b274911a9eec0.tar.bz2
upstream-7a5897268008a85c3843ae522b2b274911a9eec0.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/002-add-olimex-a13-som.diff')
-rw-r--r--package/boot/uboot-sunxi/patches/002-add-olimex-a13-som.diff20
1 files changed, 0 insertions, 20 deletions
diff --git a/package/boot/uboot-sunxi/patches/002-add-olimex-a13-som.diff b/package/boot/uboot-sunxi/patches/002-add-olimex-a13-som.diff
deleted file mode 100644
index a8c5b3d938..0000000000
--- a/package/boot/uboot-sunxi/patches/002-add-olimex-a13-som.diff
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -ruN u-boot-2015.01.old/configs/OLIMEX_A13_SOM_defconfig u-boot-2015.01/configs/OLIMEX_A13_SOM_defconfig
---- u-boot-2015.01.old/configs/OLIMEX_A13_SOM_defconfig 1970-01-01 01:00:00.000000000 +0100
-+++ u-boot-2015.01/configs/OLIMEX_A13_SOM_defconfig 2015-01-18 16:25:11.908986082 +0100
-@@ -0,0 +1,16 @@
-+CONFIG_SPL=y
-+CONFIG_SYS_EXTRA_OPTIONS="CONS_INDEX=2,NO_AXP,USB_EHCI"
-+CONFIG_DEFAULT_DEVICE_TREE="sun5i-a13-olinuxino"
-+CONFIG_ARM=y
-+CONFIG_ARCH_SUNXI=y
-+CONFIG_MACH_SUN5I=y
-+CONFIG_DRAM_CLK=408
-+CONFIG_DRAM_ZQ=123
-+CONFIG_DRAM_EMR1=0
-+# CONFIG_CMD_IMLS is not set
-+# CONFIG_CMD_FLASH is not set
-+# CONFIG_CMD_FPGA is not set
-+CONFIG_DM_SERIAL=y
-+CONFIG_USB=y
-+CONFIG_DM_USB=y
-+CONFIG_SYS_NS16550=y