Re: [U-Boot] [PATCH 14/17] aspeed: Refactor SCU to use consistent mask & shift

2017-03-21 Thread Simon Glass
On 16 March 2017 at 15:36, Maxim Sloyko 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 > --- > > arch/arm/include/asm/arch-aspeed/scu_ast2500.h | 12

[U-Boot] [PATCH 14/17] aspeed: Refactor SCU to use consistent mask & shift

2017-03-16 Thread Maxim Sloyko
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 --- arch/arm/include/asm/arch-aspeed/scu_ast2500.h | 12 arch/arm/mach-aspeed/ast2500/sdram_ast2500.c | 5