[U-Boot] [U-Boot, v2, 1/8] rockchip: add sdram_common for common functions
Philipp Tomsich
philipp.tomsich at theobroma-systems.com
Sun Jun 25 23:09:09 UTC 2017
> There are some functions like sdram_size_mb can be re-used for
> different rockchip SoCs, just put them into common file.
> Add board_get_usable_ram_top() for ram_top init base on
> SDRAM_MAX_SIZE.
>
> Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
> ---
>
> Changes in v2:
> - add board_get_usable_ram_top()
>
> arch/arm/include/asm/arch-rockchip/sdram_common.h | 58 ++++++++++++++++
> arch/arm/mach-rockchip/Makefile | 3 +
> arch/arm/mach-rockchip/sdram_common.c | 83 +++++++++++++++++++++++
> include/configs/rk3188_common.h | 1 +
> include/configs/rk3288_common.h | 1 +
> include/configs/rk3328_common.h | 2 +-
> include/configs/rk3368_common.h | 2 +
> include/configs/rk3399_common.h | 1 +
> 8 files changed, 150 insertions(+), 1 deletion(-)
> create mode 100644 arch/arm/include/asm/arch-rockchip/sdram_common.h
> create mode 100644 arch/arm/mach-rockchip/sdram_common.c
>
Applied to u-boot-rockchip/next, thanks!
More information about the U-Boot
mailing list