Skip to content

Commit 3d72432

Browse files
hakonfamSebastianBoe
authored andcommitted
fw_info: rename to avoid duplicate kconfig name
The 'CONFIG_FW_INFO_VERSION' kconfig option was a duplicate, this will cause issues as they are treated as the same value. Signed-off-by: Håkon Øye Amundsen <[email protected]>
1 parent 2e7050a commit 3d72432

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

subsys/fw_info/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ config FW_INFO_OFFSET
2626
of firmware information should search all possible offsets. Note
2727
that all space between the vector table and this address is unused.
2828

29-
config FW_INFO_VERSION
29+
config FW_INFO_FIRMWARE_VERSION
3030
int "Version number of the firmware."
3131
default 1
3232

subsys/fw_info/fw_info.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ __fw_info struct fw_info m_firmware_info =
4343
{
4444
.magic = {FIRMWARE_INFO_MAGIC},
4545
.firmware_size = (u32_t)&_flash_used,
46-
.firmware_version = CONFIG_FW_INFO_VERSION,
46+
.firmware_version = CONFIG_FW_INFO_FIRMWARE_VERSION,
4747
.firmware_address = (u32_t)&_image_rom_start,
4848
.abi_in = &abi_getter_in,
4949
.abi_out = &abi_getter,

0 commit comments

Comments
 (0)