diff options
author | Ben Gardner <gardner.ben@gmail.com> | 2016-03-23 10:11:24 -0500 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-03-25 18:24:33 +0100 |
commit | 5aecd0e533fe8e7dd5fee0a3c10ee8aabe6c8803 (patch) | |
tree | 27de83e62bb62b0cf4cd874d42423390cebc401f /src/device/pciexp_device.c | |
parent | 6959f5c915e8455ae7bc84aef7250cde62fa2637 (diff) |
intel/fsp_baytrail: Use read32() and write32() in i2c.c
i2c.c uses "*(volatile unsigned int *)" constructs where it could use
read32() and write32().
Switch to using read32() and write32().
The remaining instances in wait_tx_fifo() and wait_rx_fifo() are fixed
in https://review.coreboot.org/#/c/14160/
Change-Id: I39e4ff4206587267b6fceef58f4a567bf162fbbe
(intel/fsp_baytrail: Fix I2C abort logic)
I also fixed a few minor white space issues.
Change-Id: I587551272ac171ef1f42c7eb26daf877dc56646b
Signed-off-by: Ben Gardner <gardner.ben@gmail.com>
Reviewed-on: https://review.coreboot.org/14162
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Diffstat (limited to 'src/device/pciexp_device.c')
0 files changed, 0 insertions, 0 deletions