From 0649908f92c9bd214dd139aa3d4698c1654a45c6 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 9 Apr 2008 02:29:18 -0400 Subject: Blackfin: bf537-stamp nand: fix more style errors in previous commit Signed-off-by: Mike Frysinger --- board/bf537-stamp/nand.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'board/bf537-stamp/nand.c') diff --git a/board/bf537-stamp/nand.c b/board/bf537-stamp/nand.c index 20a7d0ef4c..2866834589 100644 --- a/board/bf537-stamp/nand.c +++ b/board/bf537-stamp/nand.c @@ -1,5 +1,5 @@ /* - * (C) Copyright 2006 Aubrey.Li, aubrey.li@analog.com + * Copyright (c) 2006-2007 Analog Devices Inc. * * See file CREDITS for list of people who contributed to this * project. @@ -43,11 +43,11 @@ static void bfin_hwcontrol(struct mtd_info *mtd, int cmd, unsigned int ctrl) u32 IO_ADDR_W = (u32) this->IO_ADDR_W; if (ctrl & NAND_CTRL_CHANGE) { - if( ctrl & NAND_CLE ) + if (ctrl & NAND_CLE) IO_ADDR_W = CONFIG_SYS_NAND_BASE + BFIN_NAND_CLE; else IO_ADDR_W = CONFIG_SYS_NAND_BASE; - if( ctrl & NAND_ALE ) + if (ctrl & NAND_ALE) IO_ADDR_W = CONFIG_SYS_NAND_BASE + BFIN_NAND_ALE; else IO_ADDR_W = CONFIG_SYS_NAND_BASE; -- cgit From 1f4a3bb50343719c434d7e2541a2f86480a6d25c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 12 Oct 2008 22:09:26 -0400 Subject: Blackfin: convert old boards to use COBJS-y Makefile style Signed-off-by: Mike Frysinger --- board/bf537-stamp/nand.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'board/bf537-stamp/nand.c') diff --git a/board/bf537-stamp/nand.c b/board/bf537-stamp/nand.c index 2866834589..181e83d6a1 100644 --- a/board/bf537-stamp/nand.c +++ b/board/bf537-stamp/nand.c @@ -23,8 +23,6 @@ #include #include -#if defined(CONFIG_CMD_NAND) - #include #define CONCAT(a,b,c,d) a ## b ## c ## d @@ -100,4 +98,3 @@ int board_nand_init(struct nand_chip *nand) return 0; } -#endif -- cgit