1# Copyright 2022-2024 NXP
2# SPDX-License-Identifier: Apache-2.0
3
4config SOC_SERIES_RW6XX
5	select ARM
6	select CPU_CORTEX_M33
7	select CPU_CORTEX_M_HAS_DWT
8	select CLOCK_CONTROL
9	select SOC_RESET_HOOK
10	select CPU_HAS_ARM_SAU
11	select CPU_HAS_ARM_MPU
12	select CPU_HAS_FPU
13	select HAS_MCUX_OS_TIMER
14	select ARM_TRUSTZONE_M
15	select CPU_CORTEX_M_HAS_SYSTICK
16	select HAS_MCUX
17	select HAS_MCUX_FLEXCOMM
18	select HAS_MCUX_CACHE
19	select HAS_PM
20	select HAS_NXP_MONOLITHIC_NBU
21	select SOC_EARLY_INIT_HOOK
22
23if SOC_SERIES_RW6XX
24
25menuconfig NXP_RW6XX_BOOT_HEADER
26	bool "Create boot header"
27	default y if !BOOTLOADER_MCUBOOT
28	help
29	  Create data structures required by the boot ROM to boot the
30	  application from an external flash device.
31
32if NXP_RW6XX_BOOT_HEADER
33
34rsource "../common/Kconfig.rom_loader"
35
36config FLASH_CONFIG_OFFSET
37	hex "Flash config data offset"
38	default 0x400
39	help
40	  The flash config offset provides the boot ROM with the on-board
41	  flash type and parameters. The boot ROM requires a fixed flash conifg
42	  offset for FlexSPI device.
43
44config IMAGE_VECTOR_TABLE_OFFSET
45	hex "Image vector table offset"
46	default 0x1000
47	help
48	  The Image Vector Table (IVT) provides the boot ROM with pointers to
49	  the application entry point and device configuration data. The boot
50	  ROM requires a fixed IVT offset for each type of boot device.
51
52endif # NXP_RW6XX_BOOT_HEADER
53
54rsource "../common/Kconfig.flexspi_xip"
55rsource "../common/Kconfig.nbu"
56
57endif # SOC_SERIES_RW6XX
58