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

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