[PATCH 0/7] Add i.MX7 NAND boot support

Johannes Zink j.zink at pengutronix.de
Fri Sep 30 06:21:20 PDT 2022


On Fri, 2022-09-30 at 14:15 +0200, Sascha Hauer wrote:
> NAND boot on i.MX7 is the same as on i.MX6, just a little different.
> This series adds a barebox update handler to allow writing barebox
> to NAND flash.
> 
> Sascha
> 
> Johannes Zink (4):
>   mtd: nand-mxs: refactor flash layout configuration
>   mtd: nand-mxs: add i.MX7 FCB write support
>   imx-bbu-nand-fcb: isolate i.MX28 specific parts
>   imx-bbu-nand-fcb: extend for i.MX7 support
> 
> Sascha Hauer (3):
>   mtd: nand-mxs: Factor out a bch read function
>   imx-bbu-nand-fcb: pass imx_handler further down
>   imx-bbu-nand-fcb: add fcb_read/fcb_write function hooks
> 
>  arch/arm/mach-imx/include/mach/imx7-regs.h |   3 +
>  common/Kconfig                             |   2 +-
>  common/imx-bbu-nand-fcb.c                  | 267 ++++++++++++++----
>  drivers/mtd/nand/nand_mxs.c                | 297 ++++++++++++++++++-
> --
>  include/bbu.h                              |   5 +
>  include/linux/mtd/nand_mxs.h               |   4 +
>  include/soc/imx/imx-nand-bcb.h             |  11 +
>  7 files changed, 492 insertions(+), 97 deletions(-)
> 

Tested-by: Johannes Zink <j.zink at pengutronix.de> # innocomm S810
(i.MX7D)

-- 
Pengutronix e.K.                | Johannes Zink                  |
Steuerwalder Str. 21            | https://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