aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-sunxi/patches/016-spl-print-mmc-slot.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
commit73b5446e9a64adb1cc55da1982447251babe2076 (patch)
treedda18363491e6f9961f7bf8f0aa01fab18bf5cc3 /package/boot/uboot-sunxi/patches/016-spl-print-mmc-slot.patch
parent5c2c0d25018a6207430e6199ce068ae723ae98d3 (diff)
downloadmaster-187ad058-73b5446e9a64adb1cc55da1982447251babe2076.tar.gz
master-187ad058-73b5446e9a64adb1cc55da1982447251babe2076.tar.bz2
master-187ad058-73b5446e9a64adb1cc55da1982447251babe2076.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49089 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/boot/uboot-sunxi/patches/016-spl-print-mmc-slot.patch')
-rw-r--r--package/boot/uboot-sunxi/patches/016-spl-print-mmc-slot.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/package/boot/uboot-sunxi/patches/016-spl-print-mmc-slot.patch b/package/boot/uboot-sunxi/patches/016-spl-print-mmc-slot.patch
new file mode 100644
index 0000000000..65b1fd1c07
--- /dev/null
+++ b/package/boot/uboot-sunxi/patches/016-spl-print-mmc-slot.patch
@@ -0,0 +1,33 @@
+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(-)
+
+diff --git a/common/spl/spl.c b/common/spl/spl.c
+index e5167bf..82e7f58 100644
+--- 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" },