]> git.baikalelectronics.ru Git - uboot.git/commit
ARM: uniphier: add macro to generate SoC data look-up function
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 21 Jan 2017 09:05:27 +0000 (18:05 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 22 Jan 2017 07:49:33 +0000 (16:49 +0900)
commit372926bfb3afe8732c53ad1407fee3a5e0aa90ef
tree26698081909c04e0f0c3f1d1a664d83e60ec0884
parentfa3c32fd844a65d4d8aeda6ecc138082cea9333a
ARM: uniphier: add macro to generate SoC data look-up function

There are similar functions that look up SoC data by the SoC ID.
The new macro UNIPHIER_DEFINE_SOCDATA_FUNC will be helpful to
avoid the code duplication.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/mach-uniphier/board_init.c
arch/arm/mach-uniphier/soc-info.h
arch/arm/mach-uniphier/spl_board_init.c