diff options
author | Tom Rini <trini@konsulko.com> | 2018-07-23 10:51:13 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-07-23 13:37:42 -0400 |
commit | f0306a145b3234ae4bd3b46f2567b6f1ad7b8f4f (patch) | |
tree | bc633e8be8d1a34cd472e42d59e415e71fe1477a /drivers/mtd/nand | |
parent | 9c5b00973bceb7c0192bd6b03672d69b092700b4 (diff) | |
parent | f97f167107b33fc6596561dae1309571ade39055 (diff) | |
download | u-boot-f0306a145b3234ae4bd3b46f2567b6f1ad7b8f4f.tar.gz |
Merge branch 'master' of git://git.denx.de/u-boot-imx
trini: Update colibri-imx6ull to use Kconfig for mtdparts related
options.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r-- | drivers/mtd/nand/mxs_nand_dt.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/mtd/nand/mxs_nand_dt.c b/drivers/mtd/nand/mxs_nand_dt.c index f89eb091a9..44dec5dedf 100644 --- a/drivers/mtd/nand/mxs_nand_dt.c +++ b/drivers/mtd/nand/mxs_nand_dt.c @@ -21,12 +21,20 @@ struct mxs_nand_dt_data { unsigned int max_ecc_strength_supported; }; +static const struct mxs_nand_dt_data mxs_nand_imx6q_data = { + .max_ecc_strength_supported = 40, +}; + static const struct mxs_nand_dt_data mxs_nand_imx7d_data = { .max_ecc_strength_supported = 62, }; static const struct udevice_id mxs_nand_dt_ids[] = { { + .compatible = "fsl,imx6q-gpmi-nand", + .data = (unsigned long)&mxs_nand_imx6q_data, + }, + { .compatible = "fsl,imx7d-gpmi-nand", .data = (unsigned long)&mxs_nand_imx7d_data, }, |