From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mugunthan V N Date: Fri, 1 Apr 2016 16:59:42 +0530 Subject: [U-Boot] [PATCH 1/9] include: nand: move endif to end of file In-Reply-To: <1459510190-26306-1-git-send-email-mugunthanvnm@ti.com> References: <1459510190-26306-1-git-send-email-mugunthanvnm@ti.com> Message-ID: <1459510190-26306-2-git-send-email-mugunthanvnm@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de The terminator endif of ifdef _NAND_H_ should be at the end of file as a fail safe. Signed-off-by: Mugunthan V N --- include/nand.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/nand.h b/include/nand.h index 7cbbbd3..4ea24ac 100644 --- a/include/nand.h +++ b/include/nand.h @@ -127,8 +127,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*/ @@ -138,3 +136,5 @@ __attribute__((noreturn)) void nand_boot(void); int get_nand_env_oob(nand_info_t *nand, unsigned long *result); #endif int spl_nand_erase_one(int block, int page); + +#endif /* _NAND_H_ */ -- 2.8.0.rc3.9.g44915db