Pekon Gupta
ac65caf514
ARM: OMAP2+: cleaned-up DT support of various ECC schemes
...
OMAP NAND driver support multiple ECC scheme, which can used in different
flavours, depending on in-build Hardware engines present on SoC.
This patch updates following in DT bindings related to sectionion of ecc-schemes
- ti,elm-id: replaces elm_id (maintains backward compatibility)
- ti,nand-ecc-opts: selection of h/w or s/w implementation of an ecc-scheme
depends on ti,elm-id. (supported values ham1, bch4, and bch8)
- maintain backward compatibility to deprecated DT bindings (sw, hw, hw-romcode)
Below table shows different flavours of ecc-schemes supported by OMAP devices
+---------------------------------------+---------------+---------------+
| ECC scheme |ECC calculation|Error detection|
+---------------------------------------+---------------+---------------+
|OMAP_ECC_HAM1_CODE_HW |H/W (GPMC) |S/W |
+---------------------------------------+---------------+---------------+
|OMAP_ECC_BCH8_CODE_HW_DETECTION_SW |H/W (GPMC) |S/W |
|(requires CONFIG_MTD_NAND_ECC_BCH) | | |
+---------------------------------------+---------------+---------------+
|OMAP_ECC_BCH8_CODE_HW |H/W (GPMC) |H/W (ELM) |
|(requires CONFIG_MTD_NAND_OMAP_BCH && | | |
| ti,elm-id in DT) | | |
+---------------------------------------+---------------+---------------+
To optimize footprint of omap2-nand driver, selection of some ECC schemes
also require enabling following Kconfigs, in addition to setting appropriate
DT bindings
- Kconfig:CONFIG_MTD_NAND_ECC_BCH error detection done in software
- Kconfig:CONFIG_MTD_NAND_OMAP_BCH error detection done by h/w engine
Signed-off-by: Pekon Gupta <pekon@ti.com >
Reviewed-by: Felipe Balbi <balbi@ti.com >
Acked-by: Tony Lindgren <tony@atomide.com >
Tested-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com >
Signed-off-by: Brian Norris <computersforpeace@gmail.com >
2013-11-06 23:33:07 -08:00
..
2012-10-19 18:46:51 +01:00
2012-09-17 20:55:54 +01:00
2012-06-30 10:15:07 +01:00
2012-11-19 22:22:15 +00:00
2013-06-11 20:25:58 +01:00
2012-09-08 10:20:09 +01:00
2012-11-30 12:57:08 +00:00
2012-11-05 20:39:54 +00:00
2012-12-05 10:55:54 -08:00
2013-04-08 13:57:53 +02:00
2012-10-15 10:05:43 +08:00
2012-09-19 17:42:17 +02:00
2012-09-17 07:35:08 -04:00
2012-09-14 11:18:10 +02:00
2012-09-19 17:42:18 +02:00
2013-08-13 13:44:09 +01:00
2012-10-09 07:07:14 +09:00
2013-04-08 13:59:22 +02:00
2013-08-29 21:49:28 +01:00
2012-09-14 11:18:10 +02:00
2012-09-19 17:42:18 +02:00
2013-08-05 20:56:15 +01:00
2013-07-16 13:01:19 +09:00
2013-08-15 16:07:55 -04:00
2012-09-14 11:17:21 +02:00
2012-09-22 01:07:21 -07:00
2013-08-18 09:06:37 -03:00
2012-09-14 11:18:10 +02:00
2013-08-18 09:01:10 -03:00
2012-11-21 11:02:44 -08:00
2013-05-14 10:23:58 +05:30
2012-06-10 18:41:40 +02:00
2012-08-24 17:42:10 -07:00
2012-07-11 15:36:45 -07:00
2013-06-06 18:16:04 -07:00
2012-11-05 09:55:33 +01:00
2013-04-29 18:28:13 -07:00
2013-03-10 16:46:41 +08:00
2012-11-05 09:55:32 +01:00
2013-06-30 21:24:21 -07:00
2012-12-07 14:46:56 +09:00
2012-11-15 20:50:34 +08:00
2013-07-05 11:40:29 +05:30
2013-01-07 17:35:57 +01:00
2012-09-14 11:16:55 +02:00
2012-09-14 11:17:21 +02:00
2013-07-05 11:40:26 +05:30
2012-09-14 11:18:10 +02:00
2012-11-20 15:59:00 +01:00
2013-09-02 17:35:55 +05:30
2013-06-04 11:12:11 +02:00
2012-11-16 10:35:08 -06:00
2012-09-19 17:39:52 +02:00
2013-03-18 11:16:38 +02:00
2013-09-04 18:38:46 +05:30
2013-08-09 17:32:57 +01:00
2012-04-18 13:52:35 -07:00
2013-04-05 12:57:18 +01:00
2013-03-25 13:18:12 -07:00
2012-09-14 11:17:36 +02:00
2013-06-27 10:31:42 -07:00
2013-07-16 13:01:05 +09:00
2013-07-21 17:24:41 +02:00
2012-11-02 12:00:36 -07:00
2013-06-04 21:03:56 +09:00
2012-12-10 11:23:25 +01:00
2012-09-19 17:42:18 +02:00
2012-11-19 09:57:16 +01:00
2012-09-14 11:16:54 +02:00
2012-09-14 11:17:21 +02:00
2012-10-06 13:20:33 +02:00
2012-09-14 11:18:59 +02:00
2013-02-14 15:04:40 +01:00
2012-05-22 06:48:02 -07:00
2013-02-10 17:42:43 +00:00
2012-12-03 18:48:23 +01:00
2012-09-14 11:18:10 +02:00
2013-03-18 21:26:06 +09:00
2013-03-18 21:26:06 +09:00
2012-09-14 11:18:10 +02:00
2012-09-19 17:42:19 +02:00
2012-09-14 11:16:55 +02:00
2012-09-14 11:19:00 +02:00
2012-09-19 17:39:52 +02:00
2013-06-18 22:56:51 -07:00
2012-09-14 11:18:59 +02:00
2012-09-14 11:16:54 +02:00
2012-09-19 17:39:52 +02:00
2012-09-19 17:42:17 +02:00
2012-09-19 17:42:17 +02:00
2012-09-11 18:32:43 +08:00
2012-09-13 11:56:41 +08:00
2013-08-26 17:22:10 -07:00
2012-10-17 12:03:18 -07:00
2013-08-26 17:22:14 -07:00
2012-09-19 17:42:18 +02:00
2012-10-06 03:04:53 +09:00
2012-10-06 03:04:53 +09:00
2013-04-29 18:28:19 -07:00
2012-09-20 18:07:23 -07:00
2012-12-24 16:32:34 +00:00
2013-07-16 13:01:10 +09:00
2012-10-23 02:40:10 -04:00
2013-06-11 11:41:30 -05:00
2012-09-23 21:08:33 -07:00
2013-07-26 15:53:27 -07:00
2013-02-06 09:57:56 -08:00
2012-09-14 11:18:57 +02:00
2013-02-03 20:37:42 +01:00
2012-10-05 22:35:16 -03:00
2013-04-03 09:42:16 +05:30
2013-06-27 11:29:41 -04:00
2012-09-14 11:17:35 +02:00
2012-09-19 17:42:17 +02:00
2012-09-14 11:17:21 +02:00
2012-12-12 11:45:16 -08:00
2013-07-23 12:15:15 -07:00
2012-09-19 17:42:18 +02:00
2013-04-19 13:51:23 +02:00
2012-06-13 13:13:37 +01:00
2012-09-14 08:14:07 +05:30
2012-09-14 11:18:10 +02:00
2012-09-14 11:16:54 +02:00
2012-09-14 11:16:54 +02:00
2012-09-14 11:17:21 +02:00
2013-11-06 23:33:07 -08:00
2013-08-30 21:34:58 +01:00
2012-09-19 17:42:18 +02:00
2013-02-01 14:10:11 -08:00
2012-09-19 17:42:17 +02:00
2013-04-02 11:42:47 +03:00
2013-06-03 15:54:56 -04:00
2013-04-07 21:16:40 -07:00
2012-09-10 16:34:00 -07:00
2012-10-30 11:10:00 -07:00
2012-12-07 12:54:31 +09:00
2012-10-29 20:49:44 -06:00
2013-08-29 12:33:52 -07:00
2012-09-14 11:18:10 +02:00
2013-08-07 22:30:58 +02:00
2012-11-19 23:56:59 +01:00
2013-06-21 11:33:28 +02:00
2012-11-16 11:35:30 +00:00
2012-12-06 13:54:51 -05:00
2013-08-09 23:17:52 +02:00
2013-07-01 15:30:51 +03:00
2013-02-14 15:14:32 -08:00
2012-11-16 11:35:29 +00:00
2013-01-18 15:06:30 +02:00
2012-08-22 19:34:51 +01:00
2012-09-14 11:17:21 +02:00
2013-05-19 16:37:08 -06:00
2013-08-02 15:25:19 +08:00
2013-02-06 10:57:25 +01:00
2012-09-18 12:28:22 +02:00
2012-09-23 21:08:35 -07:00
2013-05-28 22:50:31 -07:00
2013-09-05 09:49:32 -07:00
2012-12-05 23:14:38 +00:00
2013-06-18 10:52:03 +05:30
2012-09-14 11:16:55 +02:00
2012-09-14 11:17:21 +02:00
2012-09-14 11:18:59 +02:00
2013-01-26 17:00:04 +08:00
2013-04-12 13:54:58 +01:00
2013-05-25 10:33:30 -04:00
2013-04-15 10:00:44 -07:00
2013-08-03 18:40:28 +01:00
2012-09-19 17:42:18 +02:00
2013-01-27 17:37:24 +00:00
2012-10-24 15:39:08 -07:00
2012-10-27 16:28:32 +05:30
2013-05-30 21:32:52 +09:00
2012-09-14 11:16:54 +02:00
2012-09-14 11:17:21 +02:00
2012-09-19 17:42:17 +02:00
2012-09-19 17:42:18 +02:00
2012-09-14 11:17:21 +02:00
2013-06-04 11:12:02 +02:00
2012-09-14 11:17:21 +02:00
2013-04-08 21:54:16 +09:00
2012-09-14 11:18:10 +02:00
2012-09-19 17:42:18 +02:00
2013-02-13 13:22:49 +02:00
2012-09-14 11:18:10 +02:00
2013-06-11 16:11:16 +09:00
2012-09-19 17:42:18 +02:00
2013-02-14 00:22:53 +01:00
2013-04-11 14:49:20 +03:00
2012-09-14 11:16:55 +02:00
2012-09-14 11:17:21 +02:00
2012-09-14 11:17:35 +02:00
2012-09-14 11:17:21 +02:00
2012-09-14 11:18:59 +02:00
2012-09-14 11:18:10 +02:00
2012-09-19 17:39:52 +02:00
2013-08-18 07:30:16 -03:00
2012-04-05 01:43:02 -04:00