diff options
Diffstat (limited to 'board/mpl/common/common_util.c')
-rw-r--r-- | board/mpl/common/common_util.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/board/mpl/common/common_util.c b/board/mpl/common/common_util.c index a6edb6d..101b6ef 100644 --- a/board/mpl/common/common_util.c +++ b/board/mpl/common/common_util.c @@ -273,29 +273,6 @@ mpl_prg(uchar *src, ulong size) return (1); } #endif /* defined(CONFIG_PATI) */ - -#elif defined(CONFIG_VCMA9) - start = 0; - - /* search end sector */ - for (i = 0; i < info->sector_count; i++) - if (size < info->start[i]) - break; - - flash_protect(FLAG_PROTECT_CLEAR, - start, - size, - info); - - /* now erase flash */ - printf("Erasing at %lx (sector %d) (start %lx)\n", - start,0,info->start[0]); - if ((rc = flash_erase (info, 0, i)) != 0) { - puts("ERROR "); - flash_perror(rc); - return (1); - } - #endif printf("flash erased, programming from 0x%lx 0x%lx Bytes\n", (ulong)src, size); |