1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00

Move the call to platform_gpio_init() into initarm_gpio_init() to reduce

the diff to the other FDT versions of initarm.
This commit is contained in:
Andrew Turner 2012-10-30 06:11:09 +00:00
parent 684ba62e3f
commit 88acb428d3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=242343

View File

@ -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