[arch/arm]: Add code to disable warm boot for nandwrite
diff --git a/arch/arm/crt0.S b/arch/arm/crt0.S
index c33d6dd..d5b4a32 100644
--- a/arch/arm/crt0.S
+++ b/arch/arm/crt0.S
@@ -50,6 +50,7 @@
 	bl __cpu_early_init
 #endif
 
+#if (!ENABLE_NANDWRITE)
 #if WITH_CPU_WARM_BOOT
 	ldr 	r0, warm_boot_tag
 	cmp 	r0, #1
@@ -60,6 +61,7 @@
 	mov 	r0, #1
 	str	r0, warm_boot_tag
 #endif
+#endif
 
 	/* see if we need to relocate */
 	mov		r0, pc