projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a842891
)
mpc83xx: Prepare usage of DM gpio driver
author
Mario Six
<mario.six@gdsys.cc>
Mon, 21 Jan 2019 08:18:08 +0000
(09:18 +0100)
committer
Mario Six
<mario.six@gdsys.cc>
Tue, 21 May 2019 05:52:33 +0000
(07:52 +0200)
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>
arch/powerpc/include/asm/arch-mpc83xx/gpio.h
patch
|
blob
|
history
diff --git
a/arch/powerpc/include/asm/arch-mpc83xx/gpio.h
b/arch/powerpc/include/asm/arch-mpc83xx/gpio.h
index b5ec50ba44ca3e90e8dc37d52a19d01081c744c9..385d651d20075096e9d992e7791dbebf74d08b0b 100644
(file)
--- a/
arch/powerpc/include/asm/arch-mpc83xx/gpio.h
+++ b/
arch/powerpc/include/asm/arch-mpc83xx/gpio.h
@@
-17,7
+17,15
@@
#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_r(void);
+#endif /* DM_GPIO */
#endif /* MPC83XX_GPIO_H_ */