[PATCH 14/17] aspeed: Refactor SCU to use consistent mask & shift
Simon Glass
sjg at chromium.org
Wed Mar 22 10:22:41 AEDT 2017
On 16 March 2017 at 15:36, Maxim Sloyko <maxims at google.com> wrote:
> Refactor SCU header to use consistent Mask & Shift values.
> Now, consistently, to read value from SCU register, mask needs
> to be applied before shift.
>
> Signed-off-by: Maxim Sloyko <maxims at google.com>
> ---
>
> arch/arm/include/asm/arch-aspeed/scu_ast2500.h | 12 ++++----
> arch/arm/mach-aspeed/ast2500/sdram_ast2500.c | 5 ++--
> drivers/clk/aspeed/clk_ast2500.c | 39 +++++++++++++-------------
> 3 files changed, 27 insertions(+), 29 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the openbmc
mailing list