diff options
author | Tom Rini <trini@konsulko.com> | 2016-06-20 05:15:52 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-06-20 05:15:52 -0400 |
commit | 2313d48445e59f063ec9a3b4940fe8252737db76 (patch) | |
tree | de829dc59a4b4437ddf5f3f2bde8c56ffda17395 /drivers/mtd/nand/am335x_spl_bch.c | |
parent | 1a3619cf825fcef15ebe0fac6d65a9af1bc0588c (diff) | |
parent | 30780f948346436f9974fd6eae89aa2eb841b436 (diff) | |
download | u-boot-imx-2313d48445e59f063ec9a3b4940fe8252737db76.zip u-boot-imx-2313d48445e59f063ec9a3b4940fe8252737db76.tar.gz u-boot-imx-2313d48445e59f063ec9a3b4940fe8252737db76.tar.bz2 |
Merge git://git.denx.de/u-boot-nand-flash
Diffstat (limited to 'drivers/mtd/nand/am335x_spl_bch.c')
-rw-r--r-- | drivers/mtd/nand/am335x_spl_bch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/am335x_spl_bch.c b/drivers/mtd/nand/am335x_spl_bch.c index f8770e0..a8a7a66 100644 --- a/drivers/mtd/nand/am335x_spl_bch.c +++ b/drivers/mtd/nand/am335x_spl_bch.c @@ -223,7 +223,7 @@ void nand_init(void) /* * Init board specific nand support */ - mtd = &nand_chip.mtd; + mtd = nand_to_mtd(&nand_chip); nand_chip.IO_ADDR_R = nand_chip.IO_ADDR_W = (void __iomem *)CONFIG_SYS_NAND_BASE; board_nand_init(&nand_chip); |