
12 Aug
2011
12 Aug
'11
11:07 a.m.
Hi Lukasz,
On 12/08/2011 10:25, Lukasz Majewski wrote:
- char *ext_csd = memalign(get_dcache_line_size(), mmc->read_bl_len);
Since this is the first effort for aligning buffers on the caller side, I'd like to make sure the method can be, and is, standardized across all changes.
So before standardizing on memalign() for dynamically allocating aligned buffers, I want to to be sure that the use of this function is portable.
I know it is in GNU LIBC; I also know it is not (yet...) in U-Boot's own C library. What about the most common toolchains used on U-Boot?
Amicalement,
--
Albert.