summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/include/mach/bbu.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-06-12 06:07:32 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-06-12 08:28:04 +0200
commita10366acd8e509cb65c8645775325c882ba5a55a (patch)
treef3842f04e231fca00e95b052c03bbfb66b2eadcc /arch/arm/mach-imx/include/mach/bbu.h
parente7b23c6a9df57b5c8bba4fa9c10f8b5f793745cc (diff)
downloadbarebox-a10366acd8e509cb65c8645775325c882ba5a55a.tar.gz
barebox-a10366acd8e509cb65c8645775325c882ba5a55a.tar.xz
ARM: i.MX6: bbu nand: Move to common place
The code can be used on i.MX28 aswell, so move it to a common place. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/include/mach/bbu.h')
-rw-r--r--arch/arm/mach-imx/include/mach/bbu.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/mach-imx/include/mach/bbu.h b/arch/arm/mach-imx/include/mach/bbu.h
index 5eb9a47363..8039091395 100644
--- a/arch/arm/mach-imx/include/mach/bbu.h
+++ b/arch/arm/mach-imx/include/mach/bbu.h
@@ -75,15 +75,6 @@ static inline int imx_bbu_external_nor_register_handler(const char *name, char *
}
#endif
-#if defined(CONFIG_BAREBOX_UPDATE_IMX6_NAND)
-int imx6_bbu_nand_register_handler(const char *name, unsigned long flags);
-#else
-static inline int imx6_bbu_nand_register_handler(const char *name, unsigned long flags)
-{
- return -ENOSYS;
-}
-#endif
-
#if defined(CONFIG_BAREBOX_UPDATE_IMX_EXTERNAL_NAND)
int imx_bbu_external_nand_register_handler(const char *name, char *devicefile,
unsigned long flags);