X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=board%2Fsbc405%2Fstrataflash.c;h=b0d3c6c76faa46baccf23cee7edf0efe2d054a96;hb=c1747970612e36148e7f7a51872c652ed47697f4;hp=e5863d6cedf1f94531c81279da21c16a78f3e235;hpb=cb5473205206c7f14cbb1e747f28ec75b48826e2;p=oweals%2Fu-boot.git diff --git a/board/sbc405/strataflash.c b/board/sbc405/strataflash.c index e5863d6ced..b0d3c6c76f 100644 --- a/board/sbc405/strataflash.c +++ b/board/sbc405/strataflash.c @@ -670,14 +670,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: