]> git.sur5r.net Git - u-boot/commit
sunxi: Enable a second mmc socket as boot target in the environment
authorKarsten Merker <merker@debian.org>
Wed, 16 Dec 2015 19:59:40 +0000 (20:59 +0100)
committerHans de Goede <hdegoede@redhat.com>
Mon, 21 Dec 2015 19:37:51 +0000 (20:37 +0100)
commit5a37a4007afb56955e247d2f0d5f830bc1623363
treed774a2ca2b21b37ca62ed400fcb6f2303ec4968b
parent2ec62022edbe88a151b100274758f865a70d53bf
sunxi: Enable a second mmc socket as boot target in the environment

Some sunxi-based boards (such as the Olimex A20-SOM-EVB) have a
second MMC socket. This socket is not bootable hardware-wise,
i.e. u-boot itself cannot be loaded from it, but once u-boot has
started, the second socket can be used in the boot process
provided by config_distro_bootcmd.h.

If a second MMC socket is present, place it in the boot order
after the first MMC socket.

Signed-off-by: Karsten Merker <merker@debian.org>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
include/configs/sunxi-common.h