[U-Boot] [PATCH v3 5/5] ARM: at91: atmel_nand: add code to check the ONFI parameter ECC requirement

Scott Wood scottwood at freescale.com
Thu Jul 4 00:12:56 CEST 2013


On 07/02/2013 10:11:49 PM, Josh Wu wrote:
> +		if (!get_onfi_ecc_param(chip, cap, sector_size))
> +			MTDDEBUG(MTD_DEBUG_LEVEL1, "ONFI params,  
> minimum required ECC: %d bits in %d bytes\n",
> +				*cap, *sector_size);

Use braces around multi-line if/loop bodies, even if it's a single  
statement.

Otherwise, ACK this patchset.

-Scott


More information about the U-Boot mailing list