u-boot/board/gdsys/mpc8308/mpc8308.h
Mario Six b12b545836 gdsys: mpc8308: Use shadow register for output GPIO values
Since the gpio output status on MPC8xxx cannot be read back, it has to
be buffered locally.

Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc>
Signed-off-by: Mario Six <mario.six@gdsys.cc>
2019-05-21 08:03:38 +02:00

13 lines
335 B
C

#ifndef __MPC8308_H_
#define __MPC8308_H_
void setbits_gpio0_out(u32 mask);
void clrbits_gpio0_out(u32 mask);
/* functions to be provided by board implementation */
void mpc8308_init(void);
void mpc8308_set_fpga_reset(unsigned state);
void mpc8308_setup_hw(void);
int mpc8308_get_fpga_done(unsigned fpga);
#endif /* __MPC8308_H_ */