From 30b2afc8471ea06a6d18b9f6bc183dafb99de1f9 Mon Sep 17 00:00:00 2001 From: Ezequiel Garcia Date: Wed, 18 Dec 2013 18:44:10 -0300 Subject: [PATCH] mtd: nand: pxa3xx: Consolidate ECC initialization In order to avoid code duplication, let's consolidate the ECC setting for all SoC variants. Such decision is based on page size and ECC strength requirements. Also, provide a default value for the case where such ECC information is not provided (non-ONFI devices). Tested-by: Arnaud Ebalard Signed-off-by: Ezequiel Garcia Signed-off-by: Brian Norris --- Reading git-format-patch failed