From: Wolfgang Denk Date: Fri, 10 Oct 2014 14:22:29 +0200 Subject: [U-Boot] Discussion topics / issues In-Reply-To: <20141009230004.GA25685@amd> References: <201410071445.50854.marex@denx.de> <20141008200948.GK25506@bill-the-cat> <54364960.5020607@monstr.eu> <201410091603.48309.marex@denx.de> <20141009221154.GA24774@amd> <20141009222446.D8D62380189@gemini.denx.de> <20141009230004.GA25685@amd> Message-ID: <20141010122229.B60DC38352B@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 Pavel, In message <20141009230004.GA25685@amd> you wrote: > > > [1] http://www.denx.de/wiki/U-Boot/Patches > > It should really go into tree. If you think so... > It does not mention puts() vs. printf(), if it is indeed meant to be > u-boot policy. This is not just U-Boot philosophy, but something that I would consider a matter of course when writing code - using the appropriate tools for the task at hand. If all you want to do is sendout a constant string to the utput device, there is no need to invoke a function that provides fancy formatting options. Don't we always try to use the smallest, most efficient tool that is suited for a task? 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 A consultant is a person who borrows your watch, tells you what time it is, pockets the watch, and sends you a bill for it.