bugid:21598165:modified flash_sw_bank to hal_reboot_bank to adapt the dual bank boot function
extern const hal_logic_partition_t hal_partitions[];
-int flash_sw_bank(void)
+int hal_reboot_bank(void)
{
int ret = 0;
#if defined (STM32L471xx) || defined (STM32L475xx) || defined (STM32L476xx) || \
