
7 Dec
2011
7 Dec
'11
8:05 p.m.
Dear Wolfgang,
On 07.12.2011 22:45, Wolfgang Denk wrote:
boards, we could at least use a #warn message to advise at compile time that a default value is taken (and at the end, to force the board maintainers to fix it...).
Probably. Wolfgang, Scott, do you think we should add a warning here?
How much space are we talking about? Can it be put on the stack?
Well, currently the code uses 0x200 + CONFIG_SYS_NAND_OOBSIZE bytes but I think a lot of this space is unused. What we really need is CONFIG_SYS_NAND_ECCTOTAL + CONFIG_SYS_NAND_OOBSIZE. This is probably acceptable to put on the stack.
Regards, Ilya.