[U-Boot] [RESEND PATCH v4 2/3] mtd, nand: move common functions from cmd_nand.c to common place

Scott Wood scottwood at freescale.com
Mon Apr 13 22:32:38 CEST 2015


On Sun, 2015-04-12 at 10:12 +0200, Heiko Schocher wrote:
> @@ -595,7 +491,10 @@ static int do_nand(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
>  		printf("\nNAND %s: ", cmd);
>  		/* skip first two or three arguments, look for offset and size */
>  		if (arg_off_size(argc - o, argv + o, &dev, &off, &size,
> -				 &maxsize) != 0)
> +		    &maxsize, MTD_DEV_TYPE_NAND, nand_info[dev].size) != 0)

Please keep the continuation line aligned with the arguments, not the
function name (here and elsewhere).

-Scott




More information about the U-Boot mailing list