[U-Boot] [PATCH 1/4] ARM: AM33xx: Cleanup dplls data

Heiko Schocher hs at denx.de
Wed Jun 26 06:39:11 CEST 2013


Hello Lokesh,

Am 24.06.2013 15:15, schrieb Lokesh Vutla:
> Locking sequence for all the dplls is same.
> In the current code same sequence is done repeatedly
> for each dpll. Instead have a generic function
> for locking dplls and pass dpll data to that function.
> 
> This is derived from OMAP4 boards.
> 
> Signed-off-by: Lokesh Vutla <lokeshvutla at ti.com>
> ---
>  arch/arm/cpu/armv7/am33xx/Makefile           |    1 +
>  arch/arm/cpu/armv7/am33xx/clock.c            |  116 ++++++++++++++
>  arch/arm/cpu/armv7/am33xx/clock_am33xx.c     |  222 +++++---------------------
>  arch/arm/cpu/armv7/am33xx/emif4.c            |    4 +
>  arch/arm/include/asm/arch-am33xx/clock.h     |   68 ++++++++
>  arch/arm/include/asm/arch-am33xx/ddr_defs.h  |    2 +
>  arch/arm/include/asm/arch-am33xx/sys_proto.h |    1 +
>  7 files changed, 232 insertions(+), 182 deletions(-)
>  create mode 100644 arch/arm/cpu/armv7/am33xx/clock.c


Acked-by: Heiko Schocher <hs at denx.de>

Tested on 3 am335x boards (no need anymore to set mpu_pll twice
on this boards :-), so:

Tested-by: Heiko Schocher <hs at denx.de>

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list