]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 11:52:20 +0000 (13:52 +0200)
commitac529769b81b18d1cd48b65d3d55c9c662443cc6
treec575f7753c311ef187b77bd7205177fcd84ce331
parent3205102f6cc733a36ebdb1477f43af940de7057f
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