I notice in the .gel files from TI and spectrum digital for doing software leveling on the DDR that it looks like the the ratio values (3,2,1,0) are assigned to the wrong registers (0,1,2,3).
ex.
WR_MEM_32(DDRPHY_CONFIG_BASE + 0x0F0, (DDR3_WR_DQS_RATIO3 << 10) | DDR3_WR_DQS_RATIO3);
According the TRM offset 0x0f0 is DATA0_REG_PHY_WRLVL_INIT_RATIO_0, but it's getting data from the RATIO3 define. Since RATIO0-RATIO3 are defined with identical values, nothing happens, but it is confusing.