Re: [PATCH v4 0/2] of_net: Implement of_get_nvmem_mac_address helper

From: Mike Looijmans
Date: Sat Mar 31 2018 - 13:20:56 EST


On 30-03-18 16:40, David Miller wrote:
From: Mike Looijmans <mike.looijmans@xxxxxxxx>
Date: Thu, 29 Mar 2018 07:29:47 +0200

Posted this as a small set now, with an (optional) second patch that shows
how the changes work and what I've used to test the code on a Topic Miami board.
I've taken the liberty to add appropriate "Acked" and "Review" tags.

v4: Replaced "6" with ETH_ALEN

v3: Add patch that implements mac in nvmem for the Cadence MACB controller
Remove the integrated of_get_mac_address call

v2: Use of_nvmem_cell_get to avoid needing the assiciated device
Use void* instead of char*
Add devicetree binding doc

Series applied to net-next, thank you.


Got a kbuild bot error message in the e-mail, with errors like: "undefined reference to `of_nvmem_cell_get'"

Should I add an "#if CONFIG_NVMEM" guard around the new code and make a v5 patch?

--
Mike Looijmans