linux/arch/sh/kernel/cpu/sh2
Bartosz Golaszewski 507fd01d53 drivers: move the early platform device support to arch/sh
SuperH is the only user of the current implementation of early platform
device support. We want to introduce a more robust approach to early
probing. As the first step - move all the current early platform code
to arch/sh.

In order not to export internal drivers/base functions to arch code for
this temporary solution - copy the two needed routines for driver
matching from drivers/base/platform.c to arch/sh/drivers/platform_early.c.

Also: call early_platform_cleanup() from subsys_initcall() so that it's
called after all early devices are probed.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Cc: Rich Felker <dalias@libc.org>
Link: https://lore.kernel.org/r/20191003092913.10731-2-brgl@bgdev.pl
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-10-07 13:50:47 +02:00
..
clock-sh7619.c sh: sh2: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
entry.S sh: sh2: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
ex.S sh: sh2: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
Makefile sh: sh2: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
probe.c sh: sh2: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
setup-sh7619.c drivers: move the early platform device support to arch/sh 2019-10-07 13:50:47 +02:00
smp-j2.c sh: sh2: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00