[PATCH 1/2] imx-bbu-nand-fcb: do not use hardcoded devicefile

Sascha Hauer s.hauer at pengutronix.de
Wed Mar 5 03:14:47 PST 2025


Hi Stefano,

I merged both patches into one to avoid intermediate breakage.

On Fri, Feb 21, 2025 at 07:01:08PM +0100, Stefano Manni wrote:
> @@ -1599,7 +1607,8 @@ static int imx7_fcb_write(struct mtd_info *mtd, int block, struct fcb_block *fcb
>  	return mxs_nand_write_fcb_bch62(block, fcb, sizeof(*fcb));
>  }
>  
> -int imx7_bbu_nand_register_handler(const char *name, unsigned long flags)
> +int imx7_bbu_nand_register_handler(const char *name
> +	   const char *devicefile, unsigned long flags)
>  {

Also added the missing comma after *name

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