Author: andrew
Date: Tue Oct 30 06:11:09 2012
New Revision: 242343
URL: http://svn.freebsd.org/changeset/base/242343

Log:
  Move the call to platform_gpio_init() into initarm_gpio_init() to reduce
  the diff to the other FDT versions of initarm.

Modified:
  head/sys/arm/lpc/lpc_machdep.c

Modified: head/sys/arm/lpc/lpc_machdep.c
==============================================================================
--- head/sys/arm/lpc/lpc_machdep.c      Tue Oct 30 06:07:30 2012        
(r242342)
+++ head/sys/arm/lpc/lpc_machdep.c      Tue Oct 30 06:11:09 2012        
(r242343)
@@ -542,11 +542,6 @@ initarm(struct arm_boot_params *abp)
         */
        physmap_init();
 
-       /*
-        * Set initial values of GPIO output ports
-        */
-       platform_gpio_init();
-
        /* Do basic tuning, hz etc */
        init_param2(physmem);
        kdb_init();
@@ -569,6 +564,11 @@ initarm_lastaddr(void)
 void
 initarm_gpio_init(void)
 {
+
+       /*
+        * Set initial values of GPIO output ports
+        */
+       platform_gpio_init();
 }
 
 void
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to