Date: Tue, 30 Oct 2012 06:11:10 +0000 (UTC) From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r242343 - head/sys/arm/lpc Message-ID: <201210300611.q9U6BA10029556@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210300611.q9U6BA10029556>