[U-Boot] [PATCH 2/3] ARM: uniphier: enable SPL_OF_CONTROL

Simon Glass
2015-08-28T23:22:03Z

On 28 August 2015 at 05:13, Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:
> Device Tree really improves code maintainability and is now
> available for SPL too.
>
> This is the state-of-the-art implementation in U-boot.
>
> The board files (platform data) are no longer needed.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> ---
>
> arch/arm/Kconfig | 1 +
> arch/arm/dts/uniphier-ph1-ld4-ref.dts | 9 ++++++---
> arch/arm/dts/uniphier-ph1-pro4-ref.dts | 9 ++++++---
> arch/arm/dts/uniphier-ph1-sld3-ref.dts | 9 ++++++---
> arch/arm/dts/uniphier-ph1-sld8-ref.dts | 9 ++++++---
> arch/arm/mach-uniphier/ph1-ld4/Makefile | 1 -
> arch/arm/mach-uniphier/ph1-ld4/platdevice.c | 15 ---------------
> arch/arm/mach-uniphier/ph1-pro4/Makefile | 1 -
> arch/arm/mach-uniphier/ph1-pro4/platdevice.c | 15 ---------------
> arch/arm/mach-uniphier/ph1-sld3/Makefile | 1 -
> arch/arm/mach-uniphier/ph1-sld3/platdevice.c | 1 -
> arch/arm/mach-uniphier/ph1-sld8/platdevice.c | 15 ---------------
> doc/README.uniphier | 10 +++++-----
> include/configs/uniphier.h | 2 +-
> 14 files changed, 31 insertions(+), 67 deletions(-)
> delete mode 100644 arch/arm/mach-uniphier/ph1-ld4/platdevice.c
> delete mode 100644 arch/arm/mach-uniphier/ph1-pro4/platdevice.c
> delete mode 100644 arch/arm/mach-uniphier/ph1-sld3/platdevice.c
> delete mode 100644 arch/arm/mach-uniphier/ph1-sld8/platdevice.c

Very nice!

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