[POWERPC] 4xx: Fix timebase clock selection on Walnut
authorJosh Boyer <jwboyer@linux.vnet.ibm.com>
Fri, 19 Oct 2007 14:53:10 +0000 (00:53 +1000)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Fri, 19 Oct 2007 21:18:31 +0000 (16:18 -0500)
commit094624fa66758e9f555587c29b23cf5bc67c10fd
tree06d956f05a42a738f5cb5f82bf7e76e299850abb
parent16fdad334c5ba055b8eb79a97da561fbdfacd15e
[POWERPC] 4xx: Fix timebase clock selection on Walnut

The current bootwrapper fails to set the timebase clock to the CPU clock
which causes the time to increment incorrectly.  This fixes it by using the
correct #define for the CPC0_CR1 register.

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
arch/powerpc/boot/treeboot-walnut.c