summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2019-06-28 05:38:37 +0300
committerJoel Stanley <joel@jms.id.au>2019-07-02 08:04:11 +0300
commitaf29a884459ef8c01b80e48305ab85121925f874 (patch)
treed32e07a8b0bcb22ba566f4c4dcfc2c99c34fb704 /lib/mpi/mpiutil.c
parentae249b4fa1e7e942299a385a3a509aafd22b5a25 (diff)
downloadlinux-af29a884459ef8c01b80e48305ab85121925f874.tar.xz
pinctrl: aspeed: Split out pinmux from general pinctrl
ASPEED have completely rearranged the System Control Unit register layout with the AST2600. The existing code took advantage of the fact that the AST2400 and AST2500 had layouts that were similar enough to have little impact on the pinmux infrastructure (though there is a wart with read-modify-write vs write-1-clear semantics of the hardware strapping registers between the two). Given that any similarity has been thrown out with the AST2600, separate out the function applying an expression state to be driver-specific. With it, extract out the pinmux macro jungle to its own header and implementation so the pieces can be composed without dependency cycles. OpenBMC-Staging-Count: 1 Cc: Johnny Huang <johnny_huang@aspeedtech.com> Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions