summaryrefslogtreecommitdiffstats
path: root/sys/arm/lpc
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2012-10-30 06:11:09 +0000
committerandrew <andrew@FreeBSD.org>2012-10-30 06:11:09 +0000
commit189dafad036b9605e0f8c569d7b2c9b5290d65de (patch)
tree6e6cd6ccfc7cc505d9a43c88925a985776db5769 /sys/arm/lpc
parent1729e10b3745cf955dae5a4ecf8a6006294cbe56 (diff)
downloadFreeBSD-src-189dafad036b9605e0f8c569d7b2c9b5290d65de.zip
FreeBSD-src-189dafad036b9605e0f8c569d7b2c9b5290d65de.tar.gz
Move the call to platform_gpio_init() into initarm_gpio_init() to reduce
the diff to the other FDT versions of initarm.
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 191fbf3..c9ebc57 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
OpenPOWER on IntegriCloud