summaryrefslogtreecommitdiff
path: root/common/cmd_ide.c
diff options
context:
space:
mode:
authorJeffrey Mann <mannj@embeddedplanet.com>2007-04-12 14:15:59 +0200
committerStefan Roese <sr@denx.de>2007-04-12 14:15:59 +0200
commit2ad3aba01d37b72e7c957b07e102fccd64fe6d13 (patch)
treea97f1aadb17333df38b229fec9be6e1df972315c /common/cmd_ide.c
parente8aac8e7bfc7cfdef5780f8f1d4c85184f59a06f (diff)
downloadu-boot-imx-2ad3aba01d37b72e7c957b07e102fccd64fe6d13.zip
u-boot-imx-2ad3aba01d37b72e7c957b07e102fccd64fe6d13.tar.gz
u-boot-imx-2ad3aba01d37b72e7c957b07e102fccd64fe6d13.tar.bz2
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