commit | 18925e118b3b4d55b45711218cd3c3c4360e5cd1 | [log] [tgz] |
---|---|---|
author | Magnus Damm <damm@opensource.se> | Wed Dec 14 01:00:55 2011 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Mon Jan 09 09:33:52 2012 +0900 |
tree | 4cd9f84cc6f2343f3d97093976de1dc7be75bd2e | |
parent | ad4a07ff8da7147b391f1ff0034f313a8b9da9e5 [diff] |
sh: pfc: Add config_reg_helper() function Add a helper function for shared config reg access calculations. This allows us to reduce the amount of duplicated code, and at the same time prepare for a common place for future variable bitwidth config reg support. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>