summaryrefslogtreecommitdiff
path: root/lib/psci/psci_common.c
diff options
context:
space:
mode:
authorIcenowy Zheng <icenowy@aosc.io>2018-07-21 18:19:43 +0800
committerIcenowy Zheng <icenowy@aosc.io>2018-09-05 22:43:38 +0800
commitf348c3519e138f607b18cc63d1d34a61352fb7c6 (patch)
tree155284933cc4dc261657221428491f8017962a0f /lib/psci/psci_common.c
parent42dc33106996c4a5849d405c3e54964a7231d272 (diff)
marvell: drivers: use anonymous union in I2C driver
The I2C controller found in Marvell A8K SoCs (and some older SoCs) mux status and baudrate registers into the same address, however, it's a vendor customization, and the original IP core by Mentor Graphics uses two different addresses for the two registers. Use anonymous union in the driver, in order to ease code sharing for other SoC vendors that use this IP core (Allwinner SoCs that are newly introduced to mainline ATF use this core). Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Diffstat (limited to 'lib/psci/psci_common.c')
0 files changed, 0 insertions, 0 deletions