ARM: ux500: call ux500_setup_id later
authorArnd Bergmann <arnd@arndb.de>
Mon, 20 Jun 2016 21:21:20 +0000 (23:21 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 12 Jul 2016 09:24:08 +0000 (11:24 +0200)
commitf15601d62bf1348c1dc9fe3455b277a652db1c6e
tree8d4a25cce6964b31a9138bf15dc187aa38328aa0
parentcd1dc431d02afda521bed53b7c87a678a3ac246f
ARM: ux500: call ux500_setup_id later

ux500_setup_id is currently called from u8500_map_io(), which is
really early, but nothing relies on the ID any more, other than
a printk message that is not really all that important to
have early during boot.

If we move the call to ux500_setup_id() into ux500_soc_device_init(),
that file becomes usuable almost entirely standalone, and we can kill
off the u8500_map_io() callback as it just does the default
debug_ll_io_init() now.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-ux500/cpu-db8500.c
arch/arm/mach-ux500/id.c