I'm looking at the DDR register descriptions in the LS1021a reference manual (LS1021ARM Rev. 0, 11/2015) and the documentation doesn't appear to be accurate when I compare the register description to the actual contents read from a TWR-LS1021A board. Here are some examples:
root@ls1021atwr:~# devmem 0x1080bf8
The register description indicates that IP_ID should be 0x0002, but it's 0x0200. Maybe the documentation isn't up to date for IP 0x200?
root@ls1021atwr:~# devmem 0x1080110
The SDRAM_TYPE field is 0b110 which is "Reserved" according the the register description.
There are more inconsistencies, but this is a good representation of the problems I'm having. I would like to be able to use the DDR injection mechanism for testing but it doesn't seem to do anything. My guess is that the documentation is incorrect but maybe I'm doing something wrong...any ideas?