diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2007-07-05 18:01:17 +0200 |
---|---|---|
committer | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-07-05 18:01:17 +0200 |
commit | 2da36e53f1e82b2c9e0abdadc3084055e145054d (patch) | |
tree | 052664138e6dc6152fc30962d19026a898f9073a /drivers | |
parent | 89c2c4e5bc549a69f5c2bc1bcbc44f9cd54f8448 (diff) | |
download | barebox-2da36e53f1e82b2c9e0abdadc3084055e145054d.tar.gz barebox-2da36e53f1e82b2c9e0abdadc3084055e145054d.tar.xz |
svn_rev_047
timeout has 64bit
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/cfi_flash.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/cfi_flash.c b/drivers/cfi_flash.c index d8e6223186..e973d531c9 100644 --- a/drivers/cfi_flash.c +++ b/drivers/cfi_flash.c @@ -38,6 +38,7 @@ #include <asm/processor.h> #include <asm/byteorder.h> #include <environment.h> +#include <clock.h> #ifdef CFG_FLASH_CFI_DRIVER /* @@ -191,7 +192,7 @@ static void flash_read_jedec_ids (flash_info_t * info); static int flash_detect_cfi (flash_info_t * info); static int flash_write_cfiword (flash_info_t * info, ulong dest, cfiword_t cword); static int flash_full_status_check (flash_info_t * info, flash_sect_t sector, - ulong tout, char *prompt); + uint64_t tout, char *prompt); ulong flash_get_size (ulong base, int banknum); #if defined(CFG_ENV_IS_IN_FLASH) || defined(CFG_ENV_ADDR_REDUND) || (CFG_MONITOR_BASE >= CFG_FLASH_BASE) static flash_info_t *flash_get_info(ulong base); |