Commit 99db18a9 authored by Juha Niskanen's avatar Juha Niskanen Committed by Freddie Chopin
Browse files

stm32l4: support flashing L496 devices

Change-Id: I3effc5b675c853433170391c5eaf46edc067b6e7
Signed-off-by: default avatarJuha Niskanen <>

Tested-by: jenkins
Reviewed-by: default avatarFreddie Chopin <>
parent d81fc78d
......@@ -614,6 +614,7 @@ static int stm32l4_probe(struct flash_bank *bank)
/* set max flash size depending on family */
switch (device_id & 0xfff) {
case 0x461:
case 0x415:
max_flash_size_in_kb = 1024;
......@@ -716,8 +717,12 @@ static int get_stm32l4_info(struct flash_bank *bank, char *buf, int buf_size)
const char *device_str;
switch (device_id) {
case 0x461:
device_str = "STM32L496/4A6";
case 0x415:
device_str = "STM32L4xx";
device_str = "STM32L475/476/486";
case 0x435:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment