From mboxrd@z Thu Jan 1 00:00:00 1970 From: Masahiro Yamada Date: Fri, 18 Apr 2014 18:25:56 +0900 Subject: [U-Boot] [PATCH 3/5] blackfin: replace bfin_gen_rand_mac() with eth_random_addr() In-Reply-To: <2417898.IToALaZWXa@vapier> References: <1397721632-18797-4-git-send-email-yamada.m@jp.panasonic.com> <2417898.IToALaZWXa@vapier> Message-ID: <20140418182556.F07D.AA925319@jp.panasonic.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Mike, On Thu, 17 Apr 2014 15:07:50 -0400 Mike Frysinger wrote: > On Thu 17 Apr 2014 17:00:30 Masahiro Yamada wrote: > > --- a/include/configs/tcm-bf537.h > > +++ b/include/configs/tcm-bf537.h > > @@ -73,7 +73,7 @@ > > #define CONFIG_HOSTNAME tcm-bf537 > > /* Uncomment next line to use fixed MAC address */ > > /* #define CONFIG_ETHADDR 02:80:ad:20:31:e8 */ > > - > > +#define CONFIG_LIB_RAND > > this should be in bfin_adi_common.h instead. i think that replaces the > majority of your config updates (if not all). > -mike Are you sure? There are 35 blackfin boards in boards.cfg. There are only 15 boards using random MAC address. Besides, I think your suggestion does not work because for ex. bf537-minotaur board is not including bfin_adi_common.h. Best Regards Masahiro Yamada