[PATCH] ARM: zynqmp: use std_file_update as update handler

Sascha Hauer sha at pengutronix.de
Mon Aug 23 06:53:00 PDT 2021


On Wed, Aug 18, 2021 at 02:58:48PM +0200, Michael Tretter wrote:
> The update handler for zynqmp copies the boot.bin file into an existing
> fat partition. There is already a better implementation by
> bbu_register_std_file_update(). Drop the custom implementation.
> 
> Keep the previous functions with its signature to have an obvious common
> update handler for all ZynqMP boards.
> 
> Suggested-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> Signed-off-by: Michael Tretter <m.tretter at pengutronix.de>
> ---
>  arch/arm/mach-zynqmp/zynqmp-bbu.c | 40 +++----------------------------
>  1 file changed, 3 insertions(+), 37 deletions(-)

Applied, thanks

Sascha


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list