Skip to content
Commit dbbcb78b authored by Ederson de Souza's avatar Ederson de Souza Committed by Jamie
Browse files

boot/zephyr: Fix SINGLE_APPLICATION_SLOT_RAM_LOAD file inclusion



Tweak if/else chain so that:
  - single_loader.c and ram_load.c are included if
    CONFIG_SINGLE_APPLICATION_SLOT_RAM_LOAD=y.
  - single_loader.c is included if CONFIG_SINGLE_APPLICATION_SLOT=y
  - ram_load.c is included if CONFIG_BOOT_RAM_LOAD=y and
    CONFIG_SINGLE_APPLICATION_SLOT_RAM_LOAD=n and
    CONFIG_SINGLE_APPLICATION_SLOT=n.

Without this patch, having both CONFIG_SINGLE_APPLICATION_SLOT_RAM_LOAD
and CONFIG_SINGLE_APPLICATION_SLOT would not include ram_load.c.

Signed-off-by: default avatarEderson de Souza <ederson.desouza@intel.com>
parent 9e72eb39
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment