summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2006-03-01 17:00:49 +0100
committerStefan Roese <sr@denx.de>2006-03-01 17:00:49 +0100
commitf18e874ad548034552cc4a2cdfe1a21edd9ca392 (patch)
tree3598ced185b1fc9460e028f15468d434c03a3a20 /board
parentf6c0068fc1181dc6b6081addd84ee1cfc0a4977b (diff)
downloadu-boot-imx-f18e874ad548034552cc4a2cdfe1a21edd9ca392.zip
u-boot-imx-f18e874ad548034552cc4a2cdfe1a21edd9ca392.tar.gz
u-boot-imx-f18e874ad548034552cc4a2cdfe1a21edd9ca392.tar.bz2
Fix problem with flash_get_size() from CFI driver update
Patch by Stefan Roese, 1 Mar 2006
Diffstat (limited to 'board')
-rw-r--r--board/mcc200/mcc200.c2
-rw-r--r--board/tqm85xx/tqm85xx.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/board/mcc200/mcc200.c b/board/mcc200/mcc200.c
index 4707390..acc0e06 100644
--- a/board/mcc200/mcc200.c
+++ b/board/mcc200/mcc200.c
@@ -38,6 +38,8 @@
extern flash_info_t flash_info[]; /* FLASH chips info */
+ulong flash_get_size (ulong base, int banknum);
+
//###CHD: wenn RAMBOOT gehen wuerde, ....
#ifndef CFG_RAMBOOT
static void sdram_start (int hi_addr)
diff --git a/board/tqm85xx/tqm85xx.c b/board/tqm85xx/tqm85xx.c
index b36bead..c03b60d 100644
--- a/board/tqm85xx/tqm85xx.c
+++ b/board/tqm85xx/tqm85xx.c
@@ -40,6 +40,7 @@ extern flash_info_t flash_info[]; /* FLASH chips info */
void local_bus_init (void);
long int fixed_sdram (void);
+ulong flash_get_size (ulong base, int banknum);
#ifdef CONFIG_CPM2
/*