diff options
| author | Jeffrey Mann <mannj@embeddedplanet.com> | 2007-04-12 14:15:59 +0200 | 
|---|---|---|
| committer | Stefan Roese <sr@denx.de> | 2007-04-12 14:15:59 +0200 | 
| commit | 2ad3aba01d37b72e7c957b07e102fccd64fe6d13 (patch) | |
| tree | a97f1aadb17333df38b229fec9be6e1df972315c /common/cmd_ide.c | |
| parent | e8aac8e7bfc7cfdef5780f8f1d4c85184f59a06f (diff) | |
| download | olio-uboot-2014.01-2ad3aba01d37b72e7c957b07e102fccd64fe6d13.tar.xz olio-uboot-2014.01-2ad3aba01d37b72e7c957b07e102fccd64fe6d13.zip | |
ppc4xx: Fix i2c divisor calcularion for PPC4xx
This patch fixes changes the i2c_init(...) function to use the function
get_OPB_freq() rather than calculating the OPB speed by
sysInfo.freqPLB/sysInfo.pllOpbDiv. The get_OPB_freq() function is
specific per processor. The prior method was not and so was calculating
the wrong speed for some PPC4xx processors.
Signed-off-by: Jeffrey Mann <mannj@embeddedplanet.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'common/cmd_ide.c')
0 files changed, 0 insertions, 0 deletions