diff options
author | Tom Rini <trini@konsulko.com> | 2018-01-30 10:09:01 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-01-30 10:09:01 -0500 |
commit | f1554b28d31250df5418254e79e0bf75ff3b2e54 (patch) | |
tree | da4d313fa10648a052f132df1432a860b9cffd18 /arch/x86/cpu/quark/smc.c | |
parent | eef11acebaa48e241e9187c717dc92d3e175c119 (diff) | |
parent | e21b04fec465c84a51ca6fc6450263e0c0953fcb (diff) |
Merge git://git.denx.de/u-boot-x86
Diffstat (limited to 'arch/x86/cpu/quark/smc.c')
-rw-r--r-- | arch/x86/cpu/quark/smc.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/arch/x86/cpu/quark/smc.c b/arch/x86/cpu/quark/smc.c index 3ffe92b67b2..0195b56a52f 100644 --- a/arch/x86/cpu/quark/smc.c +++ b/arch/x86/cpu/quark/smc.c @@ -17,15 +17,6 @@ #include "hte.h" #include "smc.h" -/* t_rfc values (in picoseconds) per density */ -static const uint32_t t_rfc[5] = { - 90000, /* 512Mb */ - 110000, /* 1Gb */ - 160000, /* 2Gb */ - 300000, /* 4Gb */ - 350000, /* 8Gb */ -}; - /* t_ck clock period in picoseconds per speed index 800, 1066, 1333 */ static const uint32_t t_ck[3] = { 2500, @@ -35,8 +26,12 @@ static const uint32_t t_ck[3] = { /* Global variables */ static const uint16_t ddr_wclk[] = {193, 158}; +#ifdef BACKUP_WCTL static const uint16_t ddr_wctl[] = {1, 217}; +#endif +#ifdef BACKUP_WCMD static const uint16_t ddr_wcmd[] = {1, 220}; +#endif #ifdef BACKUP_RCVN static const uint16_t ddr_rcvn[] = {129, 498}; |