
6 Jun
2005
6 Jun
'05
6:37 p.m.
Dear Yuli,
in message 17060.29833.578253.397330@astp0002.localdomain you wrote:
different boards. In real world, CFG_MONITOR_LEN and CFG_ENV_SECT_SIZE must be specified in compile time so different flashes can result in
You can define a CFG_MONITOR_LEN that matches all supported boards; CFG_ENV_SECT_SIZE is more difficult to handle.
different images. I'd like to remove these compile time values. Any ideas if and how it's possible?
The problem is that in the current code a lot of dependency checking is doen at compile time. This is *intentional* to keep the code size minimal. If you can figure out how to avoid #defined CFG_ENV_* settings while *not* increasing the code size your patches will be welcome.
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
Programmer's Lament: (Shakespeare, Macbeth, Act I, Scene vii)
"That we but teach bloody instructions,
which, being taught, return to plague the inventor..."