[PATCH v3 1/2] ARM: EXYNOS: Map SYSRAM through generic SRAM bindings

Tomasz Figa t.figa at samsung.com
Thu May 8 09:18:01 PDT 2014


Hi Sachin,

On 08.05.2014 06:16, Sachin Kamat wrote:
> Instead of hardcoding the SYSRAM details for each SoC,
> pass this information through device tree (DT) and make
> the code SoC agnostic. Generic SRAM bindings are used
> for achieving this.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat at linaro.org>
> Acked-by: Arnd Bergmann <arnd at arndb.de>
> Acked-by: Heiko Stuebner <heiko at sntech.de>
> ---
> Changes since v2.
> * Updated sysram node for Universal C210 board - Thanks to
> Tomasz Figa for testing and updating the same.
> * Added error handling code.
> * Break if matching node found.
> * Remove unnecessary error messages.
> 
> This patch is based on linux next (next-20140501) on top of
> my Kconfig consolidation patch
> http://comments.gmane.org/gmane.linux.kernel.samsung-soc/28642
> 
> Tested on 4210/4412 Origen, 5250/5420 Arndale and SMDK5420 boards.
> ---
>  arch/arm/Kconfig                                |    1 +
>  arch/arm/boot/dts/exynos4210-universal_c210.dts |   15 ++++++
>  arch/arm/boot/dts/exynos4210.dtsi               |   18 +++++++
>  arch/arm/boot/dts/exynos4x12.dtsi               |   18 +++++++
>  arch/arm/boot/dts/exynos5250.dtsi               |   18 +++++++
>  arch/arm/boot/dts/exynos5420.dtsi               |   18 +++++++
>  arch/arm/mach-exynos/common.h                   |    1 +
>  arch/arm/mach-exynos/exynos.c                   |   64 -----------------------
>  arch/arm/mach-exynos/firmware.c                 |    8 ++-
>  arch/arm/mach-exynos/include/mach/map.h         |    7 ---
>  arch/arm/mach-exynos/platsmp.c                  |   56 ++++++++++++++++++--
>  11 files changed, 148 insertions(+), 76 deletions(-)
> 

Looks good, thanks.

Reviewed-by: Tomasz Figa <t.figa at samsung.com>

--
Best regards,
Tomasz



More information about the linux-arm-kernel mailing list