[U-Boot] [PATCH v7 01/21] include: Add log2 header from the kernel

Tom Rini trini at konsulko.com
Fri Nov 6 02:40:31 CET 2015


On Thu, Nov 05, 2015 at 06:07:00PM -0200, Fabio Estevam wrote:
> On Thu, Nov 5, 2015 at 5:10 PM, Tom Rini <trini at konsulko.com> wrote:
> 
> > I can fix this much locally.  sandbox fails to build at the end:
> > +(sandbox) ../arch/sandbox/include/asm/types.h:53:23: error:
> > ‘CONFIG_SANDBOX_BITS_PER_LONG’ undeclared (first use in this function)
> 
> Ok, here is the fix on top of patch 18:
> 
> --- a/drivers/mtd/mtdcore.c
> +++ b/drivers/mtd/mtdcore.c
> @@ -28,10 +28,10 @@
>  #include <linux/slab.h>
>  #else
>  #include <linux/err.h>
> -#include <linux/log2.h>
>  #include <ubi_uboot.h>
>  #endif
> 
> +#include <linux/log2.h>
>  #include <linux/mtd/mtd.h>
>  #include <linux/mtd/partitions.h>
> 
> Thanks!

OK, we're good.  I'll queue up and push things for real in the morning.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151105/02e685cf/attachment.sig>


More information about the U-Boot mailing list