linux/arch/sh/kernel/cpu/sh4a
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-sh7343.c sh: sh4a: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
clock-sh7366.c sh: sh4a: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
clock-sh7722.c sh: sh4a: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
clock-sh7723.c sh: sh4a: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
clock-sh7724.c sh: sh4a: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
clock-sh7734.c sh: sh4a: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
clock-sh7757.c sh: sh4a: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
clock-sh7763.c sh: sh4a: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
clock-sh7770.c sh: sh4a: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
clock-sh7780.c sh: sh4a: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
clock-sh7785.c sh: sh4a: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
clock-sh7786.c sh: sh4a: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
clock-shx3.c sh: sh4a: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
intc-shx3.c sh: sh4a: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
Makefile
perf_event.c sh: sh4a: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
pinmux-sh7722.c
pinmux-sh7723.c sh: sh4a: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
pinmux-sh7724.c sh: sh4a: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
pinmux-sh7734.c sh: sh4a: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
pinmux-sh7757.c sh: sh4a: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
pinmux-sh7785.c sh: sh4a: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
pinmux-sh7786.c sh: sh4a: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
pinmux-shx3.c sh: sh4a: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
serial-sh7722.c
setup-sh7343.c drivers: move the early platform device support to arch/sh 2019-10-07 13:50:47 +02:00
setup-sh7366.c drivers: move the early platform device support to arch/sh 2019-10-07 13:50:47 +02:00
setup-sh7722.c drivers: move the early platform device support to arch/sh 2019-10-07 13:50:47 +02:00
setup-sh7723.c drivers: move the early platform device support to arch/sh 2019-10-07 13:50:47 +02:00
setup-sh7724.c drivers: move the early platform device support to arch/sh 2019-10-07 13:50:47 +02:00
setup-sh7734.c drivers: move the early platform device support to arch/sh 2019-10-07 13:50:47 +02:00
setup-sh7757.c drivers: move the early platform device support to arch/sh 2019-10-07 13:50:47 +02:00
setup-sh7763.c drivers: move the early platform device support to arch/sh 2019-10-07 13:50:47 +02:00
setup-sh7770.c drivers: move the early platform device support to arch/sh 2019-10-07 13:50:47 +02:00
setup-sh7780.c drivers: move the early platform device support to arch/sh 2019-10-07 13:50:47 +02:00
setup-sh7785.c drivers: move the early platform device support to arch/sh 2019-10-07 13:50:47 +02:00
setup-sh7786.c drivers: move the early platform device support to arch/sh 2019-10-07 13:50:47 +02:00
setup-shx3.c drivers: move the early platform device support to arch/sh 2019-10-07 13:50:47 +02:00
smp-shx3.c sh: sh4a: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00
ubc.c sh: sh4a: convert to SPDX identifiers 2018-12-28 12:11:45 -08:00