Re: [PATCH] drivers/memory/Kconfig: Add CONFIG_OF dependency

2018-07-26 Thread Miquel Raynal
Hi Boris, Boris Brezillon wrote on Mon, 23 Jul 2018 11:41:07 +0200: > On Mon, 23 Jul 2018 11:34:43 +0200 > Arnd Bergmann wrote: > > > On Sun, Jul 22, 2018 at 8:29 AM, Boris Brezillon > > wrote: > > > +Arnd, Rob and the DT ML. > > > > > > On Sat, 21 Jul 2018 14:53:47 -0700 > > > Randy Dunlap

Re: [PATCH] drivers/memory/Kconfig: Add CONFIG_OF dependency

2018-07-23 Thread Arnd Bergmann
On Mon, Jul 23, 2018 at 6:14 PM, Boris Brezillon wrote: > On Mon, 23 Jul 2018 18:04:52 +0200 > Arnd Bergmann wrote: > >> On Mon, Jul 23, 2018 at 5:40 PM, Arnd Bergmann wrote: >> > On Mon, Jul 23, 2018 at 11:41 AM, Boris Brezillon >> > wrote: >> >> On Mon, 23 Jul 2018 11:34:43 +0200 >> >> Arnd B

Re: [PATCH] drivers/memory/Kconfig: Add CONFIG_OF dependency

2018-07-23 Thread Boris Brezillon
On Mon, 23 Jul 2018 18:04:52 +0200 Arnd Bergmann wrote: > On Mon, Jul 23, 2018 at 5:40 PM, Arnd Bergmann wrote: > > On Mon, Jul 23, 2018 at 11:41 AM, Boris Brezillon > > wrote: > >> On Mon, 23 Jul 2018 11:34:43 +0200 > >> Arnd Bergmann wrote: > >> > >>> On Sun, Jul 22, 2018 at 8:29 AM, Bor

Re: [PATCH] drivers/memory/Kconfig: Add CONFIG_OF dependency

2018-07-23 Thread Boris Brezillon
On Mon, 23 Jul 2018 17:40:29 +0200 Arnd Bergmann wrote: > On Mon, Jul 23, 2018 at 11:41 AM, Boris Brezillon > wrote: > > On Mon, 23 Jul 2018 11:34:43 +0200 > > Arnd Bergmann wrote: > > > >> On Sun, Jul 22, 2018 at 8:29 AM, Boris Brezillon > >> wrote: > >> > +Arnd, Rob and the DT ML. > >> >

Re: [PATCH] drivers/memory/Kconfig: Add CONFIG_OF dependency

2018-07-23 Thread Arnd Bergmann
On Mon, Jul 23, 2018 at 5:40 PM, Arnd Bergmann wrote: > On Mon, Jul 23, 2018 at 11:41 AM, Boris Brezillon > wrote: >> On Mon, 23 Jul 2018 11:34:43 +0200 >> Arnd Bergmann wrote: >> >>> On Sun, Jul 22, 2018 at 8:29 AM, Boris Brezillon >>> wrote: >>> > +Arnd, Rob and the DT ML. >>> > >>> > On Sat,

Re: [PATCH] drivers/memory/Kconfig: Add CONFIG_OF dependency

2018-07-23 Thread Arnd Bergmann
On Mon, Jul 23, 2018 at 11:41 AM, Boris Brezillon wrote: > On Mon, 23 Jul 2018 11:34:43 +0200 > Arnd Bergmann wrote: > >> On Sun, Jul 22, 2018 at 8:29 AM, Boris Brezillon >> wrote: >> > +Arnd, Rob and the DT ML. >> > >> > On Sat, 21 Jul 2018 14:53:47 -0700 >> > Randy Dunlap wrote: >> > >> >> On

Re: [PATCH] drivers/memory/Kconfig: Add CONFIG_OF dependency

2018-07-23 Thread Boris Brezillon
On Mon, 23 Jul 2018 11:34:43 +0200 Arnd Bergmann wrote: > On Sun, Jul 22, 2018 at 8:29 AM, Boris Brezillon > wrote: > > +Arnd, Rob and the DT ML. > > > > On Sat, 21 Jul 2018 14:53:47 -0700 > > Randy Dunlap wrote: > > > >> On 07/21/2018 01:00 PM, Anders Roxell wrote: > >> > JZ4780_NEMC doesn

Re: [PATCH] drivers/memory/Kconfig: Add CONFIG_OF dependency

2018-07-23 Thread Arnd Bergmann
On Sun, Jul 22, 2018 at 8:29 AM, Boris Brezillon wrote: > +Arnd, Rob and the DT ML. > > On Sat, 21 Jul 2018 14:53:47 -0700 > Randy Dunlap wrote: > >> On 07/21/2018 01:00 PM, Anders Roxell wrote: >> > JZ4780_NEMC doesn't depend on OF, and if OF isn't enabled we get this >> > error: >> > drivers/me

Re: [PATCH] drivers/memory/Kconfig: Add CONFIG_OF dependency

2018-07-21 Thread Boris Brezillon
+Arnd, Rob and the DT ML. On Sat, 21 Jul 2018 14:53:47 -0700 Randy Dunlap wrote: > On 07/21/2018 01:00 PM, Anders Roxell wrote: > > JZ4780_NEMC doesn't depend on OF, and if OF isn't enabled we get this > > error: > > drivers/memory/jz4780-nemc.c: In function ‘jz4780_nemc_num_banks’: > > drivers/

Re: [PATCH] drivers/memory/Kconfig: Add CONFIG_OF dependency

2018-07-21 Thread Randy Dunlap
On 07/21/2018 01:00 PM, Anders Roxell wrote: > JZ4780_NEMC doesn't depend on OF, and if OF isn't enabled we get this > error: > drivers/memory/jz4780-nemc.c: In function ‘jz4780_nemc_num_banks’: > drivers/memory/jz4780-nemc.c:72:10: error: implicit declaration of > function ‘of_read_number’; did y

[PATCH] drivers/memory/Kconfig: Add CONFIG_OF dependency

2018-07-21 Thread Anders Roxell
JZ4780_NEMC doesn't depend on OF, and if OF isn't enabled we get this error: drivers/memory/jz4780-nemc.c: In function ‘jz4780_nemc_num_banks’: drivers/memory/jz4780-nemc.c:72:10: error: implicit declaration of function ‘of_read_number’; did you mean ‘down_read_nested’? [-Werror=implicit-function