Module Name:    src
Committed By:   jkunz
Date:           Tue Nov 20 23:39:33 UTC 2012

Modified Files:
        src/sys/arch/evbarm/stand/bootimx23: power_prep.c

Log Message:
Give memory more time to power up. Avoids hangups.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/evbarm/stand/bootimx23/power_prep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbarm/stand/bootimx23/power_prep.c
diff -u src/sys/arch/evbarm/stand/bootimx23/power_prep.c:1.1 src/sys/arch/evbarm/stand/bootimx23/power_prep.c:1.2
--- src/sys/arch/evbarm/stand/bootimx23/power_prep.c:1.1	Tue Nov 20 19:08:46 2012
+++ src/sys/arch/evbarm/stand/bootimx23/power_prep.c	Tue Nov 20 23:39:33 2012
@@ -1,4 +1,4 @@
-/* $Id: power_prep.c,v 1.1 2012/11/20 19:08:46 jkunz Exp $ */
+/* $Id: power_prep.c,v 1.2 2012/11/20 23:39:33 jkunz Exp $ */
 
 /*
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -574,6 +574,7 @@ enable_vddmem(void)
 	vddctrl &= ~(HW_POWER_VDDMEMCTRL_PULLDOWN_ACTIVE |
 	    HW_POWER_VDDMEMCTRL_ENABLE_ILIMIT);
 	REG_WRITE(HW_POWER_BASE + HW_POWER_VDDMEMCTRL, vddctrl);
+	delay_us(10000);
 
 	return;
 }

Reply via email to