[U-Boot] [PATCH v4 10/16] openrisc: Use the generic bitops headers

Fabio Estevam festevam at gmail.com
Fri Oct 30 12:35:48 CET 2015


On Fri, Oct 30, 2015 at 4:23 AM, Jagan Teki <jteki at openedev.com> wrote:

>> diff --git a/arch/openrisc/include/asm/bitops.h b/arch/openrisc/include/asm/bitops.h
>> index 6d0b57c..28c4658 100644
>> --- a/arch/openrisc/include/asm/bitops.h
>> +++ b/arch/openrisc/include/asm/bitops.h
>> @@ -12,6 +12,10 @@
>>  #define PLATFORM_FFS
>>  #include <asm/bitops/ffs.h>
>>
>
> So openrisc uses ffs.h from same arch include instead of asm-generic
> true? was it complied properly?

Yes, I just kept the original behaviour and added the missing bitops headers.

Yes, it does build correctly:

Building openrisc-generic board...
   text       data        bss        dec        hex    filename
 205571       6200      21300     233071      38e6f    ./u-boot

--------------------- SUMMARY ----------------------------
Boards compiled: 1
----------------------------


More information about the U-Boot mailing list