]> Git Repo - J-u-boot.git/commit
spl: nand: sunxi: declare the ecc_bytes array globally
authorMiquel Raynal <[email protected]>
Wed, 28 Feb 2018 19:51:54 +0000 (20:51 +0100)
committerMaxime Ripard <[email protected]>
Tue, 3 Apr 2018 10:11:38 +0000 (12:11 +0200)
commit7440bd7885da984dc20e2e8c8a0b167911e9dce1
treeb30fa7951dd8e4ffb623779541769c7cb7cb1330
parentba1c98bae2649e990c6af04545e422042cb58b27
spl: nand: sunxi: declare the ecc_bytes array globally

Move the ecc_bytes array out of nand_max_ecc_strength() for future use
by nand_read_page().

Signed-off-by: Miquel Raynal <[email protected]>
Acked-by: Boris Brezillon <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
drivers/mtd/nand/sunxi_nand_spl.c
This page took 0.034806 seconds and 4 git commands to generate.