
20 Apr
2008
20 Apr
'08
3:14 a.m.
In message 20080418160157.GB12486@game.jcrosoft.org you wrote:
+#if defined(CFG_FLASH_AUTOPROTECT_LIST)
- struct apl_s {
ulong start;
ulong size;
- } apl[] = CFG_FLASH_AUTOPROTECT_LIST;
+#endif
I think it will be better to create a weak structure.
In the interest of memory footprint I prefer to stick with the #ifdef here.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Motto of the Electrical Engineer: Working computer hardware is a lot
like an erect penis: it stays up as long as you don't fuck with it.