
17 Jun
2017
17 Jun
'17
5:41 a.m.
Hi Kever,
On 13 June 2017 at 03:29, Kever Yang kever.yang@rock-chips.com wrote:
There are some functions like sdram_size_mb can be re-used for different rockchip SoCs, just put them into common file.
Signed-off-by: Kever Yang kever.yang@rock-chips.com
arch/arm/include/asm/arch-rockchip/sdram_common.h | 58 ++++++++++++++++++ arch/arm/mach-rockchip/Makefile | 3 + arch/arm/mach-rockchip/sdram_common.c | 71 +++++++++++++++++++++++ 3 files changed, 132 insertions(+) create mode 100644 arch/arm/include/asm/arch-rockchip/sdram_common.h create mode 100644 arch/arm/mach-rockchip/sdram_common.c
Reviewed-by: Simon Glass sjg@chromium.org
As a follow-up patch, do you think we could change to shifted masks in this area?