The latest development version of this page may be more current than this released 1.14.1 version.
CONFIG_FLASH_LOAD_SIZE

Kernel load size

Type: hex

Help

If non-zero, this option specifies the size, in bytes, of the flash area that the Zephyr image will be allowed to occupy. If zero, the image will be able to occupy from the FLASH_LOAD_OFFSET to the end of the device.

If unsure, leave at the default value 0.

Kconfig definitions

At boards/arm/nrf9160_pca10090/Kconfig.defconfig:52

Included via Kconfig:10Kconfig.zephyr:21

Menu path: (top menu)

config FLASH_LOAD_SIZE
    hex
    default 0x0 if BOARD_NRF9160_PCA10090 && TRUSTED_EXECUTION_SECURE && (BOARD_NRF9160_PCA10090 || BOARD_NRF9160_PCA10090NS)
    depends on BOARD_NRF9160_PCA10090 && TRUSTED_EXECUTION_SECURE && (BOARD_NRF9160_PCA10090 || BOARD_NRF9160_PCA10090NS)

At boards/arm/nrf9160_pca10090/Kconfig.defconfig:62

Included via Kconfig:10Kconfig.zephyr:21

Menu path: (top menu)

config FLASH_LOAD_SIZE
    hex
    default 0x0 if BOARD_NRF9160_PCA10090NS && (BOARD_NRF9160_PCA10090 || BOARD_NRF9160_PCA10090NS)
    depends on BOARD_NRF9160_PCA10090NS && (BOARD_NRF9160_PCA10090 || BOARD_NRF9160_PCA10090NS)

At Kconfig.zephyr:104

Included via Kconfig:10

Menu path: (top menu) → Build and Link Features → Linker Options

config FLASH_LOAD_SIZE
    hex
    prompt "Kernel load size" if HAS_FLASH_LOAD_OFFSET
    default 0x0 if USE_CODE_PARTITION && HAS_FLASH_LOAD_OFFSET
    default 0 if HAS_FLASH_LOAD_OFFSET
    depends on HAS_FLASH_LOAD_OFFSET
    help
      If non-zero, this option specifies the size, in bytes, of the flash
      area that the Zephyr image will be allowed to occupy.  If zero, the
      image will be able to occupy from the FLASH_LOAD_OFFSET to the end of
      the device.

      If unsure, leave at the default value 0.

(Definitions include propagated dependencies, including from if’s and menus.)