[U-Boot] [PATCH 1/2] Blackfin: cm-bf527/cm-bf537: increase flash sectors

Mike Frysinger vapier at gentoo.org
Sat Aug 22 06:47:43 CEST 2009


From: Harald Krapfenbauer <Harald.Krapfenbauer at bluetechnix.at>

Newer revisions of these boards have slightly larger flashes, so increase
the configured number of sectors so that U-Boot works on all revisions.

Signed-off-by: Harald Krapfenbauer <Harald.Krapfenbauer at bluetechnix.at>
Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
 include/configs/cm-bf527.h  |    2 +-
 include/configs/cm-bf537e.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/configs/cm-bf527.h b/include/configs/cm-bf527.h
index 79d06fb..1592719 100644
--- a/include/configs/cm-bf527.h
+++ b/include/configs/cm-bf527.h
@@ -95,7 +95,7 @@
 #define CONFIG_SYS_FLASH_CFI
 #define CONFIG_SYS_FLASH_PROTECTION
 #define CONFIG_SYS_MAX_FLASH_BANKS	1
-#define CONFIG_SYS_MAX_FLASH_SECT 	64
+#define CONFIG_SYS_MAX_FLASH_SECT 	67
 
 
 /*
diff --git a/include/configs/cm-bf537e.h b/include/configs/cm-bf537e.h
index 021b631..34d4299 100644
--- a/include/configs/cm-bf537e.h
+++ b/include/configs/cm-bf537e.h
@@ -79,7 +79,7 @@
 #define CONFIG_SYS_FLASH_CFI
 #define CONFIG_SYS_FLASH_PROTECTION
 #define CONFIG_SYS_MAX_FLASH_BANKS	1
-#define CONFIG_SYS_MAX_FLASH_SECT	32
+#define CONFIG_SYS_MAX_FLASH_SECT	35
 
 
 /*
-- 
1.6.4



More information about the U-Boot mailing list