summaryrefslogtreecommitdiff
path: root/include/nand.h
diff options
context:
space:
mode:
authorMugunthan V N <mugunthanvnm@ti.com>2017-01-23 22:04:34 (GMT)
committerTom Rini <trini@konsulko.com>2017-06-16 14:11:34 (GMT)
commit2afc741a288238c5fc2d9a09eba257d74a79c241 (patch)
treee3e1345da3e44c825ce1bebe0bd8f26ddf8276dd /include/nand.h
parent4f58002013ba1e89eb8fda015ff495bd37cd4016 (diff)
downloadu-boot-2afc741a288238c5fc2d9a09eba257d74a79c241.tar.xz
include: nand: move endif to end of file
The terminator endif of ifdef _NAND_H_ should be at the end of file as a fail safe. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Diffstat (limited to 'include/nand.h')
-rw-r--r--include/nand.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/nand.h b/include/nand.h
index a865528..bc5dd81 100644
--- a/include/nand.h
+++ b/include/nand.h
@@ -132,8 +132,6 @@ void board_nand_select_device(struct nand_chip *nand, int chip);
__attribute__((noreturn)) void nand_boot(void);
-#endif
-
#ifdef CONFIG_ENV_OFFSET_OOB
#define ENV_OOB_MARKER 0x30425645 /*"EVB0" in little-endian -- offset is stored
as block number*/
@@ -146,3 +144,5 @@ int spl_nand_erase_one(int block, int page);
/* platform specific init functions */
void sunxi_nand_init(void);
+
+#endif /* _NAND_H_ */