
5 Oct
2011
5 Oct
'11
11:48 a.m.
On Wed, 2011-10-05 at 10:30 +0100, Pawel Moll wrote:
Hi Tixy,
One possible fix is to add some build time configuration to change SDI_FIFO_BURST_SIZE for the new implementation.
You can also detect the configuration in runtime, basing on PeriphID:
http://infocenter.arm.com/help/topic/com.arm.doc.ddi0172a/i1024149.html
Configuration == 0 (ID == 0x00041180) -> FIFO length = 16 * 4 Configuration == 1 (ID == 0x01041180) -> FIFO length = 128 * 4
That's useful to know. The PL180 code is also used for U8500, I don't know if that implements the peripheral ID register; though I guess any probing could be limited to vexpress anyway.
However, I think that if smaller and simpler code will work on all hardware then that is preferable.
--
Tixy