From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Mon, 20 Aug 2012 12:05:12 +0200 Subject: [U-Boot] [PATCH 07/10] mx5 clocks: Fix get_uart_clk() In-Reply-To: <503208D3.5030303@denx.de> References: <100121725.2408596.1344967663150.JavaMail.root@advansee.com> <503208D3.5030303@denx.de> Message-ID: <50320BD8.701@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 On 20/08/2012 11:52, Stefano Babic wrote: > Why should we pass a parameter to this function ? Can it be used in > another context ? I do not think so, because it decodes the value in the > cscmr1 register. > > I think it is better if you move the reading of the cscmr1 register > inside this function and you drop the unneeded parameter. Never mind - I had not yet read the next patch. Discharge this comment. Best regards, Stefano -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================