mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
7a58972680
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>
32 lines
1.0 KiB
Diff
32 lines
1.0 KiB
Diff
From 8f10b5c65611e6c15a113bf63289b6696452f90d Mon Sep 17 00:00:00 2001
|
|
From: Hans de Goede <hdegoede@redhat.com>
|
|
Date: Sun, 20 Mar 2016 14:17:10 +0100
|
|
Subject: [PATCH] spl: Print from which mmc slot spl is trying to boot
|
|
|
|
On some sunxi boards (and presumably also non sunxi boards) u-boot can
|
|
be either loaded from a sdcard in a micro-sd slot, or from eMMC.
|
|
|
|
Print which MMC spl tries to boot from, to help debugging.
|
|
|
|
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
|
|
Reviewed-by: Tom Rini <trini@konsulko.com>
|
|
---
|
|
common/spl/spl.c | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
--- a/common/spl/spl.c
|
|
+++ b/common/spl/spl.c
|
|
@@ -210,9 +210,9 @@ struct boot_device_name boot_name_table[
|
|
{ BOOT_DEVICE_RAM, "RAM" },
|
|
#endif
|
|
#ifdef CONFIG_SPL_MMC_SUPPORT
|
|
- { BOOT_DEVICE_MMC1, "MMC" },
|
|
- { BOOT_DEVICE_MMC2, "MMC" },
|
|
- { BOOT_DEVICE_MMC2_2, "MMC" },
|
|
+ { BOOT_DEVICE_MMC1, "MMC1" },
|
|
+ { BOOT_DEVICE_MMC2, "MMC2" },
|
|
+ { BOOT_DEVICE_MMC2_2, "MMC2_2" },
|
|
#endif
|
|
#ifdef CONFIG_SPL_NAND_SUPPORT
|
|
{ BOOT_DEVICE_NAND, "NAND" },
|