]> git.sur5r.net Git - u-boot/commit
ARM: uniphier: simplify SoC ID get function
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 21 Jan 2017 09:05:26 +0000 (18:05 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 22 Jan 2017 07:49:27 +0000 (16:49 +0900)
commite27d6c7d328caf75bd7680109bc6610bc681f46e
tree0e199c982bc274b223123ce027e2f9263c961356
parentd9a70368dbe4a9b0e81b60ffbe3fda4a09e0ad5a
ARM: uniphier: simplify SoC ID get function

Currently, uniphier_get_soc_type() converts the SoC ID (this is
read from the revision register) to an enum symbol to use it for SoC
identification.  Come to think of it, there is no need for the
conversion in the first place.  Using the SoC ID from the register
as-is a straightforward way.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
17 files changed:
arch/arm/mach-uniphier/Makefile
arch/arm/mach-uniphier/arm32/psci.c
arch/arm/mach-uniphier/board_init.c
arch/arm/mach-uniphier/boot-mode/boot-mode-ld20.c
arch/arm/mach-uniphier/boot-mode/boot-mode.c
arch/arm/mach-uniphier/boot-mode/cmd_pinmon.c
arch/arm/mach-uniphier/boot-mode/spl_board.c
arch/arm/mach-uniphier/cpu-info.c [new file with mode: 0644]
arch/arm/mach-uniphier/cpu_info.c [deleted file]
arch/arm/mach-uniphier/debug-uart/debug-uart.c
arch/arm/mach-uniphier/dram/cmd_ddrphy.c
arch/arm/mach-uniphier/dram_init.c
arch/arm/mach-uniphier/sg-regs.h
arch/arm/mach-uniphier/soc-info.c [new file with mode: 0644]
arch/arm/mach-uniphier/soc-info.h
arch/arm/mach-uniphier/soc_info.c [deleted file]
arch/arm/mach-uniphier/spl_board_init.c