]> git.dujemihanovic.xyz Git - u-boot.git/commit
nand: zynq: Cleanup initialization
authorEzequiel Garcia <ezequiel@vanguardiasur.com.ar>
Sat, 13 Jan 2018 17:56:17 +0000 (14:56 -0300)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 23 Apr 2018 11:15:30 +0000 (13:15 +0200)
commit41b7d7f241221ab9f0888f47f31226cfa74a971a
tree55187ce482ab4b38370a94099f5413dcc35be66a
parent07c5cbbd1e6573e169687da873db37503a1f8b60
nand: zynq: Cleanup initialization

CONFIG_NAND_ZYNQ selects CONFIG_SYS_NAND_SELF_INIT, so the
driver doesn't have to play any ifdef game.

Also, we can mark zynq_nand_init() as static and get rid
of the mach-specific nand.h header.

This is really a revert of:
"mtd: zynq: nand: Move board_nand_init() function to board.c"
(sha1: 310995d9f91ae56082b49be06fe8c3d01424f8f6)

Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Reviewed-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/mach-zynq/include/mach/nand.h [deleted file]
drivers/mtd/nand/zynq_nand.c