X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Fflash%2Fnor%2Faducm360.c;h=8681a25af45a44b51867e495da8725c48488ad98;hp=3e446f53901b89caa652fde9c646b8b8495b8d38;hb=5be455a710c57bbbbd49c2d671b42098db7be5dc;hpb=03f46e368830c7293f83186658268a6cd4557b20 diff --git a/src/flash/nor/aducm360.c b/src/flash/nor/aducm360.c index 3e446f5390..8681a25af4 100644 --- a/src/flash/nor/aducm360.c +++ b/src/flash/nor/aducm360.c @@ -12,6 +12,8 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License for more details. * * * + * You should have received a copy of the GNU General Public License * + * along with this program. If not, see . * ***************************************************************************/ /*************************************************************************** @@ -549,7 +551,7 @@ static int aducm360_check_flash_completion(struct target *target, unsigned int t { uint32_t v = 1; - long long endtime = timeval_ms() + timeout_ms; + int64_t endtime = timeval_ms() + timeout_ms; while (1) { target_read_u32(target, ADUCM360_FLASH_BASE+ADUCM360_FLASH_FEESTA, &v); if ((v & 0x00000001) == 0)