From: Wolfgang Denk Date: Thu, 21 Aug 2008 01:57:14 +0200 Subject: [U-Boot] [PATCH] Consolidate strmhz() implementation In-Reply-To: <20080820140702.59a7ef68@hskinnemo-gx745.norway.atmel.com> References: <1219059687-24120-1-git-send-email-haavard.skinnemoen@atmel.com> <20080819210013.GE9094@game.jcrosoft.org> <20080820140702.59a7ef68@hskinnemo-gx745.norway.atmel.com> Message-ID: <20080820235714.B22DC248FF@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 Jean-Christophe, In message <20080820140702.59a7ef68@hskinnemo-gx745.norway.atmel.com> Haavard Skinnemoen wrote: > > > I've seen 2 others functions which are commom. > > > > Could we use the patch that reply to this message instead? > > The only downside that I can think of is that configuration that truly > don't require strmhz() and don't use --gc-sections will end up slightly > larger. I agree with Haavard's comment - the other functions should be added as separate source files, too. BTW: you mentioned "two other functions", but your patch handles only one other function - init_baudrate() ? 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 There is, however, a strange, musty smell in the air that reminds me of something...hmm...yes...I've got it...there's a VMS nearby, or I'm a Blit. - Larry Wall in Configure from the perl distribution