From: Prabhakar Kushwaha Date: Tue, 6 Oct 2015 18:13:51 +0530 Subject: [U-Boot] [PATCH 2/2] armv8: ls2085a: Add support of random MAC address for QDS and RDB Message-ID: <1444135431-8385-1-git-send-email-prabhakar@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Add support of setting RANDOM MAC address if env variable not available. Signed-off-by: Prabhakar Kushwaha --- include/configs/ls2085a_common.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/configs/ls2085a_common.h b/include/configs/ls2085a_common.h index 1ec95d2..edd434a 100644 --- a/include/configs/ls2085a_common.h +++ b/include/configs/ls2085a_common.h @@ -173,6 +173,10 @@ unsigned long long get_qixis_addr(void); #define CONFIG_SYS_LS_MC_AIOP_IMG_MAX_LENGTH 0x200000 #define CONFIG_SYS_LS_MC_DRAM_AIOP_IMG_OFFSET 0x07000000 +/* Add Random lib for random MAC address */ +#define CONFIG_LIB_RAND +#define CONFIG_NET_RANDOM_ETHADDR + /* * Carve out a DDR region which will not be used by u-boot/Linux * -- 1.9.1