Remove hardcode bank1 page limit (128) which is not always valid (not valid for soc stm32g474rct) Manage bank1/2 discontinuity when flash is Dualbank and flash size is lower than 512K. Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>