Have a 16 bit emif interface to an FPGA.
Default from the kernel is 32 bit access.
Need to set to 16 bit alignment/access.
Not sure if this is a function of the kernel or u-boot.
Can someone point me in the right direction?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Have a 16 bit emif interface to an FPGA.
Default from the kernel is 32 bit access.
Need to set to 16 bit alignment/access.
Not sure if this is a function of the kernel or u-boot.
Can someone point me in the right direction?
This is likely at the u-boot level; I believe the SDRAM (DDR2 controller) initialization happens there.
Juan,
Some more details.
We have a 16 bit emif interface off of CS5, 0x08000000.
Using mmap on /dev/mem does not return 16 alignment.
So this is not DDR2 related.