summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorPiotr Ziecik <kosmo@semihalf.com>2008-11-20 15:17:38 +0100
committerStefan Roese <sr@denx.de>2008-11-24 10:55:35 +0100
commitebc9784ce6528385bb8d2558e783622d4bbf20f8 (patch)
tree9d3461ea9c84c6a6b80e662805a9bfd393d0e93a /drivers/mtd
parent45aa5a7f4d5bcb79927ddfc896c1d7c4326e235d (diff)
downloadblackbird-obmc-uboot-ebc9784ce6528385bb8d2558e783622d4bbf20f8.tar.gz
blackbird-obmc-uboot-ebc9784ce6528385bb8d2558e783622d4bbf20f8.zip
cfi_flash: Export flash_sector_size() function.
Export flash_sector_size() function from drivers/mtd/cfi_flash.c, so that it can be used in the upcoming cfi-mtd driver. Signed-off-by: Piotr Ziecik <kosmo@semihalf.com> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/cfi_flash.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index f10d5fea18..37af62742e 100644
--- a/drivers/mtd/cfi_flash.c
+++ b/drivers/mtd/cfi_flash.c
@@ -175,8 +175,6 @@ flash_info_t flash_info[CFI_MAX_FLASH_BANKS]; /* FLASH chips info */
#define CONFIG_SYS_FLASH_CFI_WIDTH FLASH_CFI_8BIT
#endif
-typedef unsigned long flash_sect_t;
-
/* CFI standard query structure */
struct cfi_qry {
u8 qry[3];
OpenPOWER on IntegriCloud