u-boot-brain/board/sunxi
Daniel Kochmański 645c48f50e sunxi: Create helper function veryfing valid boot signature on MMC
This patch extracts checking for valid SD card "eGON.BT0" signature from
`board_mmc_init` into function `sunxi_mmc_has_egon_boot_signature`.

Buffer for mmc sector is allocated and freed at runtime. `panic` is
triggered on malloc failure.

Signed-off-by: Daniel Kochmański <dkochmanski@turtle-solutions.eu>
CC: Roy Spliet <r.spliet@ultimaker.com>
Cc: Ian Campbell <ijc@hellion.org.uk>
[hdegoede@redhat.com: Small bugfix to make it work for devs other then mmc0]
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2015-07-24 16:17:08 +02:00
..
ahci.c ahci: mmio_base is a virtual address 2015-04-18 16:54:29 -04:00
board.c sunxi: Create helper function veryfing valid boot signature on MMC 2015-07-24 16:17:08 +02:00
dram_sun4i_auto.c sunxi: Make DRAM_ODT_EN Kconfig setting a bool 2015-05-19 18:46:44 +02:00
dram_sun5i_auto.c sunxi: Make DRAM_ODT_EN Kconfig setting a bool 2015-05-19 18:46:44 +02:00
dram_timings_sun4i.h sunxi: dram: Optionally use standard JEDEC timings for sun[457]i 2015-02-02 14:04:15 +01:00
gmac.c sunxi: Introduce a hidden SUNXI_GEN_SUNxI Kconfig bool 2015-05-04 16:51:51 +02:00
Kconfig Revert "sunxi/nand: Add support to the SPL for loading u-boot from internal NAND memory" 2015-06-28 11:46:31 -04:00
MAINTAINERS sunxi: Add Sinlinx SinA33 defconfig 2015-07-05 11:32:11 +02:00
Makefile sunxi: Convert sun5i boards to use auto dram configuration 2015-02-02 13:55:14 +01:00