1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-30 15:01:27 +02:00
Files
u-boot-megous/drivers/mmc
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
..
2015-05-05 12:29:36 +03:00
2015-07-21 17:39:25 -06:00
2015-05-05 12:29:36 +03:00
2015-07-21 17:39:25 -06:00
2015-05-05 12:29:36 +03:00
2015-05-05 12:29:36 +03:00
2015-05-05 12:29:36 +03:00
2015-05-05 12:29:36 +03:00
2015-05-05 12:29:36 +03:00
2015-05-05 12:29:36 +03:00
2014-12-05 11:16:22 +09:00
2015-05-05 12:29:36 +03:00