From 88acb428d34147d63ec17510a8f1565db950227c Mon Sep 17 00:00:00 2001 From: Andrew Turner Date: Tue, 30 Oct 2012 06:11:09 +0000 Subject: [PATCH] Move the call to platform_gpio_init() into initarm_gpio_init() to reduce the diff to the other FDT versions of initarm. --- sys/arm/lpc/lpc_machdep.c | 10 +++++----- 1 file 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