ARM: uniphier: check DT to determine whether to use support card
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 10 Jul 2019 11:07:36 +0000 (20:07 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 10 Jul 2019 13:41:56 +0000 (22:41 +0900)
commit92d6524b4f19cac08dd47f656bce59a7db6d3c47
tree7e69ddc6d96a0984945ff6cf78b3262f5cff23f4
parent9a2f0e5ccd8749e9cdb27c4f4edf07dd44ff36b7
ARM: uniphier: check DT to determine whether to use support card

If CONFIG_MICRO_SUPPORT_CARD is enabled, U-Boot tries to get access
to the devices on the support card, which may not actually exist.

Check the DT and search for the on-board devices run-time. If the
nodes are not found in DT, then disable the code.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/micro-support-card.c