mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-06-25 16:12:05 +00:00
mpc83xx: Prepare usage of DM gpio driver
The MPC85xx GPIO driver was converted to handle a broader range of SoCs. Prepare the MPC83xx code for usage of this driver. Signed-off-by: Mario Six <mario.six@gdsys.cc>
This commit is contained in:
parent
a84289190c
commit
d17e5fdfea
1 changed files with 8 additions and 0 deletions
|
@ -17,7 +17,15 @@
|
||||||
|
|
||||||
#define MAX_NUM_GPIOS (32 * MPC83XX_GPIO_CTRLRS)
|
#define MAX_NUM_GPIOS (32 * MPC83XX_GPIO_CTRLRS)
|
||||||
|
|
||||||
|
struct mpc8xxx_gpio_plat {
|
||||||
|
ulong addr;
|
||||||
|
unsigned long size;
|
||||||
|
uint ngpios;
|
||||||
|
};
|
||||||
|
|
||||||
|
#ifndef DM_GPIO
|
||||||
void mpc83xx_gpio_init_f(void);
|
void mpc83xx_gpio_init_f(void);
|
||||||
void mpc83xx_gpio_init_r(void);
|
void mpc83xx_gpio_init_r(void);
|
||||||
|
#endif /* DM_GPIO */
|
||||||
|
|
||||||
#endif /* MPC83XX_GPIO_H_ */
|
#endif /* MPC83XX_GPIO_H_ */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue