[U-Boot-Users] [PATCH] Updates NAND Flash controller support in PPC 440 EP/GR/x

Jeff Mann MannJ at embeddedplanet.com
Wed Oct 18 23:38:02 CEST 2006


Stefan:
>Please give the attached version a try and let me know if it works for
you. If nobody objects this will go into the official tree soon.

It looks good, but I see one minor problem: in nand_init(...) in
drivers/nand/nand.c, nand_curr_device is set to the first nand device
that is found. In the nand flash controller driver board_nand_init(...),
the chip select is set. So after two or more devices are found, the chip
select is left set to the last device while nand_curr_device is set for
the first. A call to board_nand_select_device(...) is needed at the end
of nand_init(...) to set the chip selects correctly.

-Jeff




More information about the U-Boot mailing list