
13 Aug
2010
13 Aug
'10
4:38 p.m.
Hello.
Vitaly Kuzmichev wrote:
Rogan Dawes wrote:
+#define DEBUG +#undef DEBUG
Eh?
Such thing is used to let someone know that this driver supports debug output through native U-Boot macros. So one need to comment #undef to compile ether.c with debug messages. There are at least 67 files in U-Boot that use such construction.
I'd suggest leaving just #undef DEBUG (which can be edited into #define DEBUG if desired)...
WBR, Sergei