]> git.sur5r.net Git - u-boot/blobdiff - board/g2000/strataflash.c
mx53ard: Remove unused get_board_rev function
[u-boot] / board / g2000 / strataflash.c
index effe65a36f86567b9cc0b3da2d7aba4d1a2f232b..fd72f47310e8ced567c7acd76df608bb212a5d41 100644 (file)
@@ -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: