Re: [U-Boot] [PATCH 16/35] arm: socfpga: clock: Trim down code duplication

2014-09-18 Thread Pavel Machek
On Mon 2014-09-15 13:06:09, Marek Vasut wrote: Pull out functions to read frequency of Main clock VCO and PLL clock VCO as the code is duplicated multiple times. Signed-off-by: Marek Vasut ma...@denx.de Cc: Chin Liang See cl...@altera.com Cc: Dinh Nguyen dingu...@altera.com Cc: Albert

Re: [U-Boot] [PATCH 16/35] arm: socfpga: clock: Trim down code duplication

2014-09-16 Thread Dinh Nguyen
On 09/15/2014 06:06 AM, Marek Vasut wrote: Pull out functions to read frequency of Main clock VCO and PLL clock VCO as the code is duplicated multiple times. Signed-off-by: Marek Vasut ma...@denx.de Cc: Chin Liang See cl...@altera.com Cc: Dinh Nguyen dingu...@altera.com Cc: Albert Aribaud

[U-Boot] [PATCH 16/35] arm: socfpga: clock: Trim down code duplication

2014-09-15 Thread Marek Vasut
Pull out functions to read frequency of Main clock VCO and PLL clock VCO as the code is duplicated multiple times. Signed-off-by: Marek Vasut ma...@denx.de Cc: Chin Liang See cl...@altera.com Cc: Dinh Nguyen dingu...@altera.com Cc: Albert Aribaud albert.u.b...@aribaud.net Cc: Tom Rini