]> git.dujemihanovic.xyz Git - u-boot.git/commit
ARM: uniphier: check DT to determine whether to initialize SBC
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 10 Jul 2019 11:07:37 +0000 (20:07 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 10 Jul 2019 13:41:57 +0000 (22:41 +0900)
commitf7f390576d063f9fc6c2a00792acd835a75c88aa
tree6ca10d44183b3348eb2ed52f5f27b207c06492d7
parent92d6524b4f19cac08dd47f656bce59a7db6d3c47
ARM: uniphier: check DT to determine whether to initialize SBC

If CONFIG_MICRO_SUPPORT_CARD is enabled, U-Boot initialize SBC
(System Bus Controller), which may not be really necessary.

Check the "socionext,uniphier-system-bus" node in DT run-time.
If and only if it is found and its "status" property is okay,
initialize the SBC block.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/Makefile
arch/arm/mach-uniphier/sbc/Makefile
arch/arm/mach-uniphier/sbc/sbc-ld11.c
arch/arm/mach-uniphier/sbc/sbc-ld4.c
arch/arm/mach-uniphier/sbc/sbc-pxs2.c
arch/arm/mach-uniphier/sbc/sbc-regs.h
arch/arm/mach-uniphier/sbc/sbc.c