soc: nxp_imx: Fix flash size in imxrt boot header

Fixes the imxrt boot header to set the flash size in Bytes instead of
KiB.

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
Maureen Helm 2020-06-12 13:12:39 -05:00 committed by Carles Cufí
commit 69ebb07056

View file

@ -78,7 +78,7 @@ const clock_video_pll_config_t videoPllConfig = {
#ifdef CONFIG_NXP_IMX_RT_BOOT_HEADER
const __imx_boot_data_section BOOT_DATA_T boot_data = {
.start = CONFIG_FLASH_BASE_ADDRESS,
.size = CONFIG_FLASH_SIZE,
.size = KB(CONFIG_FLASH_SIZE),
.plugin = PLUGIN_FLAG,
.placeholder = 0xFFFFFFFF,
};