[U-Boot] [GIT] Pull request: u-boot-dfu

B, Ravi
2016-08-17T08:41:05Z

>>>> +is not an integer constant
>>>> + struct usb_device_descriptor __aligned(CONFIG_SYS_CACHELINE_SIZE) desc;
>>>> + ^
>>>> +make[3]: *** [spl/common/dfu.o] Error 1
>>>> +make[2]: *** [spl/common] Error 2
>>> +make[1]: *** [spl/u-boot-spl] Error 2
>>>> +make: *** [sub-make] Error 2
>>
>> The CONFIG_SYS_CACHELINE_SIZE is not defined for smartweb platform which is causing build error.
>> By defining this error goes away. What would be value for cache line
>> size for smartweb platform? (32/64/..?)

>Hups? Which patch introduced this? I wonder if other at91 based boards does not show the same error?

The spl-dfu patch series include usb header files in SPL for DFU, since cache line is not defined which is causing
the build failure for smartweb platform.

>The RM for the at91sam9260 says: 8 words cache line size

>So 32 would be the correct value.

Ok thanks.

Regards
Ravi