mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-27 04:18:51 +09:00
![Mario Six](/assets/img/avatar_default.png)
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>
14 lines
335 B
C
14 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_ */
|