[U-Boot] [PATCH 1/7] rockchip: add sdram_common for common functions

Simon Glass sjg at chromium.org
Sat Jun 17 03:41:32 UTC 2017


Hi Kever,

On 13 June 2017 at 03:29, Kever Yang <kever.yang at 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 at 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 at chromium.org>

As a follow-up patch, do you think we could change to shifted masks in
this area?


More information about the U-Boot mailing list