Rename platform_gpio_init to be SoC specific

This commit is contained in:
andrew 2014-05-10 21:30:19 +00:00
parent bd1a86f089
commit 5891a26537
3 changed files with 3 additions and 3 deletions

View File

@ -504,7 +504,7 @@ lpc_gpio_get_state(device_t dev, int pin, int *state)
}
void
platform_gpio_init()
lpc_gpio_init()
{
bus_space_tag_t bst;
bus_space_handle_t bsh;

View File

@ -78,7 +78,7 @@ initarm_gpio_init(void)
/*
* Set initial values of GPIO output ports
*/
platform_gpio_init();
lpc_gpio_init();
}
void

View File

@ -38,7 +38,7 @@ uint32_t lpc_pwr_read(device_t, int);
void lpc_pwr_write(device_t, int, uint32_t);
/* GPIO */
void platform_gpio_init(void);
void lpc_gpio_init(void);
int lpc_gpio_set_flags(device_t, int, int);
int lpc_gpio_set_state(device_t, int, int);
int lpc_gpio_get_state(device_t, int, int *);