Re: [PATCH 0/3] sh: make early_platform code SuperH-specific
From: Rich Felker
Date: Mon Apr 30 2018 - 12:44:31 EST
On Mon, Apr 30, 2018 at 06:35:53PM +0200, Bartosz Golaszewski wrote:
> I recently started a discussion about the need for a proper early device
> probing mechanism. One that would be based on real platform drivers
> and support both platform data and device tree.
> While we're far from reaching any consensus on the implementation, Arnd
> suggested that I start off by moving the SuperH-specific early platform
> drivers implementation to arch/sh.
> This series is the first attempt at making way for a new, less hacky
> The first patch removes the last instance of a non-sh driver using the
> early_platform API. It can be removed since ARM no longer probes early
> The second patch moves all the early_platform code to arch/sh.
> The last patch prefixes all early_platform symbols with 'sh_'.
>  https://lkml.org/lkml/2018/4/26/657
>  https://lkml.org/lkml/2018/4/27/239
> Bartosz Golaszewski (3):
> clocksource: timer-ti-dm: remove the early platform driver
> platform: move the early platform device support to arch/sh
> sh: add the sh_ prefix to early platform symbols
I can't say I like it, because I really want to be just removing all
this code, but I don't necessarily object and it might be the most
appropriate short-term action to clean up this mess without breaking