• Siarhei Siamashka's avatar
    sunxi: dram: Optionally use standard JEDEC timings for sun[457]i · d133647a
    Siarhei Siamashka authored
    In addition to the current Android magic settings, allow to optionally use
    DDR3 timing parameters, which are tailored for different clock frequencies
    and JEDEC speed bins. This should improve reliability and performance.
    
    Adding '+S:CONFIG_DRAM_TIMINGS_DDR3_1066F_1333H=y' to the board defconfig
    allows to use timings, which are calculated for the DDR3-1066F speed bin.
    A lot of DDR3 chips, which are used in real Allwinner based devices,
    support DDR3-1066F speed bin timings.
    
    And adding '+S:CONFIG_DRAM_TIMINGS_DDR3_800E_1066G_1333J=y' should work
    with any DDR3 chips, because this targets the slowest JEDEC speed bins.
    
    The vendor magic values are still used by default for DRAM, but board
    maintainers now have more flexibility in DRAM timings selection.
    Signed-off-by: default avatarSiarhei Siamashka <siarhei.siamashka@gmail.com>
    Acked-by: default avatarHans de Goede <hdegoede@redhat.com>
    Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
    d133647a
dram_timings_sun4i.h 5.22 KB