@@ -248,15 +248,6 @@ config BOOT_DIRECT_XIP
248
248
images must be linked to be executed from the given image slot. Using this
249
249
mode results in a simpler code path and smaller code size.
250
250
251
- config BOOT_RAM_LOAD
252
- bool "RAM load"
253
- help
254
- If y, mcuboot selects the newest valid image based on the image version
255
- numbers, thereafter the selected image is copied to RAM and executed from
256
- there. For this reason, the image has to be linked to be executed from RAM.
257
- The address that the image is copied to is specified using the load-addr
258
- argument to the imgtool.py script which writes it to the image header.
259
-
260
251
config BOOT_FIRMWARE_LOADER
261
252
bool "Firmware loader"
262
253
help
@@ -271,19 +262,6 @@ config BOOT_FIRMWARE_LOADER
271
262
272
263
endchoice
273
264
274
- # Workaround for not being able to have commas in macro arguments
275
- DT_CHOSEN_Z_SRAM := zephyr,sram
276
-
277
- if BOOT_RAM_LOAD
278
- config BOOT_IMAGE_EXECUTABLE_RAM_START
279
- hex "Boot image executable ram start"
280
- default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_SRAM))
281
-
282
- config BOOT_IMAGE_EXECUTABLE_RAM_SIZE
283
- int "Boot image executable base size"
284
- default $(dt_chosen_reg_size_int,$(DT_CHOSEN_Z_SRAM),0)
285
- endif
286
-
287
265
config BOOT_DIRECT_XIP_REVERT
288
266
bool "Enable the revert mechanism in direct-xip mode"
289
267
depends on BOOT_DIRECT_XIP
@@ -320,6 +298,28 @@ config BOOT_SWAP_SAVE_ENCTLV
320
298
321
299
endif # !SINGLE_APPLICATION_SLOT
322
300
301
+ config BOOT_RAM_LOAD
302
+ bool "RAM load"
303
+ help
304
+ If y, mcuboot selects the newest valid image based on the image version
305
+ numbers, thereafter the selected image is copied to RAM and executed from
306
+ there. For this reason, the image has to be linked to be executed from RAM.
307
+ The address that the image is copied to is specified using the load-addr
308
+ argument to the imgtool.py script which writes it to the image header.
309
+
310
+ # Workaround for not being able to have commas in macro arguments
311
+ DT_CHOSEN_Z_SRAM := zephyr,sram
312
+
313
+ if BOOT_RAM_LOAD
314
+ config BOOT_IMAGE_EXECUTABLE_RAM_START
315
+ hex "Boot image executable ram start"
316
+ default $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_SRAM))
317
+
318
+ config BOOT_IMAGE_EXECUTABLE_RAM_SIZE
319
+ int "Boot image executable base size"
320
+ default $(dt_chosen_reg_size_int,$(DT_CHOSEN_Z_SRAM),0)
321
+ endif
322
+
323
323
config BOOT_ENCRYPTION_SUPPORT
324
324
bool
325
325
help
0 commit comments