forked from mcu-tools/mcuboot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKconfig
96 lines (83 loc) · 3.73 KB
/
Kconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# SPDX-License-Identifier: BSD-3-Clause
#
menu "MCUboot"
config MCUX_COMPONENT_middleware.mcuboot.bootutil
bool "Core MCUboot loader library"
select MCUX_COMPONENT_middleware.mcuboot.nxp_bootutil_port
default n
help
This option enables core bootutil library
that is used by the bootloader code.
config MCUX_COMPONENT_middleware.mcuboot.tinycrypt
bool "Use TinyCrypt instead of MbedTLS"
depends on !MCUX_COMPONENT_middleware.mbedtls
select MCUX_COMPONENT_middleware.mcuboot.mbedtls-asn1 if MCUX_COMPONENT_middleware.mcuboot.bootutil
help
The TinyCrypt Library provides a minimalistic implementation of
standard cryptography primitives.
config MCUX_COMPONENT_middleware.mcuboot.mbedtls-asn1
bool "Thin MbedTLS layer for ASN1 parsing"
help
This is needed when TinyCrypt it used together with
MCUboot bootutil library as TC does not support ASN1
parsing.
config MCUX_COMPONENT_middleware.mcuboot.nxp_encrypted_xip
bool "Add support for encrypted XIP"
help
Enables code that implements support for running from
an encrypted mcuboot image. See documentation for details
and device compatibility.
config MCUX_COMPONENT_middleware.mcuboot.nxp_bootutil_port
bool
default n
help
NXP port layer for MCUboot
config MCUX_COMPONENT_middleware.mcuboot.nxp_app_support
bool "Application layer to support access to MCUboot update mechanism"
default n
help
This enabled code that contains API to control MCUboot update
mechanism from actively running application.
config MCUX_COMPONENT_middleware.mcuboot.stack_heap_default_mbedtls
bool "Default stack/heap setup for configuration with MbedTLS"
default n
config MCUX_COMPONENT_middleware.mcuboot.stack_heap_default_tinycrypt
bool "Default stack/heap setup for configuration with tinycrypt"
default n
# TODO - make this a configuration that propagates to source code
# config MCUX_COMPONENT_middleware.mcuboot.nxp_flash_remapping
# bool "Enable flash remapping feature"
# default y
# depends on MCUX_HW_DEVICE_MIMXRT1062 || MCUX_HW_DEVICE_MIMXRT1064 || \
# MCUX_HW_DEVICE_MIMXRT1166 || MCUX_HW_DEVICE_MIMXRT1176 || \
# MCUX_HW_DEVICE_MIMXRT595S || MCUX_HW_DEVICE_MIMXRT685S || \
# MCUX_HW_DEVICE_MCXN947 || MCUX_HW_DEVICE_MCXN547 || \
# MCUX_HW_DEVICE_RW612
# help
# If hardware supports flash remapping it is possible
# to use it together with MCUboot's DIRECT_XIP configuration
# to enable zero-overhead image swapping
#
# config MCUX_COMPONENT_middleware.mcuboot.code_signing_rsa2048
# bool
#
# config MCUX_COMPONENT_middleware.mcuboot.code_signing_ec256
# bool
# Device Flash API automatically selected by device family
config MCUX_COMPONENT_middleware.mcuboot.bootutil.flashapi_rt
bool
default y
depends on MCUX_COMPONENT_middleware.mcuboot.bootutil
depends on !MCUX_COMPONENT_middleware.mcuboot.bootutil.flashapi_mcx
help
Layer that connects mcuboot flash API with device specific flash API.
This RT option is used on most devices.
config MCUX_COMPONENT_middleware.mcuboot.bootutil.flashapi_mcx
bool
default y
depends on MCUX_COMPONENT_middleware.mcuboot.bootutil
depends on MCUX_HW_SOC_SERIES_MCX
help
Layer that connects mcuboot flash API with device specific flash API.
Version for MCX devices.
endmenu