diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2011-07-29 07:16:32 +0800 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2011-07-30 02:05:26 +0800 |
commit | 13da42d6d78b9b816ac4f0eb49462462431b2833 (patch) | |
tree | 0b1fdb8b1a560d68ff83ce409a6f72a546138207 /drivers | |
parent | 6147b6a6ca913b8919fe7b7f5ec45b6cc97dbddf (diff) | |
download | barebox-13da42d6d78b9b816ac4f0eb49462462431b2833.tar.gz barebox-13da42d6d78b9b816ac4f0eb49462462431b2833.tar.xz |
cfi_flash: convert missing map_base
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/nor/cfi_flash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nor/cfi_flash.c b/drivers/nor/cfi_flash.c index c995962e35..461b0e6e46 100644 --- a/drivers/nor/cfi_flash.c +++ b/drivers/nor/cfi_flash.c @@ -988,7 +988,7 @@ static int cfi_probe (struct device_d *dev) if (info->flash_id == FLASH_UNKNOWN) { printf ("## Unknown FLASH on Bank at 0x%08x - Size = 0x%08lx = %ld MB\n", - dev->map_base, info->size, info->size << 20); + dev->resource[0].start, info->size, info->size << 20); return -ENODEV; } |