mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-27 18:25:05 +00:00
stm32mon: set flash_size to 128KB for chip ID 0x420
This updates the flash_size to match 128KB parts. Unfortunately there does not seem to be an easy way to differentiate between the 64KB and 128KB parts at runtime. BUG=none TEST=tested on Snow Signed-off-by: David Hendricks <dhendrix@chromium.org> Change-Id: Ie1ca6f6d04753e91d937f67dec193fcf5566251e Reviewed-on: https://gerrit.chromium.org/gerrit/26188 Reviewed-by: Vincent Palatin <vpalatin@chromium.org> Commit-Ready: David Hendricks <dhendrix@chromium.org> Tested-by: David Hendricks <dhendrix@chromium.org>
This commit is contained in:
@@ -54,7 +54,7 @@ struct stm32_def {
|
||||
uint32_t page_size;
|
||||
} chip_defs[] = {
|
||||
{0x416, "STM32L15xx", 0x08000000, 0x20000, 256},
|
||||
{0x420, "STM32F100xx", 0x08000000, 0x10000, 1024},
|
||||
{0x420, "STM32F100xx", 0x08000000, 0x20000, 1024},
|
||||
{ 0 }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user