[U-Boot] [U-Boot, v4, 5/5] drivers: at91: clean up peripheral clock code

Andreas Bießmann andreas.devel at googlemail.com
Thu Feb 18 22:27:21 CET 2016


Dear Wenyou Yang,

Wenyou Yang <wenyou.yang at atmel.com> writes:
>Due to introducing the new peripheral clock handle functions,
>use these functions to reduce the duplicated code.
>
>Signed-off-by: Wenyou Yang <wenyou.yang at atmel.com>
>Tested-by: Heiko Schocher <hs at denx.de>
>[fixup for missing clk.h in at91_emac.c]
>Signed-off-by: Andreas Bießmann <andreas.devel at googlemail.com>
>---
> drivers/net/at91_emac.c       | 10 +++++-----
> drivers/usb/host/ehci-atmel.c |  8 --------
> drivers/usb/host/ohci-at91.c  | 20 ++++----------------
> 3 files changed, 9 insertions(+), 29 deletions(-)

applied to u-boot-atmel/master, thanks!

I had to add the asm/arch/clk.h in at91_emac.c for 
 clean build of this patch.

Best regards,
Andreas Bießmann


More information about the U-Boot mailing list