
4 Sep
2006
4 Sep
'06
9:09 p.m.
Dear Hans,
in message OFDB2783A0.0E64E142-ONC12571DF.004AD8D6-C12571DF.0052CD21@philips.com you wrote:
The problem is that board_nand_init() is a void function and always succeeds. In our case we would like to check the profile in board_nand_init() and return an error if no NAND exists. Subsequently nand_init_chip() would not do a nand_scan() for a failing board_nand_init(). Attached is what a patch would look like.
Can you keep the information about what is attached where in a (board specific) private data structure?
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
"How is this place run - is it an anarchy?"
"No, I wouldn't say so; it is not that well organised..."