]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: nand: remove nand size print from nand_init function
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>
Fri, 17 Mar 2017 08:12:31 +0000 (16:12 +0800)
committerYork Sun <york.sun@nxp.com>
Tue, 28 Mar 2017 17:39:33 +0000 (10:39 -0700)
commit203db38a94a424bb1ab6a91e85148e8a8ea795d0
tree153ab525078515afbf835638ee4bc2afb807cc0a
parentd72158c045eacf5022b052bdc56a32bc98c89034
mtd: nand: remove nand size print from nand_init function

Add nand_size() function to move the nand size print into initr_nand().
Remove nand size print from nand_init() to allow other function to call
nand_init() without printing nand size.

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