[U-Boot] [PATCH v2 1/4] mtd: nand: add NAND_BUSWIDTH_AUTO to autodetect bus width
Scott Wood
scottwood at freescale.com
Tue Oct 8 23:26:32 CEST 2013
On Mon, 2013-09-30 at 23:52 +0530, Pekon Gupta wrote:
> @@ -2575,6 +2575,10 @@ static int nand_flash_detect_onfi(struct mtd_info *mtd, struct nand_chip *chip,
> int i;
> int val;
>
> + if (chip->options & NAND_BUSWIDTH_16) {
> + printf("nand: error: ONFI detection works only in x8 mode\n");
> + return 0;
> + }
This should just fail silently, as I may be trying to probe a non-ONFI
16-bit chip (but don't want to disable ONFI support at compile time).
-Scott
More information about the U-Boot
mailing list