
20 Jun
2011
20 Jun
'11
6:17 p.m.
Dear Sughosh,
I guess this is the same as nand_spl. Do you use nand_boot.c in the spl code. This file has the nand_chip object declared as a local variable on the stack, and not bss.
I first tried to use the standard NAND implementation - but I think you are right - using nand_spl implementation is much smaller. the auto recognition functions are nice but the trade-off in size is huge.
I solved the problem - it was the .bss section not initialized to zero - thanks for the hint!
Regards Simon