commit | b368e53aae7694e0fb2bdec9667c9acc5108b629 | [log] [tgz] |
---|---|---|
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Sat Feb 18 14:19:10 2017 +1100 |
committer | Dave Airlie <airlied@redhat.com> | Tue Feb 28 13:17:30 2017 +1000 |
tree | 344dd5903548929f4afa999196fa12362f459138 | |
parent | bad09da6deab157440a3f0dd5e6c03cdc60c0a91 [diff] |
drm/ast: Factor mmc_test code in POST code There's a some duplication for what's essentially copies of two loops, so factor it. The upcoming AST2500 POST code adds more of them. Also cleanup return types for the test functions, most of them return a boolean, some return a u32. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Acked-by: Joel Stanley <joel@jms.id.au> Tested-by: Y.C. Chen <yc_chen@aspeedtech.com> Signed-off-by: Dave Airlie <airlied@redhat.com>