~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: 1e4f24fb2ae8fa35d2df3949ff71e3fb17ef3152 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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_ */