configs: davinci: omapl138_lcdk: add random eth address support

Message ID 20170516175018.30220-1-s-anna@ti.com
State New
Headers show

Commit Message

Suman Anna May 16, 2017, 5:50 p.m.
Any TFTP or DHCP boot on the Davinci OMAP-L138 LCDK board requires
that the 'ethaddr' variable be defined. There are no e-fuses to store
the ethernet mac address for this platform, and neither is a MAC
address reserved in any format. So enable random MAC address support
so that networking boot can be supported.

Signed-off-by: Suman Anna <s-anna@ti.com>
---
 configs/omapl138_lcdk_defconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Tom Rini May 16, 2017, 6:51 p.m. | #1
On Tue, May 16, 2017 at 12:50:18PM -0500, Suman Anna wrote:

> Any TFTP or DHCP boot on the Davinci OMAP-L138 LCDK board requires

> that the 'ethaddr' variable be defined. There are no e-fuses to store

> the ethernet mac address for this platform, and neither is a MAC

> address reserved in any format. So enable random MAC address support

> so that networking boot can be supported.

> 

> Signed-off-by: Suman Anna <s-anna@ti.com>


Reviewed-by: Tom Rini <trini@konsulko.com>


-- 
Tom
Lokesh Vutla May 17, 2017, 2:39 a.m. | #2
On Tuesday 16 May 2017 11:20 PM, Suman Anna wrote:
> Any TFTP or DHCP boot on the Davinci OMAP-L138 LCDK board requires
> that the 'ethaddr' variable be defined. There are no e-fuses to store
> the ethernet mac address for this platform, and neither is a MAC
> address reserved in any format. So enable random MAC address support
> so that networking boot can be supported.
> 
> Signed-off-by: Suman Anna <s-anna@ti.com>

Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>

Thanks and regards,
Lokesh

Patch hide | download patch | download mbox

diff --git a/configs/omapl138_lcdk_defconfig b/configs/omapl138_lcdk_defconfig
index 0629f9636fd4..23fe084e5476 100644
--- a/configs/omapl138_lcdk_defconfig
+++ b/configs/omapl138_lcdk_defconfig
@@ -21,6 +21,7 @@  CONFIG_HUSH_PARSER=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_DIAG=y
 CONFIG_CMD_UBI=y
+CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y
 CONFIG_SYS_NAND_U_BOOT_OFFS=0x28000
 CONFIG_SPI_FLASH=y