summaryrefslogtreecommitdiff
path: root/drivers/net/cxgb4/t4_hw.h
diff options
context:
space:
mode:
authorDimitris Michailidis <dm@chelsio.com>2010-06-18 14:05:27 +0400
committerDavid S. Miller <davem@davemloft.net>2010-06-19 09:08:34 +0400
commit900a659687aa6349e52f7b1e3f922b77afe89b90 (patch)
tree5617d9684ec5d826a4c868398f62786081108467 /drivers/net/cxgb4/t4_hw.h
parentbb9c03d8a6893517737b16fdbeb54be3c73b3023 (diff)
downloadlinux-900a659687aa6349e52f7b1e3f922b77afe89b90.tar.xz
cxgb4: dynamically determine flash size and FW image location
Handle the larger flash memories on newer boards: - get the size and number of sectors by probing the flash - writes and erases can take longer, adjust the timeouts for these operations - the FW image can be at different locations depending on flash size, find its location dynamically as well. Signed-off-by: Dimitris Michailidis <dm@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cxgb4/t4_hw.h')
-rw-r--r--drivers/net/cxgb4/t4_hw.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/cxgb4/t4_hw.h b/drivers/net/cxgb4/t4_hw.h
index 025623285c93..f886677b93ec 100644
--- a/drivers/net/cxgb4/t4_hw.h
+++ b/drivers/net/cxgb4/t4_hw.h
@@ -57,8 +57,6 @@ enum {
enum {
SF_PAGE_SIZE = 256, /* serial flash page size */
- SF_SEC_SIZE = 64 * 1024, /* serial flash sector size */
- SF_SIZE = SF_SEC_SIZE * 16, /* serial flash size */
};
enum { RSP_TYPE_FLBUF, RSP_TYPE_CPL, RSP_TYPE_INTR }; /* response entry types */