On 24 October 2015 at 20:56, Fabio Estevam <feste...@gmail.com> wrote: > From: Fabio Estevam <fabio.este...@freescale.com> > > Use the log2 header files from the kernel. > > Imported from kernel 4.2.3. > > Signed-off-by: Fabio Estevam <fabio.este...@freescale.com> > Reviewed-by: Tom Rini <tr...@konsulko.com>
Reviewed-by: Jagan Teki <jt...@openedev.com> > --- > Changes since v1: > - None > > include/linux/log2.h | 205 > +++++++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 205 insertions(+) > create mode 100644 include/linux/log2.h > > diff --git a/include/linux/log2.h b/include/linux/log2.h > new file mode 100644 > index 0000000..e3ee91e > --- /dev/null > +++ b/include/linux/log2.h > @@ -0,0 +1,205 @@ > +/* Integer base 2 logarithm calculation Of-course Linux look same, but the multi-line comment should be as /** * Integer base 2 logarithm calculation * */ Probably we can fix this as well - make sense? > + * > + * Copyright (C) 2006 Red Hat, Inc. All Rights Reserved. thanks! -- Jagan. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot