diff options
| author | Silvan Wicki <[email protected]> | 2015-06-16 17:40:59 +0200 |
|---|---|---|
| committer | Wolfram Sang <[email protected]> | 2015-06-17 14:35:09 +0200 |
| commit | 7b618638a518ce7083fcca1bc7181a5c6337277a (patch) | |
| tree | 1e65bfeed5e977e1b6d28c8fe23426256ceccc1d /scripts/gdb/linux/dmesg.py | |
| parent | b6eba5598dc69d1f3a79183d2521da53d336006e (diff) | |
i2c: bcm2835: clear reserved bits in S-Register
The datasheet mentions on page 31 that the bits 10-31 must be read as
don't care and written as 0.
https://www.raspberrypi.org/wp-content/uploads/2012/02/BCM2835-ARM-Peripherals.pdf
We cannot guarantee that we read bits 10-31 as always 0 (because the
datasheet says read as don't care). We clear the bits with a bitmask to
prevent writing back unknown data at the reserved bits.
Signed-off-by: Silvan Wicki <[email protected]>
Acked-by: Stephen Warren <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/dmesg.py')
0 files changed, 0 insertions, 0 deletions