]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
nand_spl: nand_boot.c: Init nand_chip.options to 0
authorStefan Roese <sr@denx.de>
Wed, 4 May 2011 09:44:44 +0000 (11:44 +0200)
committerScott Wood <scottwood@freescale.com>
Fri, 13 May 2011 16:07:49 +0000 (11:07 -0500)
commita89a990159d450765b8a5675e640525bc6258d1b
tree115356b911bbc5b4b53b0c89a4fdd67311d4f94b
parent8370978318337df3979aa0852529d53d77ed736e
nand_spl: nand_boot.c: Init nand_chip.options to 0

Patch 65a9db7b [nand_spl: Fix large page nand_command()] broke
nand booting on canyonlands. "options" has to be initialized to
0. If not, boards might have the NAND_BUSWIDTH_16 bit set,
resulting in wrong offset calculation.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Scott Wood <scottwood@freescale.com>
Cc: Alex Waterman <awaterman@dawning.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
nand_spl/nand_boot.c