Commit 8accafd5 authored by David Brown's avatar David Brown Committed by David Brown
Browse files

zephyr: Remove outdated workaround for Kinetis

Remove this workaround.  The Kinetis flash driver has supported
FLASH_PAGE_LAYOUT since at least January 2018.

Signed-off-by: default avatarDavid Brown <david.brown@linaro.org>
parent 478ad247
Loading
Loading
Loading
Loading
+0 −9
Changes for boot/zephyr/include/target.h: 0 added lines, 9 removed lines.
Original line number Diff line number Diff line
@@ -23,15 +23,6 @@

#define FLASH_ALIGN FLASH_WRITE_BLOCK_SIZE

/*
 * TODO: remove soc_family_kinetis.h once its flash driver supports
 * FLASH_PAGE_LAYOUT.
 */
#if defined(CONFIG_SOC_FAMILY_KINETIS)
#include "soc_family_kinetis.h"
#endif
#endif /* !defined(MCUBOOT_TARGET_CONFIG) */

/*
 * Sanity check the target support.
 */
+0 −8
Changes for boot/zephyr/targets/soc_family_kinetis.h: 0 added lines, 8 removed lines.
Original line number Diff line number Diff line
/*
 * Copyright (c) 2017 Linaro
 * SPDX-License-Identifier: Apache-2.0
 */

#ifdef CONFIG_SOC_SERIES_KINETIS_K6X
#define FLASH_AREA_IMAGE_SECTOR_SIZE	0x01000
#endif