aboutsummaryrefslogtreecommitdiff
path: root/sys/arm/lpc
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2012-10-30 06:11:09 +0000
committerAndrew Turner <andrew@FreeBSD.org>2012-10-30 06:11:09 +0000
commit88acb428d34147d63ec17510a8f1565db950227c (patch)
tree6e6cd6ccfc7cc505d9a43c88925a985776db5769 /sys/arm/lpc
parent684ba62e3fe1965d1f27e7b705e138029c4dc19a (diff)
downloadsrc-88acb428d34147d63ec17510a8f1565db950227c.tar.gz
src-88acb428d34147d63ec17510a8f1565db950227c.zip
Move the call to platform_gpio_init() into initarm_gpio_init() to reduce
the diff to the other FDT versions of initarm.
Notes
Notes: svn path=/head/; revision=242343
Diffstat (limited to 'sys/arm/lpc')
-rw-r--r--sys/arm/lpc/lpc_machdep.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arm/lpc/lpc_machdep.c b/sys/arm/lpc/lpc_machdep.c
index 191fbf3eae8b..c9ebc57ed39e 100644
--- a/sys/arm/lpc/lpc_machdep.c
+++ b/sys/arm/lpc/lpc_machdep.c
@@ -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