]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
armv8: ls2085a: Add support of random MAC address
authorPrabhakar Kushwaha <prabhakar@freescale.com>
Wed, 7 Oct 2015 11:00:12 +0000 (16:30 +0530)
committerYork Sun <yorksun@freescale.com>
Thu, 29 Oct 2015 17:33:58 +0000 (10:33 -0700)
Add support of setting RANDOM MAC address if env variable not available.

Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: York Sun <yorksun@freescale.com>
configs/ls2085a_simu_defconfig
configs/ls2085aqds_defconfig
configs/ls2085aqds_nand_defconfig
configs/ls2085ardb_defconfig
configs/ls2085ardb_nand_defconfig

index de9776d7edec70bda475fe143ae32b9d0f493394..9d04218fa98adc86e9214ceb59cf4d3f553e9dfe 100644 (file)
@@ -12,3 +12,4 @@ CONFIG_SYS_EXTRA_OPTIONS="SIMU"
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_NFS is not set
 # CONFIG_CMD_MISC is not set
+CONFIG_NET_RANDOM_ETHADDR=y
index 0c770e4ea735ac28fd37315108ec59b03f455385..78b121deaf826924fb9fdfb7ef3b8a985e261e46 100644 (file)
@@ -7,6 +7,7 @@ CONFIG_DEFAULT_DEVICE_TREE="fsl-ls2085a-qds"
 CONFIG_SYS_EXTRA_OPTIONS="SYS_FSL_DDR4"
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_OF_CONTROL=y
+CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_DM=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
index 10eda971ace3a1fea42c0c6e0f16d238198d6a5b..ce2a81cc34aac12638cddad585ea1d1f23d0dfe4 100644 (file)
@@ -3,5 +3,6 @@ CONFIG_TARGET_LS2085AQDS=y
 CONFIG_SPL=y
 CONFIG_SYS_EXTRA_OPTIONS="SYS_FSL_DDR4,NAND"
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
index 79565330df1213a0787c258712abd74054939b9e..d0f16f2b2df19d42c2c0b33cef92c369b54abc36 100644 (file)
@@ -7,6 +7,7 @@ CONFIG_DEFAULT_DEVICE_TREE="fsl-ls2085a-rdb"
 CONFIG_SYS_EXTRA_OPTIONS="SYS_FSL_DDR4"
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_OF_CONTROL=y
+CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_DM=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y
index 96a0dfdc9ca558f64a69921411651b9a5428df70..25a6f71c0164c440d1cfb5afec86214add006573 100644 (file)
@@ -3,5 +3,6 @@ CONFIG_TARGET_LS2085ARDB=y
 CONFIG_SPL=y
 CONFIG_SYS_EXTRA_OPTIONS="SYS_FSL_DDR4,NAND"
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_NETDEVICES=y
 CONFIG_E1000=y