From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergei Shtylyov Date: Fri, 13 Aug 2010 18:38:12 +0400 Subject: [U-Boot] [PATCH v2 3/8] USB-CDC: Use native debug printout macros In-Reply-To: <4C6544B9.3000503@mvista.com> References: <1281617086-21220-1-git-send-email-vkuzmichev@mvista.com> <1281704276-29115-1-git-send-email-vkuzmichev@mvista.com> <4C6542A3.5040009@dawes.za.net> <4C6544B9.3000503@mvista.com> Message-ID: <4C6558D4.9070308@mvista.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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