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) Change-Id: I3d435d645c911c88bdf1d25600896141cd37d54e 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> Signed-off-by: Jon Lin <jon.lin@rock-chips.com> (cherry picked from commit 41b7d7f241221ab9f0888f47f31226cfa74a971a) |
||
|---|---|---|
| .. | ||
| include/mach | ||
| Kconfig | ||
| Makefile | ||
| clk.c | ||
| cpu.c | ||
| ddrc.c | ||
| lowlevel_init.S | ||
| slcr.c | ||
| spl.c | ||
| timer.c | ||
| u-boot-spl.lds | ||
| u-boot.lds | ||