Thread (41 messages) 41 messages, 8 authors, 2018-07-27

Re: [PATCH v4 08/18] net: davinci_emac: potentially get the MAC address from MTD

From: David Lechner <david@lechnology.com>
Date: 2018-07-03 16:47:28
Also in: linux-arm-kernel, linux-omap, lkml

On 07/03/2018 11:39 AM, Florian Fainelli wrote:

On 06/29/2018 02:40 AM, Bartosz Golaszewski wrote:
quoted
From: Bartosz Golaszewski <redacted>

On da850-evm board we can read the MAC address from MTD. It's currently
done in the relevant board file, but we want to get rid of all the MAC
reading callbacks from the board file (SPI and NAND). Move the reading
of the MAC address from SPI to the emac driver's probe function.
This should be made something generic to all drivers, not just something
the davinci_emac driver does, something like this actually:

https://lkml.org/lkml/2018/3/24/312
I was thinking about suggesting adding a nvmem provider for MTD devices
as well. It would fix the kernel config dependency problems I was running
into since nvmem lookups can do -EPROBE_DEFER.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help