src/soc/cavium: Remove unnecessary space after casts
Change-Id: Ieb094096e9e204e59a1f3fcf716d906e7736fb43 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69811 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
41865cc5b4
commit
a51d9b00f0
|
@ -497,7 +497,7 @@ static int twsi_write_data(void *baseaddr, const u8 slave_addr,
|
|||
twsi_sw.u = 0;
|
||||
twsi_sw.s.op = TWSI_SW_EOP_IA;
|
||||
twsi_sw.s.eop_ia = TWSI_DATA;
|
||||
twsi_sw.s.data = (u32) (slave_addr << 1) | TWSI_OP_WRITE;
|
||||
twsi_sw.s.data = (u32)(slave_addr << 1) | TWSI_OP_WRITE;
|
||||
|
||||
twsi_write_sw(baseaddr, twsi_sw);
|
||||
twsi_write_ctl(baseaddr, TWSI_CTL_ENAB);
|
||||
|
@ -574,7 +574,7 @@ static int twsi_read_data(void *baseaddr, const u8 slave_addr,
|
|||
twsi_sw.s.op = TWSI_SW_EOP_IA;
|
||||
twsi_sw.s.eop_ia = TWSI_DATA;
|
||||
|
||||
twsi_sw.s.data = (u32) (slave_addr << 1) | TWSI_OP_READ;
|
||||
twsi_sw.s.data = (u32)(slave_addr << 1) | TWSI_OP_READ;
|
||||
|
||||
twsi_write_sw(baseaddr, twsi_sw);
|
||||
twsi_write_ctl(baseaddr, TWSI_CTL_ENAB);
|
||||
|
|
Loading…
Reference in New Issue