Re: [PATCH 03/11] platform: make support for early platform devices conditional

2018-04-25 Thread Rich Felker
On Tue, Apr 24, 2018 at 07:30:43PM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > We want to add support for device tree based early platform devices. > > In order not to introduce additional bloat for all users when we extend > struct device to accomodate early platform DT su

Re: [PATCH 03/11] platform: make support for early platform devices conditional

2018-04-24 Thread Randy Dunlap
On 04/24/2018 10:30 AM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Signed-off-by: Bartosz Golaszewski > --- > arch/sh/Kconfig | 1 + > drivers/base/Kconfig| 4 > drivers/base/platform.c | 3 +++ > include/linux/platform_device.h | 32 +

[PATCH 03/11] platform: make support for early platform devices conditional

2018-04-24 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We want to add support for device tree based early platform devices. In order not to introduce additional bloat for all users when we extend struct device to accomodate early platform DT support, let's make the current machine code support conditional. The only current