get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/809071/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 809071,
    "url": "http://patchwork.ozlabs.org/api/patches/809071/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1504361057-14849-1-git-send-email-aford173@gmail.com/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api",
        "name": "U-Boot",
        "link_name": "uboot",
        "list_id": "u-boot.lists.denx.de",
        "list_email": "u-boot@lists.denx.de",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1504361057-14849-1-git-send-email-aford173@gmail.com>",
    "list_archive_url": null,
    "date": "2017-09-02T14:04:14",
    "name": "[U-Boot] Convert CONFIG_NAND_OMAP_ECCSCHEME to Kconfig",
    "commit_ref": null,
    "pull_url": null,
    "state": "deferred",
    "archived": false,
    "hash": "6d76ac35ad6fda4d9d8d0b87a85ad505ceeacc2b",
    "submitter": {
        "id": 67132,
        "url": "http://patchwork.ozlabs.org/api/people/67132/?format=api",
        "name": "Adam Ford",
        "email": "aford173@gmail.com"
    },
    "delegate": {
        "id": 3651,
        "url": "http://patchwork.ozlabs.org/api/users/3651/?format=api",
        "username": "trini",
        "first_name": "Tom",
        "last_name": "Rini",
        "email": "trini@ti.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1504361057-14849-1-git-send-email-aford173@gmail.com/mbox/",
    "series": [
        {
            "id": 1157,
            "url": "http://patchwork.ozlabs.org/api/series/1157/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=1157",
            "date": "2017-09-02T14:04:14",
            "name": "[U-Boot] Convert CONFIG_NAND_OMAP_ECCSCHEME to Kconfig",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/1157/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/809071/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/809071/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<u-boot-bounces@lists.denx.de>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"m1wNd6rS\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xkzLj4B6Dz9sP1\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun,  3 Sep 2017 00:41:01 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 301D4C21ECC; Sat,  2 Sep 2017 14:41:00 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id C10FEC21DD0;\n\tSat,  2 Sep 2017 14:40:49 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid 2568FC21DAD; Sat,  2 Sep 2017 14:04:31 +0000 (UTC)",
            "from mail-it0-f65.google.com (mail-it0-f65.google.com\n\t[209.85.214.65])\n\tby lists.denx.de (Postfix) with ESMTPS id 09419C21C5C\n\tfor <u-boot@lists.denx.de>; Sat,  2 Sep 2017 14:04:30 +0000 (UTC)",
            "by mail-it0-f65.google.com with SMTP id b76so1091380itb.2\n\tfor <u-boot@lists.denx.de>; Sat, 02 Sep 2017 07:04:29 -0700 (PDT)",
            "from ubuntu16.lan (c-73-65-120-235.hsd1.mn.comcast.net.\n\t[73.65.120.235]) by smtp.gmail.com with ESMTPSA id\n\t193sm1282766iti.31.2017.09.02.07.04.25\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tSat, 02 Sep 2017 07:04:27 -0700 (PDT)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-0.0 required=5.0 tests=FREEMAIL_FROM,\n\tKHOP_BIG_TO_CC, \n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.0",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id;\n\tbh=ssoSnLITRVibwEMq3VWH2z639EjFCU4lWrJ2vHjPoug=;\n\tb=m1wNd6rS/4fJtjXfSZxOLQhsHVRUfnDaTgwtZYsjwhyaWxRg22NF7bkMZZyZj0w2dY\n\ti2eWAAlhKK9aORwcEi1rqvzLnSz7pIU5bUbT/TrbiWX0cu4st3LRBsfyNajeRVBaLHh3\n\twgp+g/OxnDeOIAu4SjmVMncfFsq3RFvNvzpPbtjVfR2wtbxlOPqRdOLAK8mLysvLAPkE\n\teq3fx3fnBwJnpanltld6SJ1EHJyJuJevR7EZvRgAz7KgRJa7xQrc3lGl9CaXfQ7mfqeW\n\tbts/GAmpYKKynKS0B2RkKtLCzLQ4m5sWad7WvOevjBqkAlI5dZqYOdMVtCzaKtKqJ/i1\n\tFCqA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=ssoSnLITRVibwEMq3VWH2z639EjFCU4lWrJ2vHjPoug=;\n\tb=Kun5lwS4DMGPZ0tBKG7dlHz6mNH1o4cq70Q2jNVDfTVKxzXUsmRDHkCTAaD+Ot0yZB\n\tg08YbIt6HFf2vl3A0rs2eioiHmo4hVnitNGDNm+Oa1PYNJUI5vP7o4XnLpIRgEB9WHK3\n\tBbvhT+MhMX7CaWNGJ8D7/jzvd8O8bLJsyQX9aNh/vh59VvkWkY8Bf2kBJlvHe0nXKIet\n\t+ctmRBYGu+la+pQ1XrPbKlIbpbGyMk/hbCAO8Q3tDgvYCwfdO8nr8Lv/xNBIDManswc5\n\tV8jD9Nr05kOeDgTrOVB7HaEH34h+04zRCGWiNcEIjbU2J9teu7tkXqnV6xMDFjpfsB2X\n\tlzng==",
        "X-Gm-Message-State": "AHPjjUjFydGO1QlMQ5Ho6VVV8CBIoOH3qjkuM96rOPIn0u8d4oCEnHwO\n\tRv+TGPcG5tT1ng==",
        "X-Google-Smtp-Source": "ADKCNb66anxoyHj8x8vJhpjvOAUjCkBxf9T5PsNpg7fu9Jz2JUo1wWNSajAdO24vBMY1Xrn03+DUmw==",
        "X-Received": "by 10.36.210.214 with SMTP id z205mr1110054itf.126.1504361068302;\n\tSat, 02 Sep 2017 07:04:28 -0700 (PDT)",
        "From": "Adam Ford <aford173@gmail.com>",
        "To": "adam.ford@logicpd.com",
        "Date": "Sat,  2 Sep 2017 09:04:14 -0500",
        "Message-Id": "<1504361057-14849-1-git-send-email-aford173@gmail.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "X-Mailman-Approved-At": "Sat, 02 Sep 2017 14:40:49 +0000",
        "Cc": "\"Albert ARIBAUD \\(3ADEV\\)\" <albert.aribaud@3adev.fr>,\n\tStefan Roese <sr@denx.de>, Jagan Teki <jagan@openedev.com>,\n\tNagendra T S <nagendra@mistralsolutions.com>,\n\tVaibhav Hiremath <hvaibhav@ti.com>,\n\tTapani Utriainen <linuxfae@technexion.com>, \n\tThomas Weber <weber@corscience.de>,\n\tGilles Gameiro <gilles@gigadevices.com>, \n\tRoger Meier <r.meier@siemens.com>, Scott Wood <oss@buserror.net>,\n\tRaphael Assenat <raph@8d.com>, u-boot@lists.denx.de,\n\tLothar Felten <lothar.felten@gmail.com>",
        "Subject": "[U-Boot] [PATCH] Convert CONFIG_NAND_OMAP_ECCSCHEME to Kconfig",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.18",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>",
        "List-Archive": "<http://lists.denx.de/pipermail/u-boot/>",
        "List-Post": "<mailto:u-boot@lists.denx.de>",
        "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>",
        "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>"
    },
    "content": "This converts the following to Kconfig:\n   CONFIG_NAND_OMAP_ECCSCHEME\n\nThis is just the first step to migrate ECCSCHEME. Eventually,\nthe goal is to make the Kconfig smarter by setting up\nmenu options and dependancies after evertying gets migrated.\n\nSigned-off-by: Adam Ford <aford173@gmail.com>\n---\n configs/am335x_baltos_defconfig           |  1 +\n configs/am335x_evm_defconfig              |  1 +\n configs/am335x_evm_nor_defconfig          |  1 +\n configs/am335x_evm_usbspl_defconfig       |  1 +\n configs/am335x_hs_evm_defconfig           |  1 +\n configs/am335x_igep003x_defconfig         |  2 +-\n configs/am3517_crane_defconfig            |  5 +++--\n configs/am3517_evm_defconfig              |  1 +\n configs/am43xx_evm_defconfig              |  1 +\n configs/am43xx_evm_ethboot_defconfig      |  1 +\n configs/am43xx_evm_usbhost_boot_defconfig |  1 +\n configs/am43xx_hs_evm_defconfig           |  1 +\n configs/brppt1_nand_defconfig             |  2 +-\n configs/cairo_defconfig                   |  1 +\n configs/chiliboard_defconfig              |  1 +\n configs/cm_t335_defconfig                 |  1 +\n configs/cm_t3517_defconfig                |  1 +\n configs/cm_t35_defconfig                  |  1 +\n configs/cm_t43_defconfig                  |  1 +\n configs/devkit8000_defconfig              |  1 +\n configs/draco_defconfig                   |  2 +-\n configs/eco5pk_defconfig                  |  1 +\n configs/etamin_defconfig                  |  2 +-\n configs/igep0032_defconfig                |  1 +\n configs/igep00x0_defconfig                |  1 +\n configs/mcx_defconfig                     |  1 +\n configs/mt_ventoux_defconfig              |  1 +\n configs/omap3_beagle_defconfig            |  1 +\n configs/omap3_evm_defconfig               |  1 +\n configs/omap3_ha_defconfig                |  1 +\n configs/omap3_logic_defconfig             |  1 +\n configs/omap3_overo_defconfig             |  1 +\n configs/omap3_pandora_defconfig           |  1 +\n configs/omap3_zoom1_defconfig             |  1 +\n configs/pengwyn_defconfig                 |  2 +-\n configs/pxm2_defconfig                    |  2 +-\n configs/rastaban_defconfig                |  2 +-\n configs/rut_defconfig                     |  2 +-\n configs/tao3530_defconfig                 |  1 +\n configs/thuban_defconfig                  |  2 +-\n configs/ti816x_evm_defconfig              |  1 +\n configs/tricorder_defconfig               |  1 +\n configs/tricorder_flash_defconfig         |  1 +\n configs/twister_defconfig                 |  1 +\n drivers/mtd/nand/Kconfig                  | 14 ++++++++++++++\n include/configs/am335x_evm.h              |  1 -\n include/configs/am335x_igep003x.h         |  1 -\n include/configs/am3517_crane.h            |  1 -\n include/configs/am3517_evm.h              |  1 -\n include/configs/am43xx_evm.h              |  1 -\n include/configs/baltos.h                  |  1 -\n include/configs/bav335x.h                 |  1 -\n include/configs/brppt1.h                  |  1 -\n include/configs/chiliboard.h              |  1 -\n include/configs/cm_t35.h                  |  1 -\n include/configs/cm_t43.h                  |  1 -\n include/configs/devkit8000.h              |  1 -\n include/configs/dra7xx_evm.h              |  1 -\n include/configs/etamin.h                  |  2 --\n include/configs/mcx.h                     |  1 -\n include/configs/omap3_beagle.h            |  1 -\n include/configs/omap3_cairo.h             |  1 -\n include/configs/omap3_evm.h               |  1 -\n include/configs/omap3_igep00x0.h          |  1 -\n include/configs/omap3_logic.h             |  1 -\n include/configs/omap3_overo.h             |  1 -\n include/configs/omap3_pandora.h           |  1 -\n include/configs/pengwyn.h                 |  1 -\n include/configs/siemens-am33x-common.h    |  1 -\n include/configs/tam3517-common.h          |  1 -\n include/configs/tao3530.h                 |  1 -\n include/configs/ti816x_evm.h              |  1 -\n include/configs/tricorder.h               |  1 -\n scripts/config_whitelist.txt              |  1 -\n 74 files changed, 60 insertions(+), 41 deletions(-)",
    "diff": "diff --git a/configs/am335x_baltos_defconfig b/configs/am335x_baltos_defconfig\nindex 1f328aa..70e15e1 100644\n--- a/configs/am335x_baltos_defconfig\n+++ b/configs/am335x_baltos_defconfig\n@@ -51,6 +51,7 @@ CONFIG_ISO_PARTITION=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n CONFIG_NAND_OMAP_GPMC_PREFETCH=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_BCH8_CODE_HW\"\n CONFIG_PHYLIB=y\n CONFIG_SYS_NS16550=y\n CONFIG_OMAP3_SPI=y\ndiff --git a/configs/am335x_evm_defconfig b/configs/am335x_evm_defconfig\nindex 4c3aacb..6b7674f 100644\n--- a/configs/am335x_evm_defconfig\n+++ b/configs/am335x_evm_defconfig\n@@ -35,6 +35,7 @@ CONFIG_DM_MMC=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n CONFIG_NAND_OMAP_GPMC_PREFETCH=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_BCH8_CODE_HW\"\n CONFIG_SPI_FLASH=y\n CONFIG_SPI_FLASH_WINBOND=y\n CONFIG_PHYLIB=y\ndiff --git a/configs/am335x_evm_nor_defconfig b/configs/am335x_evm_nor_defconfig\nindex f68fbd9..7ece82c 100644\n--- a/configs/am335x_evm_nor_defconfig\n+++ b/configs/am335x_evm_nor_defconfig\n@@ -28,6 +28,7 @@ CONFIG_MMC_OMAP_HS=y\n CONFIG_MTD_NOR_FLASH=y\n CONFIG_NAND=y\n CONFIG_NAND_OMAP_GPMC_PREFETCH=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_BCH8_CODE_HW\"\n CONFIG_SPI_FLASH=y\n CONFIG_SPI_FLASH_WINBOND=y\n CONFIG_PHYLIB=y\ndiff --git a/configs/am335x_evm_usbspl_defconfig b/configs/am335x_evm_usbspl_defconfig\nindex e6d83ac..5b6fde8 100644\n--- a/configs/am335x_evm_usbspl_defconfig\n+++ b/configs/am335x_evm_usbspl_defconfig\n@@ -32,6 +32,7 @@ CONFIG_DFU_RAM=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n CONFIG_NAND_OMAP_GPMC_PREFETCH=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_BCH8_CODE_HW\"\n CONFIG_SPI_FLASH=y\n CONFIG_SPI_FLASH_WINBOND=y\n CONFIG_PHYLIB=y\ndiff --git a/configs/am335x_hs_evm_defconfig b/configs/am335x_hs_evm_defconfig\nindex dab5ba5..132e8fc 100644\n--- a/configs/am335x_hs_evm_defconfig\n+++ b/configs/am335x_hs_evm_defconfig\n@@ -39,6 +39,7 @@ CONFIG_DM_MMC=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n CONFIG_NAND_OMAP_GPMC_PREFETCH=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_BCH8_CODE_HW\"\n CONFIG_SPI_FLASH=y\n CONFIG_SPI_FLASH_WINBOND=y\n CONFIG_PHYLIB=y\ndiff --git a/configs/am335x_igep003x_defconfig b/configs/am335x_igep003x_defconfig\nindex 1b03c33..8240ff9 100644\n--- a/configs/am335x_igep003x_defconfig\n+++ b/configs/am335x_igep003x_defconfig\n@@ -9,7 +9,6 @@ CONFIG_TARGET_AM335X_IGEP003X=y\n CONFIG_SPL_MMC_SUPPORT=y\n CONFIG_SPL_SERIAL_SUPPORT=y\n CONFIG_SPL_LIBDISK_SUPPORT=y\n-CONFIG_SPL_NAND_SUPPORT=y\n CONFIG_SPL_WATCHDOG_SUPPORT=y\n CONFIG_SPL_STACK_R_ADDR=0x82000000\n CONFIG_SPL_FAT_SUPPORT=y\n@@ -53,6 +52,7 @@ CONFIG_EFI_PARTITION=y\n CONFIG_ENV_IS_IN_UBI=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_BCH8_CODE_HW\"\n CONFIG_MTD_UBI_FASTMAP=y\n CONFIG_PHYLIB=y\n CONFIG_SYS_NS16550=y\ndiff --git a/configs/am3517_crane_defconfig b/configs/am3517_crane_defconfig\nindex a5e539d..0d0517b 100644\n--- a/configs/am3517_crane_defconfig\n+++ b/configs/am3517_crane_defconfig\n@@ -15,8 +15,6 @@ CONFIG_SYS_PROMPT=\"AM3517_CRANE # \"\n # CONFIG_CMD_FPGA is not set\n CONFIG_CMD_I2C=y\n CONFIG_CMD_MMC=y\n-CONFIG_NAND=y\n-CONFIG_SYS_NAND_BUSWIDTH_16BIT=y\n CONFIG_CMD_NAND=y\n CONFIG_CMD_USB=y\n # CONFIG_CMD_SETEXPR is not set\n@@ -28,6 +26,9 @@ CONFIG_CMD_FAT=y\n CONFIG_CMD_JFFS2=y\n CONFIG_ENV_IS_IN_NAND=y\n CONFIG_MMC_OMAP_HS=y\n+CONFIG_NAND=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_HAM1_CODE_HW\"\n+CONFIG_SYS_NAND_BUSWIDTH_16BIT=y\n CONFIG_SYS_NS16550=y\n CONFIG_USB=y\n CONFIG_USB_STORAGE=y\ndiff --git a/configs/am3517_evm_defconfig b/configs/am3517_evm_defconfig\nindex a0579d2..2f6711c 100644\n--- a/configs/am3517_evm_defconfig\n+++ b/configs/am3517_evm_defconfig\n@@ -38,6 +38,7 @@ CONFIG_ENV_IS_IN_NAND=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n CONFIG_NAND_OMAP_GPMC_PREFETCH=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_BCH8_CODE_HW_DETECTION_SW\"\n CONFIG_SYS_NS16550=y\n CONFIG_USB=y\n CONFIG_USB_MUSB_HOST=y\ndiff --git a/configs/am43xx_evm_defconfig b/configs/am43xx_evm_defconfig\nindex 15c25d3..f0c71e0 100644\n--- a/configs/am43xx_evm_defconfig\n+++ b/configs/am43xx_evm_defconfig\n@@ -34,6 +34,7 @@ CONFIG_DM_GPIO=y\n CONFIG_DM_MMC=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_BCH16_CODE_HW\"\n CONFIG_SPI_FLASH=y\n CONFIG_SPI_FLASH_MACRONIX=y\n CONFIG_PHYLIB=y\ndiff --git a/configs/am43xx_evm_ethboot_defconfig b/configs/am43xx_evm_ethboot_defconfig\nindex 6c17088..199306a 100644\n--- a/configs/am43xx_evm_ethboot_defconfig\n+++ b/configs/am43xx_evm_ethboot_defconfig\n@@ -47,6 +47,7 @@ CONFIG_DFU_RAM=y\n CONFIG_DFU_SF=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_BCH16_CODE_HW\"\n CONFIG_SPI_FLASH=y\n CONFIG_SPI_FLASH_MACRONIX=y\n CONFIG_PHYLIB=y\ndiff --git a/configs/am43xx_evm_usbhost_boot_defconfig b/configs/am43xx_evm_usbhost_boot_defconfig\nindex 0bed335..bab4d9f 100644\n--- a/configs/am43xx_evm_usbhost_boot_defconfig\n+++ b/configs/am43xx_evm_usbhost_boot_defconfig\n@@ -57,6 +57,7 @@ CONFIG_DM_GPIO=y\n CONFIG_DM_MMC=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_BCH16_CODE_HW\"\n CONFIG_SPI_FLASH=y\n CONFIG_SPI_FLASH_MACRONIX=y\n CONFIG_PHYLIB=y\ndiff --git a/configs/am43xx_hs_evm_defconfig b/configs/am43xx_hs_evm_defconfig\nindex a4d23e1..c6feb42 100644\n--- a/configs/am43xx_hs_evm_defconfig\n+++ b/configs/am43xx_hs_evm_defconfig\n@@ -45,6 +45,7 @@ CONFIG_DM_GPIO=y\n CONFIG_DM_MMC=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_BCH16_CODE_HW\"\n CONFIG_SPI_FLASH=y\n CONFIG_SPI_FLASH_MACRONIX=y\n CONFIG_PHYLIB=y\ndiff --git a/configs/brppt1_nand_defconfig b/configs/brppt1_nand_defconfig\nindex f814f2b..646221a 100644\n--- a/configs/brppt1_nand_defconfig\n+++ b/configs/brppt1_nand_defconfig\n@@ -6,7 +6,6 @@ CONFIG_SPL_LIBGENERIC_SUPPORT=y\n CONFIG_AM33XX=y\n CONFIG_TARGET_BRPPT1=y\n CONFIG_SPL_SERIAL_SUPPORT=y\n-CONFIG_SPL_NAND_SUPPORT=y\n CONFIG_SPL_WATCHDOG_SUPPORT=y\n CONFIG_OF_BOARD_SETUP=y\n CONFIG_SYS_EXTRA_OPTIONS=\"SERIAL1,CONS_INDEX=1\"\n@@ -53,6 +52,7 @@ CONFIG_ENV_IS_IN_NAND=y\n CONFIG_NETCONSOLE=y\n # CONFIG_MMC is not set\n CONFIG_NAND=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_BCH8_CODE_HW\"\n CONFIG_PHYLIB=y\n CONFIG_SYS_NS16550=y\n CONFIG_USB=y\ndiff --git a/configs/cairo_defconfig b/configs/cairo_defconfig\nindex 2a1b0f9..898fb2c 100644\n--- a/configs/cairo_defconfig\n+++ b/configs/cairo_defconfig\n@@ -40,6 +40,7 @@ CONFIG_EFI_PARTITION=y\n CONFIG_ENV_IS_IN_NAND=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_HAM1_CODE_HW\"\n CONFIG_SYS_NS16550=y\n CONFIG_OMAP3_SPI=y\n CONFIG_FAT_WRITE=y\ndiff --git a/configs/chiliboard_defconfig b/configs/chiliboard_defconfig\nindex f74095d..fba7dca 100644\n--- a/configs/chiliboard_defconfig\n+++ b/configs/chiliboard_defconfig\n@@ -41,6 +41,7 @@ CONFIG_DM_GPIO=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n CONFIG_NAND_OMAP_GPMC_PREFETCH=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_BCH8_CODE_HW\"\n CONFIG_PHYLIB=y\n CONFIG_SYS_NS16550=y\n CONFIG_OMAP3_SPI=y\ndiff --git a/configs/cm_t335_defconfig b/configs/cm_t335_defconfig\nindex d0a9f69..98e46f9 100644\n--- a/configs/cm_t335_defconfig\n+++ b/configs/cm_t335_defconfig\n@@ -54,6 +54,7 @@ CONFIG_LED_STATUS_BOOT_ENABLE=y\n CONFIG_LED_STATUS_BOOT=0\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_HAM1_CODE_SW\"\n CONFIG_PHYLIB=y\n CONFIG_SYS_NS16550=y\n CONFIG_FAT_WRITE=y\ndiff --git a/configs/cm_t3517_defconfig b/configs/cm_t3517_defconfig\nindex 46b5c1c..8cfb6c4 100644\n--- a/configs/cm_t3517_defconfig\n+++ b/configs/cm_t3517_defconfig\n@@ -38,6 +38,7 @@ CONFIG_LED_STATUS_BOOT_ENABLE=y\n CONFIG_LED_STATUS_BOOT=0\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_HAM1_CODE_SW\"\n CONFIG_SYS_NS16550=y\n CONFIG_OMAP3_SPI=y\n CONFIG_USB=y\ndiff --git a/configs/cm_t35_defconfig b/configs/cm_t35_defconfig\nindex b203752..41b15e4 100644\n--- a/configs/cm_t35_defconfig\n+++ b/configs/cm_t35_defconfig\n@@ -40,6 +40,7 @@ CONFIG_LED_STATUS_BOOT_ENABLE=y\n CONFIG_LED_STATUS_BOOT=0\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_HAM1_CODE_HW\"\n CONFIG_SYS_NS16550=y\n CONFIG_OMAP3_SPI=y\n CONFIG_USB=y\ndiff --git a/configs/cm_t43_defconfig b/configs/cm_t43_defconfig\nindex 27d9063..139b28d 100644\n--- a/configs/cm_t43_defconfig\n+++ b/configs/cm_t43_defconfig\n@@ -55,6 +55,7 @@ CONFIG_DM=y\n CONFIG_DM_GPIO=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_BCH8_CODE_HW\"\n CONFIG_SPI_FLASH=y\n CONFIG_SPI_FLASH_BAR=y\n CONFIG_SPI_FLASH_ATMEL=y\ndiff --git a/configs/devkit8000_defconfig b/configs/devkit8000_defconfig\nindex 8f3888a..7b3a70f 100644\n--- a/configs/devkit8000_defconfig\n+++ b/configs/devkit8000_defconfig\n@@ -32,5 +32,6 @@ CONFIG_EFI_PARTITION=y\n CONFIG_ENV_IS_IN_NAND=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_HAM1_CODE_HW\"\n CONFIG_SYS_NS16550=y\n CONFIG_OF_LIBFDT=y\ndiff --git a/configs/draco_defconfig b/configs/draco_defconfig\nindex f5a2c1b..8fa58bf 100644\n--- a/configs/draco_defconfig\n+++ b/configs/draco_defconfig\n@@ -11,7 +11,6 @@ CONFIG_TARGET_DRACO=y\n CONFIG_SPL_MMC_SUPPORT=y\n CONFIG_SPL_SERIAL_SUPPORT=y\n CONFIG_SPL_LIBDISK_SUPPORT=y\n-CONFIG_SPL_NAND_SUPPORT=y\n CONFIG_SPL_SPI_FLASH_SUPPORT=y\n CONFIG_SPL_SPI_SUPPORT=y\n CONFIG_SPL_WATCHDOG_SUPPORT=y\n@@ -54,6 +53,7 @@ CONFIG_ENV_IS_IN_NAND=y\n CONFIG_DFU_NAND=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_BCH8_CODE_HW\"\n CONFIG_SPI_FLASH=y\n CONFIG_SPI_FLASH_WINBOND=y\n CONFIG_MTD_UBI_FASTMAP=y\ndiff --git a/configs/eco5pk_defconfig b/configs/eco5pk_defconfig\nindex 57fde87..3bee20b 100644\n--- a/configs/eco5pk_defconfig\n+++ b/configs/eco5pk_defconfig\n@@ -27,6 +27,7 @@ CONFIG_ENV_IS_IN_NAND=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n CONFIG_NAND_OMAP_GPMC_PREFETCH=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_HAM1_CODE_SW\"\n CONFIG_SYS_NS16550=y\n CONFIG_USB=y\n CONFIG_USB_EHCI_HCD=y\ndiff --git a/configs/etamin_defconfig b/configs/etamin_defconfig\nindex 148d421..1422f94 100644\n--- a/configs/etamin_defconfig\n+++ b/configs/etamin_defconfig\n@@ -11,7 +11,6 @@ CONFIG_TARGET_ETAMIN=y\n CONFIG_SPL_MMC_SUPPORT=y\n CONFIG_SPL_SERIAL_SUPPORT=y\n CONFIG_SPL_LIBDISK_SUPPORT=y\n-CONFIG_SPL_NAND_SUPPORT=y\n CONFIG_SPL_SPI_FLASH_SUPPORT=y\n CONFIG_SPL_SPI_SUPPORT=y\n CONFIG_SPL_WATCHDOG_SUPPORT=y\n@@ -54,6 +53,7 @@ CONFIG_ENV_IS_IN_NAND=y\n CONFIG_DFU_NAND=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_BCH16_CODE_HW\"\n CONFIG_SPI_FLASH=y\n CONFIG_SPI_FLASH_WINBOND=y\n CONFIG_MTD_UBI_FASTMAP=y\ndiff --git a/configs/igep0032_defconfig b/configs/igep0032_defconfig\nindex 6e3dcb0..b2d2bdc 100644\n--- a/configs/igep0032_defconfig\n+++ b/configs/igep0032_defconfig\n@@ -31,6 +31,7 @@ CONFIG_CMD_UBI=y\n CONFIG_NET_RANDOM_ETHADDR=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_BCH8_CODE_HW_DETECTION_SW\"\n CONFIG_SYS_NS16550=y\n CONFIG_OMAP3_SPI=y\n CONFIG_FAT_WRITE=y\ndiff --git a/configs/igep00x0_defconfig b/configs/igep00x0_defconfig\nindex c504e75..9dacaa3 100644\n--- a/configs/igep00x0_defconfig\n+++ b/configs/igep00x0_defconfig\n@@ -31,6 +31,7 @@ CONFIG_CMD_UBI=y\n CONFIG_NET_RANDOM_ETHADDR=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_BCH8_CODE_HW_DETECTION_SW\"\n CONFIG_MTD_UBI_FASTMAP=y\n CONFIG_SYS_NS16550=y\n CONFIG_OMAP3_SPI=y\ndiff --git a/configs/mcx_defconfig b/configs/mcx_defconfig\nindex 4f234ba..73bb2d4 100644\n--- a/configs/mcx_defconfig\n+++ b/configs/mcx_defconfig\n@@ -36,6 +36,7 @@ CONFIG_ENV_IS_IN_NAND=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n CONFIG_NAND_OMAP_GPMC_PREFETCH=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_HAM1_CODE_SW\"\n CONFIG_SYS_NS16550=y\n CONFIG_USB=y\n CONFIG_USB_EHCI_HCD=y\ndiff --git a/configs/mt_ventoux_defconfig b/configs/mt_ventoux_defconfig\nindex 0c52b8d..fbf4edb 100644\n--- a/configs/mt_ventoux_defconfig\n+++ b/configs/mt_ventoux_defconfig\n@@ -33,6 +33,7 @@ CONFIG_ENV_IS_IN_NAND=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n CONFIG_NAND_OMAP_GPMC_PREFETCH=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_HAM1_CODE_SW\"\n CONFIG_SYS_NS16550=y\n CONFIG_USB=y\n CONFIG_USB_EHCI_HCD=y\ndiff --git a/configs/omap3_beagle_defconfig b/configs/omap3_beagle_defconfig\nindex 091979e..e99dbf8 100644\n--- a/configs/omap3_beagle_defconfig\n+++ b/configs/omap3_beagle_defconfig\n@@ -41,6 +41,7 @@ CONFIG_LED_STATUS_GREEN=2\n CONFIG_LED_STATUS_CMD=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_HAM1_CODE_HW\"\n CONFIG_SYS_NS16550=y\n CONFIG_OMAP3_SPI=y\n CONFIG_USB=y\ndiff --git a/configs/omap3_evm_defconfig b/configs/omap3_evm_defconfig\nindex a64151d..ddd0e5c 100644\n--- a/configs/omap3_evm_defconfig\n+++ b/configs/omap3_evm_defconfig\n@@ -46,6 +46,7 @@ CONFIG_DM_GPIO=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_MTD=y\n CONFIG_NAND=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_BCH8_CODE_HW_DETECTION_SW\"\n CONFIG_DM_SERIAL=y\n CONFIG_SYS_NS16550=y\n CONFIG_OMAP3_SPI=y\ndiff --git a/configs/omap3_ha_defconfig b/configs/omap3_ha_defconfig\nindex cc7de5b..55adca0 100644\n--- a/configs/omap3_ha_defconfig\n+++ b/configs/omap3_ha_defconfig\n@@ -26,6 +26,7 @@ CONFIG_CMD_MTDPARTS=y\n CONFIG_ENV_IS_IN_NAND=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_HAM1_CODE_HW\"\n CONFIG_SYS_NAND_BUSWIDTH_16BIT=y\n CONFIG_SYS_NS16550=y\n CONFIG_OMAP3_SPI=y\ndiff --git a/configs/omap3_logic_defconfig b/configs/omap3_logic_defconfig\nindex ffb325e..69f24ba 100644\n--- a/configs/omap3_logic_defconfig\n+++ b/configs/omap3_logic_defconfig\n@@ -38,6 +38,7 @@ CONFIG_DM_MMC=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_MMC_OMAP36XX_PINS=y\n CONFIG_NAND=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_BCH8_CODE_HW_DETECTION_SW\"\n CONFIG_SYS_NS16550=y\n CONFIG_OMAP3_SPI=y\n CONFIG_USB=y\ndiff --git a/configs/omap3_overo_defconfig b/configs/omap3_overo_defconfig\nindex 5d1cbe9..c0d028b 100644\n--- a/configs/omap3_overo_defconfig\n+++ b/configs/omap3_overo_defconfig\n@@ -44,6 +44,7 @@ CONFIG_EFI_PARTITION=y\n CONFIG_ENV_IS_IN_NAND=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_BCH8_CODE_HW_DETECTION_SW\"\n CONFIG_SYS_NS16550=y\n CONFIG_OMAP3_SPI=y\n CONFIG_USB=y\ndiff --git a/configs/omap3_pandora_defconfig b/configs/omap3_pandora_defconfig\nindex ae534a2..4670e23 100644\n--- a/configs/omap3_pandora_defconfig\n+++ b/configs/omap3_pandora_defconfig\n@@ -26,6 +26,7 @@ CONFIG_CMD_UBI=y\n CONFIG_ENV_IS_IN_NAND=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_HAM1_CODE_SW\"\n CONFIG_SYS_NS16550=y\n CONFIG_OMAP3_SPI=y\n CONFIG_FAT_WRITE=y\ndiff --git a/configs/omap3_zoom1_defconfig b/configs/omap3_zoom1_defconfig\nindex e0aa04b..2ab2dc1 100644\n--- a/configs/omap3_zoom1_defconfig\n+++ b/configs/omap3_zoom1_defconfig\n@@ -33,6 +33,7 @@ CONFIG_EFI_PARTITION=y\n CONFIG_ENV_IS_IN_NAND=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_HAM1_CODE_SW\"\n CONFIG_SYS_NS16550=y\n CONFIG_OMAP3_SPI=y\n CONFIG_FAT_WRITE=y\ndiff --git a/configs/pengwyn_defconfig b/configs/pengwyn_defconfig\nindex 569f12c..2381fa1 100644\n--- a/configs/pengwyn_defconfig\n+++ b/configs/pengwyn_defconfig\n@@ -8,7 +8,6 @@ CONFIG_TARGET_PENGWYN=y\n CONFIG_SPL_MMC_SUPPORT=y\n CONFIG_SPL_SERIAL_SUPPORT=y\n CONFIG_SPL_LIBDISK_SUPPORT=y\n-CONFIG_SPL_NAND_SUPPORT=y\n CONFIG_SPL_WATCHDOG_SUPPORT=y\n CONFIG_SPL_FAT_SUPPORT=y\n CONFIG_SYS_CONSOLE_INFO_QUIET=y\n@@ -56,6 +55,7 @@ CONFIG_EFI_PARTITION=y\n CONFIG_ENV_IS_IN_NAND=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_BCH16_CODE_HW\"\n CONFIG_PHYLIB=y\n CONFIG_SYS_NS16550=y\n CONFIG_OMAP3_SPI=y\ndiff --git a/configs/pxm2_defconfig b/configs/pxm2_defconfig\nindex 38370ee..b612084 100644\n--- a/configs/pxm2_defconfig\n+++ b/configs/pxm2_defconfig\n@@ -11,7 +11,6 @@ CONFIG_TARGET_PXM2=y\n CONFIG_SPL_MMC_SUPPORT=y\n CONFIG_SPL_SERIAL_SUPPORT=y\n CONFIG_SPL_LIBDISK_SUPPORT=y\n-CONFIG_SPL_NAND_SUPPORT=y\n CONFIG_SPL_SPI_FLASH_SUPPORT=y\n CONFIG_SPL_SPI_SUPPORT=y\n CONFIG_SPL_WATCHDOG_SUPPORT=y\n@@ -58,6 +57,7 @@ CONFIG_ENV_IS_IN_NAND=y\n CONFIG_DFU_NAND=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_BCH8_CODE_HW\"\n CONFIG_SPI_FLASH=y\n CONFIG_SPI_FLASH_WINBOND=y\n CONFIG_MTD_UBI_FASTMAP=y\ndiff --git a/configs/rastaban_defconfig b/configs/rastaban_defconfig\nindex 5acfe22..baa1eb3 100644\n--- a/configs/rastaban_defconfig\n+++ b/configs/rastaban_defconfig\n@@ -11,7 +11,6 @@ CONFIG_TARGET_RASTABAN=y\n CONFIG_SPL_MMC_SUPPORT=y\n CONFIG_SPL_SERIAL_SUPPORT=y\n CONFIG_SPL_LIBDISK_SUPPORT=y\n-CONFIG_SPL_NAND_SUPPORT=y\n CONFIG_SPL_SPI_FLASH_SUPPORT=y\n CONFIG_SPL_SPI_SUPPORT=y\n CONFIG_SPL_WATCHDOG_SUPPORT=y\n@@ -54,6 +53,7 @@ CONFIG_ENV_IS_IN_NAND=y\n CONFIG_DFU_NAND=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_BCH8_CODE_HW\"\n CONFIG_SPI_FLASH=y\n CONFIG_SPI_FLASH_WINBOND=y\n CONFIG_MTD_UBI_FASTMAP=y\ndiff --git a/configs/rut_defconfig b/configs/rut_defconfig\nindex 6ec8ff3..56e7f4e 100644\n--- a/configs/rut_defconfig\n+++ b/configs/rut_defconfig\n@@ -11,7 +11,6 @@ CONFIG_TARGET_RUT=y\n CONFIG_SPL_MMC_SUPPORT=y\n CONFIG_SPL_SERIAL_SUPPORT=y\n CONFIG_SPL_LIBDISK_SUPPORT=y\n-CONFIG_SPL_NAND_SUPPORT=y\n CONFIG_SPL_SPI_FLASH_SUPPORT=y\n CONFIG_SPL_SPI_SUPPORT=y\n CONFIG_SPL_WATCHDOG_SUPPORT=y\n@@ -59,6 +58,7 @@ CONFIG_ENV_IS_IN_NAND=y\n CONFIG_DFU_NAND=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_BCH8_CODE_HW\"\n CONFIG_SPI_FLASH=y\n CONFIG_SPI_FLASH_WINBOND=y\n CONFIG_MTD_UBI_FASTMAP=y\ndiff --git a/configs/tao3530_defconfig b/configs/tao3530_defconfig\nindex d98d2f3..af81dae 100644\n--- a/configs/tao3530_defconfig\n+++ b/configs/tao3530_defconfig\n@@ -26,6 +26,7 @@ CONFIG_CMD_MTDPARTS=y\n CONFIG_ENV_IS_IN_NAND=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_HAM1_CODE_HW\"\n CONFIG_SYS_NAND_BUSWIDTH_16BIT=y\n CONFIG_SYS_NS16550=y\n CONFIG_OMAP3_SPI=y\ndiff --git a/configs/thuban_defconfig b/configs/thuban_defconfig\nindex c30e924..e22e6bc 100644\n--- a/configs/thuban_defconfig\n+++ b/configs/thuban_defconfig\n@@ -11,7 +11,6 @@ CONFIG_TARGET_THUBAN=y\n CONFIG_SPL_MMC_SUPPORT=y\n CONFIG_SPL_SERIAL_SUPPORT=y\n CONFIG_SPL_LIBDISK_SUPPORT=y\n-CONFIG_SPL_NAND_SUPPORT=y\n CONFIG_SPL_SPI_FLASH_SUPPORT=y\n CONFIG_SPL_SPI_SUPPORT=y\n CONFIG_SPL_WATCHDOG_SUPPORT=y\n@@ -54,6 +53,7 @@ CONFIG_ENV_IS_IN_NAND=y\n CONFIG_DFU_NAND=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_BCH8_CODE_HW\"\n CONFIG_SPI_FLASH=y\n CONFIG_SPI_FLASH_WINBOND=y\n CONFIG_MTD_UBI_FASTMAP=y\ndiff --git a/configs/ti816x_evm_defconfig b/configs/ti816x_evm_defconfig\nindex fe527d4..b1a6552 100644\n--- a/configs/ti816x_evm_defconfig\n+++ b/configs/ti816x_evm_defconfig\n@@ -44,6 +44,7 @@ CONFIG_SYS_I2C_OMAP24XX=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n CONFIG_NAND_OMAP_GPMC_PREFETCH=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_BCH8_CODE_HW\"\n CONFIG_SYS_NS16550=y\n CONFIG_OMAP3_SPI=y\n # CONFIG_USE_PRIVATE_LIBGCC is not set\ndiff --git a/configs/tricorder_defconfig b/configs/tricorder_defconfig\nindex 63eeb00..34504c9 100644\n--- a/configs/tricorder_defconfig\n+++ b/configs/tricorder_defconfig\n@@ -36,6 +36,7 @@ CONFIG_LED_STATUS_STATE2=2\n CONFIG_LED_STATUS_CMD=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_BCH8_CODE_HW_DETECTION_SW\"\n CONFIG_SYS_NS16550=y\n CONFIG_BCH=y\n CONFIG_OF_LIBFDT=y\ndiff --git a/configs/tricorder_flash_defconfig b/configs/tricorder_flash_defconfig\nindex fd9e0e8..6a75c04 100644\n--- a/configs/tricorder_flash_defconfig\n+++ b/configs/tricorder_flash_defconfig\n@@ -35,6 +35,7 @@ CONFIG_LED_STATUS_STATE2=2\n CONFIG_LED_STATUS_CMD=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_BCH8_CODE_HW_DETECTION_SW\"\n CONFIG_SYS_NS16550=y\n CONFIG_BCH=y\n CONFIG_OF_LIBFDT=y\ndiff --git a/configs/twister_defconfig b/configs/twister_defconfig\nindex c13cea2..176a9f2 100644\n--- a/configs/twister_defconfig\n+++ b/configs/twister_defconfig\n@@ -32,6 +32,7 @@ CONFIG_ENV_IS_IN_NAND=y\n CONFIG_MMC_OMAP_HS=y\n CONFIG_NAND=y\n CONFIG_NAND_OMAP_GPMC_PREFETCH=y\n+CONFIG_NAND_OMAP_ECCSCHEME=\"OMAP_ECC_HAM1_CODE_SW\"\n CONFIG_SYS_NS16550=y\n CONFIG_USB=y\n CONFIG_USB_EHCI_HCD=y\ndiff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig\nindex 52077e2..f9043e3 100644\n--- a/drivers/mtd/nand/Kconfig\n+++ b/drivers/mtd/nand/Kconfig\n@@ -71,6 +71,20 @@ config NAND_OMAP_ELM\n \t  detection. However ECC calculation on such plaforms would still be\n \t  done by GPMC controller.\n \n+config NAND_OMAP_ECCSCHEME\n+\tstring \"NAND OMAP ECC Scheme\"\n+\tdepends on NAND_OMAP_GPMC\n+\thelp\n+\t  On OMAP platforms that use the GPMC controller, the available options are:\n+\t    OMAP_ECC_HAM1_CODE_SW: 1-bit ECC calculation by SW, Error detection by SW\n+\t    OMAP_ECC_HAM1_CODE_HW: 1-bit ECC calculation by GPMC, Error detection by Software (used by legacy ROMCODE)\n+\t    OMAP_ECC_BCH4_CODE_HW_DETECTION_SW: 4-bit  ECC calculation by GPMC, Error detection by Software\n+\t    OMAP_ECC_BCH4_CODE_HW: 4-bit ECC calculation by GPMC, Error detection by ELM\n+\t    OMAP_ECC_BCH8_CODE_HW_DETECTION_SW: 8-bit  ECC calculation by GPMC, Error detection by Software\n+\t    OMAP_ECC_BCH8_CODE_HW: 8-bit  ECC calculation by GPMC, Error detection by ELM\n+\t    OMAP_ECC_BCH16_CODE_HW: 16-bit  ECC calculation by GPMC, Error detection by ELM\n+\t    Note:  NAND_OMAP_ELM must be enabled for options were error detection is done by ELM.\n+\n config NAND_VF610_NFC\n \tbool \"Support for Freescale NFC for VF610\"\n \tselect SYS_NAND_SELF_INIT\ndiff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h\nindex 66f7a3f..c3755b4 100644\n--- a/include/configs/am335x_evm.h\n+++ b/include/configs/am335x_evm.h\n@@ -214,7 +214,6 @@\n #define CONFIG_SYS_NAND_ECCSIZE\t\t512\n #define CONFIG_SYS_NAND_ECCBYTES\t14\n #define CONFIG_SYS_NAND_ONFI_DETECTION\n-#define CONFIG_NAND_OMAP_ECCSCHEME\tOMAP_ECC_BCH8_CODE_HW\n #define MTDIDS_DEFAULT\t\t\t\"nand0=nand.0\"\n #define MTDPARTS_DEFAULT\t\t\"mtdparts=nand.0:\" \\\n \t\t\t\t\t\"128k(NAND.SPL),\" \\\ndiff --git a/include/configs/am335x_igep003x.h b/include/configs/am335x_igep003x.h\nindex 2400eee..11726ce 100644\n--- a/include/configs/am335x_igep003x.h\n+++ b/include/configs/am335x_igep003x.h\n@@ -160,6 +160,5 @@\n \n #define CONFIG_SYS_NAND_ECCSIZE\t\t512\n #define CONFIG_SYS_NAND_ECCBYTES\t14\n-#define CONFIG_NAND_OMAP_ECCSCHEME\tOMAP_ECC_BCH8_CODE_HW\n \n #endif\t/* ! __CONFIG_IGEP003X_H */\ndiff --git a/include/configs/am3517_crane.h b/include/configs/am3517_crane.h\nindex 59a3fbc..ad91274 100644\n--- a/include/configs/am3517_crane.h\n+++ b/include/configs/am3517_crane.h\n@@ -267,7 +267,6 @@\n \t\t\t\t\t\t10, 11, 12, 13}\n #define CONFIG_SYS_NAND_ECCSIZE\t\t512\n #define CONFIG_SYS_NAND_ECCBYTES\t3\n-#define CONFIG_NAND_OMAP_ECCSCHEME\tOMAP_ECC_HAM1_CODE_HW\n #define CONFIG_SYS_NAND_U_BOOT_START\tCONFIG_SYS_TEXT_BASE\n #define CONFIG_SYS_NAND_U_BOOT_OFFS\t0x80000\n \ndiff --git a/include/configs/am3517_evm.h b/include/configs/am3517_evm.h\nindex 5974021..2c20f98 100644\n--- a/include/configs/am3517_evm.h\n+++ b/include/configs/am3517_evm.h\n@@ -129,7 +129,6 @@\n \n #define CONFIG_SYS_NAND_ECCSIZE\t\t512\n #define CONFIG_SYS_NAND_ECCBYTES\t13\n-#define CONFIG_NAND_OMAP_ECCSCHEME\tOMAP_ECC_BCH8_CODE_HW_DETECTION_SW\n #define CONFIG_SYS_NAND_MAX_OOBFREE\t2\n #define CONFIG_SYS_NAND_MAX_ECCPOS\t56\n #define CONFIG_SYS_NAND_U_BOOT_START\tCONFIG_SYS_TEXT_BASE\ndiff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h\nindex 4ae10bd..8575431 100644\n--- a/include/configs/am43xx_evm.h\n+++ b/include/configs/am43xx_evm.h\n@@ -257,7 +257,6 @@\n #define CONFIG_SYS_NAND_5_ADDR_CYCLE\n /* NAND: driver related configs */\n #define CONFIG_SYS_NAND_ONFI_DETECTION\n-#define CONFIG_NAND_OMAP_ECCSCHEME\tOMAP_ECC_BCH16_CODE_HW\n #define CONFIG_SYS_NAND_BAD_BLOCK_POS\tNAND_LARGE_BADBLOCK_POS\n #define CONFIG_SYS_NAND_ECCPOS\t{ 2, 3, 4, 5, 6, 7, 8, 9, \\\n \t\t\t\t10, 11, 12, 13, 14, 15, 16, 17, 18, 19, \\\ndiff --git a/include/configs/baltos.h b/include/configs/baltos.h\nindex 059cf4a..632310e 100644\n--- a/include/configs/baltos.h\n+++ b/include/configs/baltos.h\n@@ -260,7 +260,6 @@\n #define CONFIG_SYS_NAND_ECCSIZE\t\t512\n #define CONFIG_SYS_NAND_ECCBYTES\t14\n #define CONFIG_SYS_NAND_ONFI_DETECTION\n-#define CONFIG_NAND_OMAP_ECCSCHEME\tOMAP_ECC_BCH8_CODE_HW\n #define CONFIG_SYS_NAND_U_BOOT_START\tCONFIG_SYS_TEXT_BASE\n #endif\n #endif\ndiff --git a/include/configs/bav335x.h b/include/configs/bav335x.h\nindex e7770b6..6961504 100644\n--- a/include/configs/bav335x.h\n+++ b/include/configs/bav335x.h\n@@ -368,7 +368,6 @@ DEFAULT_LINUX_BOOT_ENV \\\n #define CONFIG_SYS_NAND_ECCSIZE\t\t512\n #define CONFIG_SYS_NAND_ECCBYTES\t14\n #define CONFIG_SYS_NAND_ONFI_DETECTION\n-#define CONFIG_NAND_OMAP_ECCSCHEME\tOMAP_ECC_BCH8_CODE_HW\n #define MTDIDS_DEFAULT\t\t\t\"nand0=nand.0\"\n #define MTDPARTS_DEFAULT  \\\n \t\"mtdparts=nand.0:\" \\\ndiff --git a/include/configs/brppt1.h b/include/configs/brppt1.h\nindex 2af575a..f4fc4a7 100644\n--- a/include/configs/brppt1.h\n+++ b/include/configs/brppt1.h\n@@ -184,7 +184,6 @@ MMCARGS\n #define CONFIG_SYS_MAX_NAND_DEVICE\t1\n #define CONFIG_SYS_NAND_BASE\t\t0x8000000\n /* don't change OMAP_ELM, ECCSCHEME. ROM code only supports this */\n-#define CONFIG_NAND_OMAP_ECCSCHEME\tOMAP_ECC_BCH8_CODE_HW\n #define CONFIG_SYS_NAND_5_ADDR_CYCLE\n #define CONFIG_SYS_NAND_BLOCK_SIZE\t(128*1024)\n #define CONFIG_SYS_NAND_PAGE_SIZE\t2048\ndiff --git a/include/configs/chiliboard.h b/include/configs/chiliboard.h\nindex 80d4e49..5530f6a 100644\n--- a/include/configs/chiliboard.h\n+++ b/include/configs/chiliboard.h\n@@ -147,7 +147,6 @@\n #define CONFIG_SYS_NAND_ECCSIZE\t\t512\n #define CONFIG_SYS_NAND_ECCBYTES\t14\n #define CONFIG_SYS_NAND_ONFI_DETECTION\n-#define CONFIG_NAND_OMAP_ECCSCHEME\tOMAP_ECC_BCH8_CODE_HW\n #define MTDIDS_DEFAULT\t\t\t\"nand0=8000000.nand\"\n #define MTDPARTS_DEFAULT\t\t\"mtdparts=8000000.nand:\" \\\n \t\t\t\t\t\"128k(NAND.SPL),\" \\\ndiff --git a/include/configs/cm_t35.h b/include/configs/cm_t35.h\nindex b9d6469..996f05c 100644\n--- a/include/configs/cm_t35.h\n+++ b/include/configs/cm_t35.h\n@@ -272,7 +272,6 @@\n \t\t\t\t\t 10, 11, 12 }\n #define CONFIG_SYS_NAND_ECCSIZE\t\t512\n #define CONFIG_SYS_NAND_ECCBYTES\t3\n-#define CONFIG_NAND_OMAP_ECCSCHEME\tOMAP_ECC_HAM1_CODE_HW\n \n #define CONFIG_SYS_NAND_U_BOOT_START\tCONFIG_SYS_TEXT_BASE\n #define CONFIG_SYS_NAND_U_BOOT_OFFS\t0x80000\ndiff --git a/include/configs/cm_t43.h b/include/configs/cm_t43.h\nindex 7012a95..2ba7ad1 100644\n--- a/include/configs/cm_t43.h\n+++ b/include/configs/cm_t43.h\n@@ -33,7 +33,6 @@\n #define CONFIG_SYS_NAND_BAD_BLOCK_POS\tNAND_LARGE_BADBLOCK_POS\n #define CONFIG_SYS_NAND_ECCSIZE\t\t512\n #define CONFIG_SYS_NAND_ECCBYTES\t14\n-#define CONFIG_NAND_OMAP_ECCSCHEME\tOMAP_ECC_BCH8_CODE_HW\n #define CONFIG_SYS_NAND_PAGE_COUNT\t(CONFIG_SYS_NAND_BLOCK_SIZE / \\\n \t\t\t\t\t CONFIG_SYS_NAND_PAGE_SIZE)\n #define CONFIG_SYS_NAND_ECCPOS\t\t{ 2, 3, 4, 5, 6, 7, 8, 9, \\\ndiff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h\nindex 2bf0983..18a64e5 100644\n--- a/include/configs/devkit8000.h\n+++ b/include/configs/devkit8000.h\n@@ -200,7 +200,6 @@\n \n #define CONFIG_SYS_NAND_ECCSIZE\t\t512\n #define CONFIG_SYS_NAND_ECCBYTES\t3\n-#define CONFIG_NAND_OMAP_ECCSCHEME\tOMAP_ECC_HAM1_CODE_HW\n \n #define CONFIG_SYS_NAND_U_BOOT_OFFS\t0x80000\n #define CONFIG_SYS_NAND_U_BOOT_SIZE\t0x200000\ndiff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h\nindex 21da8ab..418bd64 100644\n--- a/include/configs/dra7xx_evm.h\n+++ b/include/configs/dra7xx_evm.h\n@@ -167,7 +167,6 @@\n #define CONFIG_SYS_NAND_5_ADDR_CYCLE\n /* NAND: driver related configs */\n #define CONFIG_SYS_NAND_ONFI_DETECTION\n-#define CONFIG_NAND_OMAP_ECCSCHEME\tOMAP_ECC_BCH8_CODE_HW\n #define CONFIG_SYS_NAND_BAD_BLOCK_POS\tNAND_LARGE_BADBLOCK_POS\n #define CONFIG_SYS_NAND_ECCPOS\t\t{ 2, 3, 4, 5, 6, 7, 8, 9, \\\n \t\t\t\t\t 10, 11, 12, 13, 14, 15, 16, 17, \\\ndiff --git a/include/configs/etamin.h b/include/configs/etamin.h\nindex c9584ad..c880979 100644\n--- a/include/configs/etamin.h\n+++ b/include/configs/etamin.h\n@@ -22,8 +22,6 @@\n #undef CONFIG_SYS_NAND_U_BOOT_OFFS\n #undef CONFIG_SYS_ENV_SECT_SIZE\n #undef CONFIG_ENV_OFFSET\n-#undef CONFIG_NAND_OMAP_ECCSCHEME\n-#define CONFIG_NAND_OMAP_ECCSCHEME\tOMAP_ECC_BCH16_CODE_HW\n \n #define CONFIG_ENV_OFFSET       0x980000\n #define CONFIG_SYS_ENV_SECT_SIZE       (512 << 10)     /* 512 KiB */\ndiff --git a/include/configs/mcx.h b/include/configs/mcx.h\nindex 76b75ba..fe0bad9 100644\n--- a/include/configs/mcx.h\n+++ b/include/configs/mcx.h\n@@ -308,7 +308,6 @@\n \t\t\t\t\t 56, 57, 58, 59, 60, 61, 62, 63}\n #define CONFIG_SYS_NAND_ECCSIZE\t\t256\n #define CONFIG_SYS_NAND_ECCBYTES\t3\n-#define CONFIG_NAND_OMAP_ECCSCHEME\tOMAP_ECC_HAM1_CODE_SW\n #define CONFIG_SPL_NAND_SOFTECC\n \n #define CONFIG_SYS_NAND_U_BOOT_START   CONFIG_SYS_TEXT_BASE\ndiff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h\nindex 7d19de5..bc21809 100644\n--- a/include/configs/omap3_beagle.h\n+++ b/include/configs/omap3_beagle.h\n@@ -263,7 +263,6 @@\n \t\t\t\t\t\t10, 11, 12, 13}\n #define CONFIG_SYS_NAND_ECCSIZE\t\t512\n #define CONFIG_SYS_NAND_ECCBYTES\t3\n-#define CONFIG_NAND_OMAP_ECCSCHEME\tOMAP_ECC_HAM1_CODE_HW\n #define CONFIG_SYS_NAND_U_BOOT_OFFS\t0x80000\n /* NAND: SPL falcon mode configs */\n #ifdef CONFIG_SPL_OS_BOOT\ndiff --git a/include/configs/omap3_cairo.h b/include/configs/omap3_cairo.h\nindex 552b0ac..061a129 100644\n--- a/include/configs/omap3_cairo.h\n+++ b/include/configs/omap3_cairo.h\n@@ -188,7 +188,6 @@\n \t\t\t\t\t\t10, 11, 12, 13}\n #define CONFIG_SYS_NAND_ECCSIZE\t\t512\n #define CONFIG_SYS_NAND_ECCBYTES\t3\n-#define CONFIG_NAND_OMAP_ECCSCHEME\tOMAP_ECC_HAM1_CODE_HW\n #define CONFIG_SYS_NAND_U_BOOT_OFFS\t0x80000\n /* NAND: SPL falcon mode configs */\n #ifdef CONFIG_SPL_OS_BOOT\ndiff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h\nindex 244c655..8bac970 100644\n--- a/include/configs/omap3_evm.h\n+++ b/include/configs/omap3_evm.h\n@@ -62,7 +62,6 @@\n                                          10, 11, 12, 13}\n #define CONFIG_SYS_NAND_ECCSIZE         512\n #define CONFIG_SYS_NAND_ECCBYTES        3\n-#define CONFIG_NAND_OMAP_ECCSCHEME      OMAP_ECC_BCH8_CODE_HW_DETECTION_SW\n #define CONFIG_SYS_NAND_U_BOOT_OFFS     0x80000\n #define CONFIG_ENV_IS_IN_NAND           1\n #define CONFIG_ENV_SIZE                 (128 << 10) /* 128 KiB */\ndiff --git a/include/configs/omap3_igep00x0.h b/include/configs/omap3_igep00x0.h\nindex a7fa5c0..cd62c6f 100644\n--- a/include/configs/omap3_igep00x0.h\n+++ b/include/configs/omap3_igep00x0.h\n@@ -135,7 +135,6 @@\n \t\t\t\t\t 50, 51, 52, 53, 54, 55, 56, 57, }\n #define CONFIG_SYS_NAND_ECCSIZE\t\t512\n #define CONFIG_SYS_NAND_ECCBYTES\t14\n-#define CONFIG_NAND_OMAP_ECCSCHEME\tOMAP_ECC_BCH8_CODE_HW_DETECTION_SW\n #define CONFIG_NAND_OMAP_GPMC\n #define CONFIG_BCH\n \ndiff --git a/include/configs/omap3_logic.h b/include/configs/omap3_logic.h\nindex 89acdb6..bff45e3 100644\n--- a/include/configs/omap3_logic.h\n+++ b/include/configs/omap3_logic.h\n@@ -85,7 +85,6 @@\n \n #define CONFIG_SYS_NAND_ECCSIZE\t\t512\n #define CONFIG_SYS_NAND_ECCBYTES\t13\n-#define CONFIG_NAND_OMAP_ECCSCHEME\tOMAP_ECC_BCH8_CODE_HW_DETECTION_SW\n #define CONFIG_SYS_NAND_MAX_OOBFREE\t2\n #define CONFIG_SYS_NAND_MAX_ECCPOS\t56\n #define CONFIG_SYS_NAND_U_BOOT_OFFS\t0x80000\ndiff --git a/include/configs/omap3_overo.h b/include/configs/omap3_overo.h\nindex d53657f..e537ec2 100644\n--- a/include/configs/omap3_overo.h\n+++ b/include/configs/omap3_overo.h\n@@ -209,7 +209,6 @@\n \t\t\t\t\t52, 53, 54, 55, 56}\n #define CONFIG_SYS_NAND_ECCSIZE\t\t512\n #define CONFIG_SYS_NAND_ECCBYTES\t13\n-#define CONFIG_NAND_OMAP_ECCSCHEME\tOMAP_ECC_BCH8_CODE_HW_DETECTION_SW\n #define CONFIG_SYS_NAND_U_BOOT_START\tCONFIG_SYS_TEXT_BASE\n #define CONFIG_SYS_NAND_U_BOOT_OFFS\t0x80000\n /* NAND: SPL falcon mode configs */\ndiff --git a/include/configs/omap3_pandora.h b/include/configs/omap3_pandora.h\nindex 7f1b571..007b512 100644\n--- a/include/configs/omap3_pandora.h\n+++ b/include/configs/omap3_pandora.h\n@@ -49,7 +49,6 @@\n #define CONFIG_SYS_NAND_ADDR\t\tNAND_BASE\t/* physical address */\n \t\t\t\t\t\t\t/* to access nand */\n #define CONFIG_SYS_NAND_BUSWIDTH_16BIT\n-#define CONFIG_NAND_OMAP_ECCSCHEME\tOMAP_ECC_HAM1_CODE_SW\n #define CONFIG_SYS_NAND_PAGE_SIZE\t2048\n #define CONFIG_SYS_NAND_OOBSIZE\t\t64\n \ndiff --git a/include/configs/pengwyn.h b/include/configs/pengwyn.h\nindex 570c375..d81a55b 100644\n--- a/include/configs/pengwyn.h\n+++ b/include/configs/pengwyn.h\n@@ -141,7 +141,6 @@\n #define CONFIG_SYS_NAND_ECCSTEPS\t8\n #define\tCONFIG_SYS_NAND_ECCTOTAL\t(CONFIG_SYS_NAND_ECCBYTES * \\\n \t\t\t\t\t\tCONFIG_SYS_NAND_ECCSTEPS)\n-#define CONFIG_NAND_OMAP_ECCSCHEME\tOMAP_ECC_BCH16_CODE_HW\n /* END NAND Configuration. */\n \n #define CONFIG_SYS_NAND_U_BOOT_START\tCONFIG_SYS_TEXT_BASE\ndiff --git a/include/configs/siemens-am33x-common.h b/include/configs/siemens-am33x-common.h\nindex bb7e691..f65392e 100644\n--- a/include/configs/siemens-am33x-common.h\n+++ b/include/configs/siemens-am33x-common.h\n@@ -140,7 +140,6 @@\n \n #define CONFIG_SYS_NAND_ECCSIZE\t\t512\n #define CONFIG_SYS_NAND_ECCBYTES\t14\n-#define CONFIG_NAND_OMAP_ECCSCHEME\tOMAP_ECC_BCH8_CODE_HW\n \n #define CONFIG_SYS_NAND_ECCSTEPS\t4\n #define\tCONFIG_SYS_NAND_ECCTOTAL\t(CONFIG_SYS_NAND_ECCBYTES * \\\ndiff --git a/include/configs/tam3517-common.h b/include/configs/tam3517-common.h\nindex d3449df..1c07420 100644\n--- a/include/configs/tam3517-common.h\n+++ b/include/configs/tam3517-common.h\n@@ -204,7 +204,6 @@\n \t\t\t\t\t 56, 57, 58, 59, 60, 61, 62, 63}\n #define CONFIG_SYS_NAND_ECCSIZE\t\t256\n #define CONFIG_SYS_NAND_ECCBYTES\t3\n-#define CONFIG_NAND_OMAP_ECCSCHEME\tOMAP_ECC_HAM1_CODE_SW\n \n #define CONFIG_SYS_NAND_U_BOOT_START\tCONFIG_SYS_TEXT_BASE\n \ndiff --git a/include/configs/tao3530.h b/include/configs/tao3530.h\nindex d53fca5..625b635 100644\n--- a/include/configs/tao3530.h\n+++ b/include/configs/tao3530.h\n@@ -253,7 +253,6 @@\n \t\t\t\t\t 10, 11, 12, 13 }\n #define CONFIG_SYS_NAND_ECCSIZE\t\t512\n #define CONFIG_SYS_NAND_ECCBYTES\t3\n-#define CONFIG_NAND_OMAP_ECCSCHEME\tOMAP_ECC_HAM1_CODE_HW\n \n #define CONFIG_SYS_NAND_U_BOOT_START\tCONFIG_SYS_TEXT_BASE\n #define CONFIG_SYS_NAND_U_BOOT_OFFS\t0x80000\ndiff --git a/include/configs/ti816x_evm.h b/include/configs/ti816x_evm.h\nindex 1da1eb0..9c3295a 100644\n--- a/include/configs/ti816x_evm.h\n+++ b/include/configs/ti816x_evm.h\n@@ -88,7 +88,6 @@\n #define CONFIG_SYS_NAND_ECCSIZE\t\t512\n #define CONFIG_SYS_NAND_ECCBYTES\t14\n #define CONFIG_SYS_NAND_ONFI_DETECTION\n-#define CONFIG_NAND_OMAP_ECCSCHEME\tOMAP_ECC_BCH8_CODE_HW\n #define MTDIDS_DEFAULT\t\t\t\"nand0=nand.0\"\n #define MTDPARTS_DEFAULT\t\t\"mtdparts=nand.0:\" \\\n \t\t\t\t\t\"128k(NAND.SPL),\" \\\ndiff --git a/include/configs/tricorder.h b/include/configs/tricorder.h\nindex 9e079a7..39b378e 100644\n--- a/include/configs/tricorder.h\n+++ b/include/configs/tricorder.h\n@@ -282,7 +282,6 @@\n \n #define CONFIG_SYS_NAND_ECCSIZE\t\t512\n #define CONFIG_SYS_NAND_ECCBYTES\t13\n-#define CONFIG_NAND_OMAP_ECCSCHEME\tOMAP_ECC_BCH8_CODE_HW_DETECTION_SW\n \n #define CONFIG_SYS_NAND_U_BOOT_START\tCONFIG_SYS_TEXT_BASE\n \ndiff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt\nindex bfa9c17..0e1991a 100644\n--- a/scripts/config_whitelist.txt\n+++ b/scripts/config_whitelist.txt\n@@ -1576,7 +1576,6 @@ CONFIG_NAND_MODE_REG\n CONFIG_NAND_MXC\n CONFIG_NAND_MXC_V1_1\n CONFIG_NAND_NDFC\n-CONFIG_NAND_OMAP_ECCSCHEME\n CONFIG_NAND_OMAP_GPMC_WSCFG\n CONFIG_NAND_SECBOOT\n CONFIG_NAND_SPL\n",
    "prefixes": [
        "U-Boot"
    ]
}