From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Fri, 26 Apr 2013 09:05:50 +0200 Subject: [U-Boot] Questions about U-boot of customized MPC8315E board In-Reply-To: <517A05CC.60003@163.com> References: <202dafde.df1f.13e4197224a.Coremail.dev_du@163.com> <20130425193626.0BC7E38489C@gemini.denx.de> <517A05CC.60003@163.com> Message-ID: <20130426070550.4BD2B3848CB@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear zhenhuan, Please follow the nteiquette: do not top post / full quote!! If you need help, please see http://www.netmeister.org/news/learn2quote.html In message <517A05CC.60003@163.com> you wrote: > > Where should I define the macro to enable debug() function definition? > Is there a place in makefile or head file? Enable it (either on the compile command line or as a #define which must go _before_ the first #include) for/in the files for which you want to see debug information. Note: it is usually not a good idea to enable it globally. 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 at denx.de If a packet hits a pocket on a socket on a port, And the bus is interrupted as a very last resort, And the address of the memory makes your floppy disk abort, Then the socket packet pocket has an error to report! - Ken Burchill?