ARM: i.MX: xload-esdhc: Rework to make code be less i.MX6-specific
Convert imx6_esdhc_start_image() into a generic esdhc_start_image() by making accept already filled "struct esdhc" as well as use esdhc_read_blocks(). With that change, create new imx6_esdhc_start_image() whose sole task is to properly fill a struct esdhc with appropriate offset and to pass it on to esdhc_start_image(). Both changes are made with a goal of simplifying adding support of new SoC in mind (see following commits adding support for i.MX8 as example). NOTE: This commit does not re-implement imx6_esdhc_load_image(), instead opting for dropping it, due to lack of any users in the codebase. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
WIP_next-LS
master
next
stable/v2018.07
stable/v2018.09
stable/v2018.12
v2020.07.0
v2020.06.0
v2020.05.0
v2020.04.0
v2020.03.0
v2020.02.0
v2020.01.0
v2019.12.0
v2019.11.0
v2019.10.0
v2019.09.0
v2019.08.1
v2019.08.0
v2019.07.0
v2019.06.1
v2019.06.0
v2019.05.0
v2019.04.0
v2019.03.0
v2019.02.0
v2019.01.0
v2018.12.0
v2018.11.0
v2018.10.0
v2018.09.1
v2018.09.0
v2018.08.1
v2018.08.0
v2018.07.2
v2018.07.1
v2018.07.0
|
---|
|
arch/arm/mach-imx/include/mach/xload.h |
---|
arch/arm/mach-imx/xload-esdhc.c |
---|