clk framework in u-boot v2

Sascha Hauer s.hauer at
Mon Nov 16 03:53:06 EST 2009

Hi Jean,

On Fri, Nov 13, 2009 at 11:42:01PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> Hi,
> 	this patch serie introduce the clk support in u-boot-v2
> 	to simplify clock handling in drivers
> 	as example when porting Amba PL011 drivers you will have to handle
> 	clock for different SoC as it's a generic IP dev by ARM LTD and used
> 	in different such as Nomadik from ST-Ericsson
> 	this first series will switch the AT91 to the clk framework with the
> 	same way as handle in Linux

Have you made some tests how much binary size this adds? I think that
most of the clocks are unused in U-Boot. So maybe there is a way to
compile out the unused clocks using static inlines or something like


Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 |  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

More information about the barebox mailing list