ARM: i.MX: xload-esdhc: Allow custom buffer address, device offset
Add code to support specifying different buffer address and SD/MMC
device offset to read it from in esdhc_start_image(). This change is
needed to support i.MX8.

NOTE: We intentionnaly "emulate" reading at arbitrary offset in
esdhc_start_image() as opposed to implementing it in
esdhc_read_blocks() in order to avoid having to detect if units of
blocks or bytes should be used to specify offset to CMD18.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 50f8837 commit ceb7bc504b6eb80c2fc152d3e21311d01ba918b4
@Andrey Smirnov Andrey Smirnov authored on 7 Jun 2018
Sascha Hauer committed on 11 Jun 2018
Showing 1 changed file
View
arch/arm/mach-imx/xload-esdhc.c