On 24 October 2015 at 20:56, Fabio Estevam <[email protected]> wrote: > From: Fabio Estevam <[email protected]> > > Use the log2 header files from the kernel. > > Imported from kernel 4.2.3. > > Signed-off-by: Fabio Estevam <[email protected]> > Reviewed-by: Tom Rini <[email protected]>
Reviewed-by: Jagan Teki <[email protected]> > --- > 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 [email protected] http://lists.denx.de/mailman/listinfo/u-boot

