
Hello LOkesh,
Am 30.07.2013 07:18, 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 Vutlalokeshvutla@ti.com
arch/arm/cpu/armv7/am33xx/Makefile | 1 + arch/arm/cpu/armv7/am33xx/clock.c | 111 +++++++++++++ arch/arm/cpu/armv7/am33xx/clock_am33xx.c | 220 +++++--------------------- arch/arm/cpu/armv7/am33xx/emif4.c | 4 + arch/arm/include/asm/arch-am33xx/clock.h | 70 ++++++++ arch/arm/include/asm/arch-am33xx/ddr_defs.h | 2 + arch/arm/include/asm/arch-am33xx/sys_proto.h | 1 + board/isee/igep0033/board.c | 10 ++ board/phytec/pcm051/board.c | 9 ++ board/ti/am335x/board.c | 27 ++++ 10 files changed, 273 insertions(+), 182 deletions(-) create mode 100644 arch/arm/cpu/armv7/am33xx/clock.c
Tested-by: Heiko Schocher hs@denx.de Acked-by: Heiko Schocher hs@denx.de
Thanks!
bye, Heiko