Re: [U-Boot] [PATCH 2/2] armv8: ls1012a: Update Refresh cycle for DDR

2016-08-02 Thread york sun
On 07/19/2016 03:24 AM, Prabhakar Kushwaha wrote: > Refresh cycle value must be selected based on the frequency > of DDR. tREFI = 7.8 us as per JEDEC. The value for MDREF[REF_CNT] > should be based on round up (tREFI/tCK) formula. For 500MHz, mdref > value should be 0x0f3c8000. > > Signed-off-by:

[U-Boot] [PATCH 2/2] armv8: ls1012a: Update Refresh cycle for DDR

2016-07-19 Thread Prabhakar Kushwaha
Refresh cycle value must be selected based on the frequency of DDR. tREFI = 7.8 us as per JEDEC. The value for MDREF[REF_CNT] should be based on round up (tREFI/tCK) formula. For 500MHz, mdref value should be 0x0f3c8000. Signed-off-by: Calvin Johnson Signed-off-by: