diff --git a/include/configs/km/keymile-common.h b/include/configs/km/keymile-common.h
index 8839ccb920b31eede4b3e4b3bca3bf80e54a6ead..c40a5417b1269638c2c0d5982b56daa98f225944 100644
--- a/include/configs/km/keymile-common.h
+++ b/include/configs/km/keymile-common.h
@@ -223,6 +223,8 @@
 	"backup_bank=0\0"						\
 	"release=run newenv; reset\0"					\
 	"pnvramsize=" xstr(CONFIG_KM_PNVRAM) "\0"			\
+	"testbootcmd=setenv boot_bank ${test_bank}; "			\
+		"run ${subbootcmds}; reset\0"				\
 	""
 
 #ifndef CONFIG_KM_DEF_ENV