]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: nand: add initialization flag
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>
Fri, 17 Mar 2017 08:12:30 +0000 (16:12 +0800)
committerYork Sun <york.sun@nxp.com>
Tue, 28 Mar 2017 17:38:37 +0000 (10:38 -0700)
commitd72158c045eacf5022b052bdc56a32bc98c89034
treefc211bb1bae84d84a9ecb5482d625152ec57ac34
parent132a1468dcc0bb79553bf2e219014cc8c527c8e6
mtd: nand: add initialization flag

Add initialization flag to avoid initializing NAND Flash multiple
times, otherwise it will calculate a wrong total size.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
drivers/mtd/nand/nand.c