On Tue, Aug 27, 2019 at 4:14 PM Michael Walle <mich...@walle.cc> wrote: > > The net_random_ethaddr() tries to get some entropy from different > startup times of a board. The seed is initialized with get_timer() which > has only a granularity of milliseconds. We can do better if we use > get_ticks() which returns the raw timer ticks. Using this we have a > higher chance of getting different values at startup. > > Signed-off-by: Michael Walle <mich...@walle.cc> > --- > since v1: > - Removed the and-mask. Since there were no more comments I did some tests > and apparently there are no compiler warnings. > > include/net.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >
Reviewed-by: Bin Meng <bmeng...@gmail.com> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot