aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-zynq
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel@vanguardiasur.com.ar>2018-01-13 14:56:17 -0300
committerMichal Simek <michal.simek@xilinx.com>2018-04-23 13:15:30 +0200
commit41b7d7f241221ab9f0888f47f31226cfa74a971a (patch)
tree55187ce482ab4b38370a94099f5413dcc35be66a /arch/arm/mach-zynq
parent07c5cbbd1e6573e169687da873db37503a1f8b60 (diff)
downloadu-boot-41b7d7f241221ab9f0888f47f31226cfa74a971a.zip
u-boot-41b7d7f241221ab9f0888f47f31226cfa74a971a.tar.gz
u-boot-41b7d7f241221ab9f0888f47f31226cfa74a971a.tar.bz2
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>
Diffstat (limited to 'arch/arm/mach-zynq')
-rw-r--r--arch/arm/mach-zynq/include/mach/nand.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/mach-zynq/include/mach/nand.h b/arch/arm/mach-zynq/include/mach/nand.h
deleted file mode 100644
index 61ef45f..0000000
--- a/arch/arm/mach-zynq/include/mach/nand.h
+++ /dev/null
@@ -1,9 +0,0 @@
-/*
- * Copyright (C) 2017 National Instruments Corp.
- *
- * SPDX-License-Identifier: GPL-2.0+
- */
-
-#include <nand.h>
-
-void zynq_nand_init(void);