summaryrefslogtreecommitdiff
path: root/lib_nios2/divmod.c
diff options
context:
space:
mode:
authorJeffrey Mann <mannj@embeddedplanet.com>2007-05-05 08:32:14 +0200
committerStefan Roese <sr@denx.de>2007-05-05 08:32:14 +0200
commite3b8c78bc2489c27ae020986ef0eaca684866cef (patch)
tree556626bd30e27d51d07265f25f7b32ca8ad6d2f0 /lib_nios2/divmod.c
parentf544ff6656fca263ed1ebe39899b6d95da67c8b8 (diff)
downloadu-boot-imx-e3b8c78bc2489c27ae020986ef0eaca684866cef.zip
u-boot-imx-e3b8c78bc2489c27ae020986ef0eaca684866cef.tar.gz
u-boot-imx-e3b8c78bc2489c27ae020986ef0eaca684866cef.tar.bz2
ppc4xx: Detect if the sysclk on Sequoia is 33 or 33.333 MHz
The AMCC Secquoia board has been changed in a new revision from using a 33.000 MHz clock to a 33.333 MHz system clock. A bit in the CPLD indicates the difference. This patch reads that bit and uses the correct clock speed for the board. This code is backward compatable will all prior boards. All prior boards will be read as 33.000. Signed-off-by: Jeffrey Mann <mannj@embeddedplanet.com> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'lib_nios2/divmod.c')
0 files changed, 0 insertions, 0 deletions