diff options
Diffstat (limited to 'src/flash/nor/spearsmi.c')
-rw-r--r-- | src/flash/nor/spearsmi.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/flash/nor/spearsmi.c b/src/flash/nor/spearsmi.c index 4902a446..c3bc2ec5 100644 --- a/src/flash/nor/spearsmi.c +++ b/src/flash/nor/spearsmi.c @@ -39,7 +39,6 @@ #endif #include "imp.h" -#include "spearsmi.h" #include <jtag/jtag.h> #include <helper/time_support.h> @@ -126,6 +125,14 @@ #define SMI_PROBE_TIMEOUT (100) #define SMI_MAX_TIMEOUT (3000) +struct spearsmi_flash_bank +{ + int probed; + uint32_t io_base; + uint32_t bank_num; + struct flash_device *dev; +}; + /* data structure to maintain flash ids from different vendors */ struct flash_device { char *name; |