Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c0a72e77 authored by Channagoud Kadabi's avatar Channagoud Kadabi Committed by Gerrit - the friendly Code Review server
Browse files

drivers: llcc: Update llcc driver based on broadcast behavior



Broadcast registers reads are by default 'OR' of status registers from
different LLCC banks. Reading status register from broadcast register
may not be always correct, so change the usage of broadcast registers in
the EDAC driver. Read syndrome and error status registers from
individual bank registers. Add broadcast offset field to determine the
broadcast address at runtime, in future if the number of llcc banks
change the broadcast address would change. Making the broadcast offset
along with other llcc bank offsets part of device tree makes the driver
more flexible. Definition of common config has changed and data ram ecc
is enabled by default, do not write to COMMON_CFG0 register.

Change-Id: I52d9824ca12e3ade6d953e00bab8d2d2818dd423
Signed-off-by: default avatarChannagoud Kadabi <ckadabi@codeaurora.org>
parent f842ad22
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment