]> Git Repo - J-u-boot.git/commit - drivers/ram/aspeed/sdram_ast2500.c
aspeed: Refactor SCU to use consistent mask & shift
author[email protected] <[email protected]>
Mon, 17 Apr 2017 19:00:33 +0000 (12:00 -0700)
committerTom Rini <[email protected]>
Mon, 8 May 2017 15:57:35 +0000 (11:57 -0400)
commitdefb184904c05df8ca49bd0265969ce72cb92401
tree2ef2073c46d5a2fa68a512486d9f559d78bda6cd
parent3b95902d47f89f95242ac143cd2a9ed1fd196157
aspeed: Refactor SCU to use consistent mask & shift

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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
arch/arm/include/asm/arch-aspeed/scu_ast2500.h
arch/arm/mach-aspeed/ast2500/sdram_ast2500.c
drivers/clk/aspeed/clk_ast2500.c
This page took 0.030446 seconds and 4 git commands to generate.