]> git.ipfire.org Git - people/ms/u-boot.git/commit
ARM: uniphier: rework uniphier_set_fdt_file()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 21 Apr 2016 05:43:17 +0000 (14:43 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 24 Apr 2016 00:54:03 +0000 (09:54 +0900)
commit881aa5a79a94a65500959428328f348a18d3d9fe
tree87b882c8fd5a7166ea5adc51def5a1d88757a8fa
parentd90b9745ea1b0972e920605673e5895fb09cf3e7
ARM: uniphier: rework uniphier_set_fdt_file()

The current table look-up for the DTB file name turned out bothersome
in terms of maintainability; I ended up adding a new entry every time
a new board is supported.

There is a common pattern between the DT compatible string and the
corresponding file name; drop the vendor prefix "socionext," and
prefix it with "uniphier-" and suffix it with ".dtb".

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