diff options
author | Stefan Roese <sr@denx.de> | 2010-08-26 17:14:51 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2010-09-03 11:14:21 +0200 |
commit | c1ab75c7d4e5d080c630335b78681c50aa3569a5 (patch) | |
tree | 61e5c6b109fb5ed73257663dfb92aca36a34891f /lib/ldiv.c | |
parent | 38570b2ff3b618892b7b7f2d4c80f5b79d49018f (diff) | |
download | u-boot-imx-c1ab75c7d4e5d080c630335b78681c50aa3569a5.zip u-boot-imx-c1ab75c7d4e5d080c630335b78681c50aa3569a5.tar.gz u-boot-imx-c1ab75c7d4e5d080c630335b78681c50aa3569a5.tar.bz2 |
ppc4xx: Fix 440EPx bug in reconfigure_pll()
This patch fixes a bug in reconfigure_pll(), where the detection of
the current bootstrap option is wrong. The ICS bits where incorrectly
shifted. This bug was found on the lwmon5 board, which uses bootstrap
option H (I2C bootstrap EEPROM).
Additionally a bit of code was moved into the if statement, since its
only used after later on. No need to run this code all the time.
Also, a few empty lines are added to make the code better readable.
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Rupjyoti Sarmah <rsarmah@amcc.com>
Cc: Victor Gallardo <vgallardo@appliedmicro.com>
Diffstat (limited to 'lib/ldiv.c')
0 files changed, 0 insertions, 0 deletions