diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2014-08-01 14:57:36 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-08-01 15:24:39 +0200 |
commit | 2bcb9fec6b95e9892265377abfb4dcf68d27f1f0 (patch) | |
tree | 81eddb12771602236f56e17af1ec704668978e63 /drivers/bus | |
parent | c574b4e76b23a6b7500540f1d7a8bc0b2c58a33c (diff) | |
download | barebox-2bcb9fec6b95e9892265377abfb4dcf68d27f1f0.tar.gz barebox-2bcb9fec6b95e9892265377abfb4dcf68d27f1f0.tar.xz |
mtd: omap gpmc: fix bch8 nand-ecc-opt property
We interpret the ECC option "bch8" as OMAP_ECC_BCH8_CODE_HW, but the
Kernel uses OMAP_ECC_BCH8_CODE_HW_ROMCODE in this case instead. To make
the interpretation of the ti,nand-ecc-opt property compatible to the
Kernel we have to use OMAP_ECC_BCH8_CODE_HW_ROMCODE for "bch8"
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/bus')
-rw-r--r-- | drivers/bus/omap-gpmc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/bus/omap-gpmc.c b/drivers/bus/omap-gpmc.c index ad21af2903..d7b02cf6ec 100644 --- a/drivers/bus/omap-gpmc.c +++ b/drivers/bus/omap-gpmc.c @@ -382,9 +382,6 @@ static struct dt_eccmode modes[] = { .mode = OMAP_ECC_BCH4_CODE_HW, }, { .name = "bch8", - .mode = OMAP_ECC_BCH8_CODE_HW, - }, { - .name = "bch8-romcode", .mode = OMAP_ECC_BCH8_CODE_HW_ROMCODE, }, }; |