clock_am43xx:Set the MAC clock to /5 for OPP100
authorSteve Kipisz <s-kipisz2@ti.com>
Wed, 11 Feb 2015 23:54:28 +0000 (18:54 -0500)
committerTom Rini <trini@ti.com>
Mon, 16 Feb 2015 17:41:40 +0000 (12:41 -0500)
commitbba379d498b4ed408e79f7aec6dc23a3572c37e7
tree764410f3a6a151b10f8fc7d076bc9bd3c325b54c
parent1860d101964d6ea77e5411e62e3b42a64dc94865
clock_am43xx:Set the MAC clock to /5 for OPP100

When EMAC is in the boot order, the boot ROM sets OPP50 and the
MAC clock is set to /2. SPL needs to change it to /5 for Ethernet
to generate the correct txclk. This patch sets it correctly.

Signed-off-by: Steve Kipisz <s-kipisz2@ti.com>
arch/arm/cpu/armv7/am33xx/clock_am43xx.c
arch/arm/include/asm/arch-am33xx/cpu.h