On Mon, Feb 25, 2008 at 10:47:04AM -0800, Bizhan Gholikhamseh (bgholikh) wrote: > In Linux 2.6.11 version, there was a function named "cpm2_hostalloc" to > allocate memory at > specific boundary. I am not able to locate that in the latest Linux > version, 2.6.24-rc4. Is there any > similiar function to this that I can use? > The SPI module on the CPM2 module required the memory descriptor on the > ram to be at specific > boundray (8 bytes).
It's probably best to use DPRAM for the descriptors if possible. However, if you want/need to use RAM, just allocate 8 bytes more than you need and manually align it. -Scott _______________________________________________ Linuxppc-dev mailing list [email protected] https://ozlabs.org/mailman/listinfo/linuxppc-dev
