[U-Boot] [PATCH] sh: Fix compile error sh7785lcr board

Nobuhiro Iwamatsu iwamatsu.nobuhiro at renesas.com
Thu Aug 28 07:53:31 CEST 2008


This boards used old type preprocessor.
This patch fix compile error.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro at renesas.com>
---
 include/configs/sh7785lcr.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/configs/sh7785lcr.h b/include/configs/sh7785lcr.h
index e27c5d1..c4cb065 100644
--- a/include/configs/sh7785lcr.h
+++ b/include/configs/sh7785lcr.h
@@ -76,7 +76,7 @@
 #define CFG_BAUDRATE_TABLE	{ 115200 }

 /* SCIF */
-#define CFG_SCIF_CONSOLE	1
+#define CONFIG_SCIF_CONSOLE	1
 #define CONFIG_CONS_SCIF1	1
 #define CONFIG_SCIF_EXT_CLOCK	1
 #undef  CFG_CONSOLE_INFO_QUIET
@@ -103,8 +103,8 @@
 #define CFG_BOOTMAPSZ		(8 * 1024 * 1024)

 /* FLASH */
+#define CONFIG_FLASH_CFI_DRIVER
 #define CFG_FLASH_CFI
-#define CFG_FLASH_CFI_DRIVER
 #undef  CFG_FLASH_QUIET_TEST
 #define CFG_FLASH_EMPTY_INFO
 #define CFG_FLASH_BASE		(SH7785LCR_FLASH_BASE_1)
-- 
1.5.6.3



More information about the U-Boot mailing list