File tree 1 file changed +3
-10
lines changed
1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -88,24 +88,17 @@ config HAS_FLASH_LOAD_OFFSET
88
88
89
89
if HAS_FLASH_LOAD_OFFSET
90
90
91
- # Workaround for not being able to have commas in macro arguments
92
- DT_CHOSEN_Z_CODE_PARTITION := zephyr,code-partition
93
-
94
- config HAS_DT_CODE_PARTITION
95
- def_bool "$(dt_chosen_path,$(DT_CHOSEN_Z_CODE_PARTITION))" != ""
96
- help
97
- Symbol that indicates whether the "zephyr,code-partition"
98
- chosen property is set. Other settings may depend on it.
99
-
100
91
config USE_DT_CODE_PARTITION
101
92
bool "Link application into /chosen/zephyr,code-partition from devicetree"
102
- depends on HAS_DT_CODE_PARTITION
103
93
help
104
94
When enabled, the application will be linked into the flash partition
105
95
selected by the zephyr,code-partition property in /chosen in devicetree.
106
96
When this is disabled, the flash load offset and size can be set manually
107
97
below.
108
98
99
+ # Workaround for not being able to have commas in macro arguments
100
+ DT_CHOSEN_Z_CODE_PARTITION := zephyr,code-partition
101
+
109
102
config FLASH_LOAD_OFFSET
110
103
# Only user-configurable when USE_DT_CODE_PARTITION is disabled
111
104
hex "Kernel load offset" if !USE_DT_CODE_PARTITION
You can’t perform that action at this time.
0 commit comments