]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/amirix/ap1000/flash.c
board/amirix/ap1000/flash.c: Fix GCC 4.6 build warning
[karo-tx-uboot.git] / board / amirix / ap1000 / flash.c
index 1e742e5275489f5a7763449ecc690b4b62319ae9..bf8877ec6a1727cb44469c09c91ab45f82d283cd 100644 (file)
@@ -774,12 +774,9 @@ 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 */