On Sat, 2017-02-18 at 15:28 +, Emil Velikov wrote:
> Original code does the following data flexing only for the mmc_*test2
> code, while this patch adds it to both test and test2.
>
> data = ast_mindwm(...);
> data = (data | (data >> 16)) & 0x;
> // ast_moutdwm(...);
>
On 17 February 2017 at 05:32, Benjamin Herrenschmidt
wrote:
> There's a lot of duplication for what's essentially N copies of
> the same loop, so factor it. The upcoming AST2500 POST code adds
> more of this.
>
> Signed-off-by: Benjamin Herrenschmidt
Here is where things go fun:
Original code d
There's a lot of duplication for what's essentially N copies of
the same loop, so factor it. The upcoming AST2500 POST code adds
more of this.
Signed-off-by: Benjamin Herrenschmidt
---
drivers/gpu/drm/ast/ast_post.c | 76 --
1 file changed, 22 insertions(+