summaryrefslogtreecommitdiff
path: root/board/g2000/strataflash.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/g2000/strataflash.c')
-rw-r--r--board/g2000/strataflash.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/board/g2000/strataflash.c b/board/g2000/strataflash.c
index effe65a..fd72f47 100644
--- a/board/g2000/strataflash.c
+++ b/board/g2000/strataflash.c
@@ -666,14 +666,11 @@ static ulong flash_get_size (ulong base, int banknum)
static int flash_write_cfiword (flash_info_t *info, ulong dest, cfiword_t cword)
{
- cfiptr_t ctladdr;
cfiptr_t cptr;
int flag;
- ctladdr.cp = flash_make_addr(info, 0, 0);
cptr.cp = (uchar *)dest;
-
/* Check if Flash is (sufficiently) erased */
switch(info->portwidth) {
case FLASH_CFI_8BIT: