diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2007-07-05 18:01:34 +0200 |
---|---|---|
committer | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-07-05 18:01:34 +0200 |
commit | b596e8f6dffd2cce6ef9b4bf9d5a608560644973 (patch) | |
tree | 4f0113c16d8177fd79d8504a0f90f3c242457fbb /include | |
parent | 5376127c071806b0b327b5869f583931bd98217c (diff) | |
download | barebox-b596e8f6dffd2cce6ef9b4bf9d5a608560644973.tar.gz barebox-b596e8f6dffd2cce6ef9b4bf9d5a608560644973.tar.xz |
svn_rev_220
malloc start/protect fields dynamically
Diffstat (limited to 'include')
-rw-r--r-- | include/cfi_flash.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cfi_flash.h b/include/cfi_flash.h index 217b65df4f..ceff6223a7 100644 --- a/include/cfi_flash.h +++ b/include/cfi_flash.h @@ -35,8 +35,8 @@ typedef struct { ulong size; /* total bank size in bytes */ ushort sector_count; /* number of erase units */ ulong flash_id; /* combined device & manufacturer code */ - ulong start[CFG_MAX_FLASH_SECT]; /* physical sector start addresses */ - uchar protect[CFG_MAX_FLASH_SECT]; /* sector protection status */ + ulong *start; /* physical sector start addresses */ + uchar *protect; /* sector protection status */ uchar portwidth; /* the width of the port */ uchar chipwidth; /* the width of the chip */ |