[U-Boot] d-cache enable

Reinhard Meyer u-boot at emk-elektronik.de
Fri Aug 12 14:32:18 CEST 2011


Dear *ALL*,
>> It is embarrassing to admit, but I've __wrongly__ assumed that *_range()
>> functions are accepting the start address and range for
>> invalidation/flushing.
> 
> Do you mean we're hitting again a confusion between *_range(start, stop) 
> and *_range(start, length)?
> 
> If so, then the need to get rid of 'anonymous prototypes' becomes 
> greater yet.

Maybe the parameters should even be of type (void *start, void *beyond_end) ?
We are talking of addresses here anyway. Most likely the calling place
has it as pointer, and inside the function it might have to be casted.

Reinhard


More information about the U-Boot mailing list