Fabio Estevam
3b30eece27
mx6sabresd: Make SPL DDR configuration to match the DCD table
...
When using SPL on i.mx6 we frequently notice some DDR initialization
mismatches between the SPL code and the non-SPL code.
This causes stability issues like the ones reported at 7dbda25ecd
("mx6ul_14x14_evk: Pass refsel and refr fields to avoid hang") and also:
http://lists.denx.de/pipermail/u-boot/2016-September/266355.html .
As the non-SPL code have been tested for long time and proves to be reliable,
let's configure the DDR in the exact same way as the non-SPL case.
The idea is simple: just use the DCD table and write directly to the DDR
registers.
Retrieved the DCD tables from:
board/freescale/mx6sabresd/mx6q_4x_mt41j128.cfg
and
board/freescale/mx6sabresd/mx6qp.cfg
(NXP U-Boot branch imx_v2015.04_4.1.15_1.0.0_ga)
This method makes it easier for people converting from non-SPL to SPL code.
Other benefit is that the SPL binary size is reduced from 44 kB to 39.9 kB.
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com >
2016-10-04 12:01:14 +02:00
..
2016-05-27 15:41:16 -04:00
2016-05-27 15:41:16 -04:00
2016-09-23 17:55:42 -04:00
2016-05-10 23:32:42 +02:00
2016-04-01 17:18:06 -04:00
2016-09-23 17:55:42 -04:00
2016-09-06 13:18:19 -04:00
2016-09-27 23:30:27 +02:00
2016-09-23 17:55:42 -04:00
2016-09-23 17:55:42 -04:00
2016-08-15 18:46:38 -04:00
2015-11-19 20:27:50 -07:00
2016-08-17 10:25:34 +09:00
2016-06-03 20:27:48 -05:00
2016-05-31 09:53:56 -07:00
2016-09-06 18:22:48 +02:00
2016-09-06 18:22:48 +02:00
2016-09-23 17:55:42 -04:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-05-02 18:37:09 -04:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2015-11-10 09:19:52 -05:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-06-12 23:49:38 +02:00
2016-06-09 13:53:10 -04:00
2016-09-23 17:55:42 -04:00
2016-02-06 12:00:59 +01:00
2016-06-27 21:12:05 -04:00
2016-06-24 17:24:40 -04:00
2015-09-11 17:12:57 -04:00
2016-08-15 18:46:40 -04:00
2016-02-18 21:34:40 +01:00
2016-09-23 17:55:42 -04:00
2016-07-15 09:01:43 -07:00
2016-09-06 18:22:48 +02:00
2016-09-01 09:24:30 -07:00
2016-07-31 07:24:20 -06:00
2016-05-27 15:41:16 -04:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-01-20 10:19:34 -05:00
2016-02-16 09:17:52 -07:00
2016-09-23 17:55:42 -04:00
2016-09-06 18:22:48 +02:00
2016-03-17 10:27:25 +08:00
2016-09-23 17:53:53 -04:00
2015-11-12 17:38:08 +01:00
2016-05-27 15:41:16 -04:00
2016-09-23 17:55:42 -04:00
2016-06-17 09:51:01 -04:00
2016-09-23 17:55:42 -04:00
2016-08-16 11:44:09 +08:00
2016-02-06 12:00:59 +01:00
2015-12-20 03:36:51 +01:00
2016-03-17 10:27:25 +08:00
2016-02-18 21:34:40 +01:00
2016-09-23 17:55:42 -04:00
2016-09-23 17:55:42 -04:00
2016-08-30 09:26:05 +08:00
2016-09-23 17:53:56 -04:00
2016-10-04 12:01:14 +02:00
2016-09-23 17:55:42 -04:00
2016-09-27 23:30:27 +02:00
2016-09-23 17:55:42 -04:00
2016-03-17 10:27:27 +08:00
2016-07-22 14:46:00 -04:00
2015-09-07 13:41:04 +02:00
2016-01-19 08:31:21 -05:00
2016-07-15 09:01:43 -07:00
2016-09-23 17:53:56 -04:00
2016-02-06 12:00:59 +01:00
2016-05-27 15:41:16 -04:00
2016-09-21 16:24:36 +02:00
2016-05-02 18:37:09 -04:00
2015-11-19 20:27:50 -07:00
2016-08-16 11:44:09 +08:00
2016-05-27 15:41:16 -04:00
2016-09-23 17:55:42 -04:00
2016-02-06 12:00:59 +01:00
2016-05-27 15:41:16 -04:00
2016-06-08 02:56:30 +02:00
2016-07-22 14:46:19 -04:00
2016-05-27 15:41:16 -04:00
2016-09-27 23:30:27 +02:00
2016-08-17 10:25:34 +09:00
2016-09-23 17:55:42 -04:00
2016-02-20 21:40:02 +01:00
2015-10-19 11:26:49 -04:00
2016-09-23 17:55:42 -04:00
2016-04-01 17:18:06 -04:00
2015-11-30 12:50:29 +01:00
2016-09-23 17:55:42 -04:00
2016-09-27 17:29:54 +02:00
2016-01-14 14:08:59 +01:00
2016-06-19 17:05:55 -06:00
2016-09-23 17:55:42 -04:00
2016-02-18 21:34:40 +01:00
2016-09-23 17:55:42 -04:00
2016-05-27 15:41:16 -04:00
2016-09-27 23:30:27 +02:00
2016-09-20 09:30:26 -04:00
2016-05-27 15:41:16 -04:00
2015-10-22 14:18:30 -04:00
2016-09-27 09:11:03 -07:00
2016-03-14 19:18:48 -04:00
2015-10-22 14:18:30 -04:00
2016-05-31 09:44:24 +02:00
2016-05-27 15:41:16 -04:00
2016-09-23 17:55:42 -04:00
2016-02-06 12:00:59 +01:00
2016-05-31 10:17:54 +02:00
2016-05-31 09:44:24 +02:00
2016-04-01 17:18:27 -04:00
2016-03-14 19:18:48 -04:00
2016-01-21 20:42:37 -07:00
2016-09-06 13:18:19 -04:00
2016-09-23 17:55:42 -04:00
2016-10-01 18:36:55 -06:00
2016-06-03 20:27:48 -05:00
2016-09-23 17:53:53 -04:00
2016-06-01 22:44:14 +02:00
2016-09-18 21:04:38 -06:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-09-23 17:55:42 -04:00
2016-06-26 20:17:22 +02:00
2015-11-12 18:13:19 -05:00
2016-09-23 17:55:42 -04:00
2016-09-23 17:55:42 -04:00
2016-05-31 07:48:34 +02:00
2015-12-20 03:36:51 +01:00
2016-07-21 15:38:13 -04:00
2016-09-20 09:30:23 -04:00
2016-03-16 15:27:54 -04:00
2016-08-05 12:50:33 +03:00
2016-09-25 14:26:22 +02:00
2016-09-23 17:55:42 -04:00
2016-09-07 08:48:58 -04:00
2016-02-06 12:00:59 +01:00
2016-02-06 12:00:59 +01:00
2016-09-06 18:22:48 +02:00
2016-09-23 17:55:42 -04:00
2015-10-22 14:18:30 -04:00
2016-04-10 17:19:48 +02:00
2016-09-24 10:00:41 +02:00
2016-10-02 08:10:01 -04:00
2016-03-14 19:18:48 -04:00
2016-07-28 13:27:19 +02:00
2016-05-31 09:44:24 +02:00
2016-09-23 17:55:42 -04:00
2016-09-23 17:55:42 -04:00
2016-09-27 23:30:27 +02:00
2016-03-14 19:18:07 -04:00
2016-10-04 12:01:14 +02:00
2016-09-06 18:22:48 +02:00
2016-09-06 18:22:48 +02:00
2016-09-23 17:55:42 -04:00
2016-06-24 17:24:34 -04:00
2016-06-03 20:27:48 -05:00
2016-09-22 07:33:21 +02:00
2016-03-27 09:13:01 -04:00
2015-11-29 22:16:14 +01:00