Commit b8718d1f authored by Lionel Debieve's avatar Lionel Debieve
Browse files

io: stm32image: fix device_size type



Device size could be more than 4GB, we must
define size as unsigned long long.

Change-Id: I52055cf5c1c15ff18ab9e157aa9b73c8b4fb7b63
Signed-off-by: default avatarLionel Debieve <lionel.debieve@st.com>
parent dd85e572
...@@ -23,7 +23,7 @@ struct stm32image_part_info { ...@@ -23,7 +23,7 @@ struct stm32image_part_info {
struct stm32image_device_info { struct stm32image_device_info {
struct stm32image_part_info part_info[STM32_PART_NUM]; struct stm32image_part_info part_info[STM32_PART_NUM];
uint32_t device_size; unsigned long long device_size;
uint32_t lba_size; uint32_t lba_size;
}; };
......
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