nrf9160 with only non-secure partitions/code on a custom board

I am in the early stages of development and would like to proceed with only non-secure partitions on the nrf9160. I'd like to not make use of TrustZone.

I notice all of the nrf9160 board definitions have secure and non-secure partitions set up. Is it possible to treat the nrf9160 as a non-secure-only platform and only have 3 basic partitions: bootloader (mcuboot), image 0, and image 1? Or will I always have to have some small secure partition stub?

My initial attempts to set up a non-secure-only custom board have resulted in some compiler issues, but I don't want to dig into them here. I'm happy to figure those out if someone can confirm that non-secure-only is possible. I also understand I may need other partitions for scratch space and persistent storage but those are outside the scope of this question.

Thanks!

Related