
Dear Anton Staaf,
In message CAF6FioWM6MezMMDr6+i8tGOLG-En4TihtOCauPbH0o7vqHaf_A@mail.gmail.com you wrote:
No, it is definitely NOT needed for this purpose - we have been using CONFIG_SYS_CACHE_LINE_SIZE for more than a decade without problems, so I don't really understand why we now would need a new function for this?
Ahh, I misunderstood your question. I thought you were asking about the need to know the cache line size. Not it's specific implementation as a function call. In which case, I agree, and am happy to use CONFIG_SYS_CACHE_LINE_SIZE, though I don't see any definitions of CONFIG_SYS_CACHE_LINE_SIZE in the entire U-Boot tree. What have I missed?
I copy & pasted the name, incorrectly. It's CONFIG_SYS_CACHELINE_SIZE
You will find this being used:
-> grep -R CONFIG_SYS_CACHELINE_SIZE * | wc -l 276
Best regards,
Wolfgang Denk