diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
index e20ea1b13f17de531f961ca1f3ae932e255e8219..246cd9a1a708df0d42892586d4db6188c3c75b36 100644
--- a/board/sunxi/Kconfig
+++ b/board/sunxi/Kconfig
@@ -24,6 +24,7 @@ config MACH_SUN7I
 	select CPU_V7_HAS_NONSEC
 	select CPU_V7_HAS_VIRT
 	select SUPPORT_SPL
+	select ARMV7_BOOT_SEC_DEFAULT if OLD_SUNXI_KERNEL_COMPAT
 
 config MACH_SUN8I
 	bool "sun8i (Allwinner A23)"