]> Git Repo - u-boot.git/commit
mtd: zynq: nand: Move board_nand_init() function to board.c
authorWilson Lee <[email protected]>
Wed, 15 Nov 2017 09:14:35 +0000 (01:14 -0800)
committerMichal Simek <[email protected]>
Wed, 29 Nov 2017 07:02:40 +0000 (08:02 +0100)
commit310995d9f91ae56082b49be06fe8c3d01424f8f6
tree10ef5f422c0690e1b95697013aebe28f5e38f48c
parent40df796133399d463b8a736deb5227a05c81caea
mtd: zynq: nand: Move board_nand_init() function to board.c

Putting board_nand_init() function inside NAND driver was not appropriate
due to it doesn't allow board vendor to customise their NAND
initialization code such as adding NAND lock/unlock code.

This commit was to move the board_nand_init() function from NAND driver
to board.c file. This allow customization of board_nand_init() function.

Signed-off-by: Wilson Lee <[email protected]>
Cc: Joe Hershberger <[email protected]>
Cc: Keng Soon Cheah <[email protected]>
Cc: Chen Yee Chew <[email protected]>
Cc: Albert Aribaud <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Siva Durga Prasad Paladugu <[email protected]>
Cc: Scott Wood <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
arch/arm/mach-zynq/include/mach/nand.h [new file with mode: 0644]
drivers/mtd/nand/zynq_nand.c
This page took 0.030972 seconds and 4 git commands to generate.