imgtec/pistachio: I2C: fix base address for I2C clock setup
The base address for the I2C dividers (DIV1 and CLOCKOUT) was erroneously set to the toplevel clock controller base address and not to the correct peripherals clock controller base address. Change-Id: I66bbc1e741bcf6251babee7ddd6376d49d7cb3d1 Signed-off-by: Ionela Voinescu <ionela.voinescu@imgtec.com> Reviewed-on: https://review.coreboot.org/12771 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
This commit is contained in:
parent
56e64598a2
commit
88357548a2
|
@ -107,9 +107,9 @@
|
||||||
#define UART1CLKOUT_MASK 0x000003FF
|
#define UART1CLKOUT_MASK 0x000003FF
|
||||||
|
|
||||||
/* Definitions for I2C setup */
|
/* Definitions for I2C setup */
|
||||||
#define I2CCLKDIV1_CTRL_ADDR(i) (0xB8144000 + 0x013C + (2*(i)*4))
|
#define I2CCLKDIV1_CTRL_ADDR(i) (0xB8144800 + 0x013C + (2*(i)*4))
|
||||||
#define I2CCLKDIV1_MASK 0x0000007F
|
#define I2CCLKDIV1_MASK 0x0000007F
|
||||||
#define I2CCLKOUT_CTRL_ADDR(i) (0xB8144000 + 0x0140 + (2*(i)*4))
|
#define I2CCLKOUT_CTRL_ADDR(i) (0xB8144800 + 0x0140 + (2*(i)*4))
|
||||||
#define I2CCLKOUT_MASK 0x0000007F
|
#define I2CCLKOUT_MASK 0x0000007F
|
||||||
|
|
||||||
/* Definitions for ROM clock setup */
|
/* Definitions for ROM clock setup */
|
||||||
|
|
Loading…
Reference in New Issue