commit | f80835875d3d1a4764711a90f6cc2669f037f527 | [log] [tgz] |
---|---|---|
author | Kevin Cernekee <cernekee@gmail.com> | Tue Nov 25 16:49:51 2014 -0800 |
committer | Florian Fainelli <f.fainelli@gmail.com> | Fri Nov 28 15:44:43 2014 -0800 |
tree | 7b5cfaf8ac02554e5fda1b0b5e09c02d90108978 | |
parent | 2b53eadcea05b680278f8d078b166e1e295e2a4f [diff] |
bus: brcmstb_gisb: Look up register offsets in a table There are at least 4 incompatible variations of this hardware block, so let's use the ARB_* constants as a table index instead of hardcoding specific register offsets. Also, allow for the possibility of adding old devices that are missing some of the registers. Signed-off-by: Kevin Cernekee <cernekee@gmail.com> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>