|
|
@@ -161,6 +161,10 @@ static const struct stm32l4_rev stm32_462_revs[] = { |
|
|
|
{ 0x1000, "A" }, { 0x1001, "Z" }, { 0x2001, "Y" }, |
|
|
|
}; |
|
|
|
|
|
|
|
static const struct stm32l4_rev stm32_464_revs[] = { |
|
|
|
{ 0x1000, "A" }, |
|
|
|
}; |
|
|
|
|
|
|
|
static const struct stm32l4_rev stm32_470_revs[] = { |
|
|
|
{ 0x1000, "A" }, { 0x1001, "Z" }, { 0x1003, "Y" }, { 0x100F, "W" }, |
|
|
|
}; |
|
|
@@ -206,6 +210,16 @@ static const struct stm32l4_part_info stm32l4_parts[] = { |
|
|
|
.flash_regs_base = 0x40022000, |
|
|
|
.fsize_addr = 0x1FFF75E0, |
|
|
|
}, |
|
|
|
{ |
|
|
|
.id = 0x464, |
|
|
|
.revs = stm32_464_revs, |
|
|
|
.num_revs = ARRAY_SIZE(stm32_464_revs), |
|
|
|
.device_str = "STM32L41/L42xx", |
|
|
|
.max_flash_size_kb = 128, |
|
|
|
.has_dual_bank = false, |
|
|
|
.flash_regs_base = 0x40022000, |
|
|
|
.fsize_addr = 0x1FFF75E0, |
|
|
|
}, |
|
|
|
{ |
|
|
|
.id = 0x470, |
|
|
|
.revs = stm32_470_revs, |
|
|
@@ -766,6 +780,7 @@ static int stm32l4_probe(struct flash_bank *bank) |
|
|
|
break; |
|
|
|
case 0x435: |
|
|
|
case 0x462: |
|
|
|
case 0x464: |
|
|
|
/* single bank flash */ |
|
|
|
page_size = 2048; |
|
|
|
num_pages = flash_size_in_kb / 2; |
|
|
|