[U-Boot] [PATCH V3 02/14] s5p: cpu_info: print "cpu-model" if exists in dts

Simon Glass
2015-10-28T18:50:06Z

On 27 October 2015 at 06:07, Przemyslaw Marczak <p.marczak@samsung.com> wrote:
> The CPU name for Exynos was concatenated with cpu id,
> but for new Exynos platforms, like Chromebook Peach Pi
> based on Exynos5800, the name of SoC variant does not
> include the real SoC cpu id (0x5422).
>
> For such case, the CPU name should be defined in device tree.
>
> This commit introduces new device-tree property for Exynos:
> - "cpu-model" - with cpu name string
> If defined, then the cpu id is not printed.
>
> Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
> Cc: Minkyu Kang <mk7.kang@samsung.com>
> Cc: Simon Glass <sjg@chromium.org>
> ---
> Changes V2:
> - new commit
> Changes V3
> - add cpu-model binding info
> ---
> arch/arm/cpu/armv7/s5p-common/cpu_info.c | 14 +++++++++++++-
> doc/device-tree-bindings/exynos/soc.txt | 21 +++++++++++++++++++++
> 2 files changed, 34 insertions(+), 1 deletion(-)
> create mode 100644 doc/device-tree-bindings/exynos/soc.txt

Reviewed-by: Simon Glass <sjg@chromium.org>