X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fflash%2Fstellaris.c;h=456d55bf34cc2b5db907763fc53cf28e2d5951f0;hb=f876d5e9c769a288faa7fd14b7bf373363542aab;hp=cc9cd53f28852bdba0a821078c4461ddf71f7212;hpb=c18947b947064e7eceed8047c42d4c8dfd8ae964;p=fw%2Fopenocd diff --git a/src/flash/stellaris.c b/src/flash/stellaris.c index cc9cd53f2..456d55bf3 100644 --- a/src/flash/stellaris.c +++ b/src/flash/stellaris.c @@ -412,7 +412,7 @@ static u32 stellaris_wait_status_busy(flash_bank_t *bank, u32 waitbits, int time } /* Send one command to the flash controller */ -static int stellaris_flash_command(struct flash_bank_s *bank,uint8_t cmd,u16 pagen) +static int stellaris_flash_command(struct flash_bank_s *bank,uint8_t cmd,uint16_t pagen) { u32 fmc; target_t *target = bank->target;