stlink-common: Update STM32L0/1 loaders to return remaining count in r2
authorMaxime Coquelin <mcoquelin.stm32@gmail.com>
Mon, 14 Mar 2016 13:22:54 +0000 (14:22 +0100)
committerMaxime Coquelin <mcoquelin.stm32@gmail.com>
Mon, 14 Mar 2016 14:17:36 +0000 (15:17 +0100)
commite43a737c3c9ffe56045181b306509c942fd9998a
treebc64483bc0d495a9d3dc410f343794698b850a07
parent907383da8ef95fedc630cdf7cf102d44ae229200
stlink-common: Update STM32L0/1 loaders to return remaining count in r2

All the loaders returns remaining work count in r2, except stm32l0/1.
Make these loaders behaving as the others to simplify run_flash_loader() code.

Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
flashloaders/stm32l0x.s
flashloaders/stm32lx.s
src/stlink-common.c