[U-Boot] [PATCH v4] nios2: convert dma_alloc_coherent to use malloc_cache_aligned

Thomas Chou thomas at wytron.com.tw
Sat Oct 17 04:59:06 CEST 2015



On 10/17/2015 06:56 AM, Marek Vasut wrote:
>> But nios2 cpu with 4 bytes
>> dcache line size does not support this instruction. So we don't
>> implement the invalidate_dcache_range/all() in u-boot yet.
>
> Where did you find this information ?

Please find it on the foot note of table 7, page 8 of "Nios II Core 
Implementation Detail" manual,

The 4-byte line data cache implementation substitutes the flushd 
instruction for the flushda
instruction and triggers an unimplemented instruction exception for the 
initda instruction. The
16-byte and 32-byte line data cache implementations fully support the 
flushda and initda
instructions.

Best regards,
Thomas


More information about the U-Boot mailing list