]> git.sur5r.net Git - u-boot/commit
DaVinci DA8xx: replace magic number for DDR speed
authorLaurence Withers <lwithers@guralp.com>
Mon, 30 Jul 2012 23:30:36 +0000 (23:30 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 1 Sep 2012 12:58:14 +0000 (14:58 +0200)
commitde9d2e3d60dba1ab775ad67032b5afa00086f53f
tree666f1b6c167037c9873643cf262e20709ecbad87
parent88ac6b9d1402b5a7b639131df95bdd2dbd54d69d
DaVinci DA8xx: replace magic number for DDR speed

Replace a magic number for the DDR2/mDDR PHY clock ID with a proper
definition. In addition, don't request this clock ID on DA830 hardware,
which does not have a DDR2/mDDR PHY (or associated PLL controller).

Signed-off-by: Laurence Withers <lwithers@guralp.com>
Cc: Tom Rini <trini@ti.com>
Cc: Prabhakar Lad <prabhakar.csengg@gmail.com>
arch/arm/cpu/arm926ejs/davinci/cpu.c
arch/arm/include/asm/arch-davinci/hardware.h