CONFIG_DISABLE_FLASH_PATCH purpose

Hi

I see i get a cmake warning with DFU enabled with the following message:

      ----------------------------------------------------------
      --- WARNING: To maintain the integrity of secure boot, ---
      --- enable CONFIG_DISABLE_FLASH_PATCH in production.   ---
      ----------------------------------------------------------

whats the purpose of this? should i just have it always enabled in my conf, or for prod only?

it seems to include https://github.com/NordicPlayground/nRF52-flash-patch/blob/master/example/flash_patch.c 

Related