[POWERPC] fsl_soc: add support for fsl_spi
Add helper function to setup SPI bus/device information Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
committed by
Kumar Gala
parent
af6a9aabc1
commit
26f6cb9993
@@ -8,5 +8,12 @@ extern phys_addr_t get_immrbase(void);
|
||||
extern u32 get_brgfreq(void);
|
||||
extern u32 get_baudrate(void);
|
||||
|
||||
struct spi_board_info;
|
||||
|
||||
extern int fsl_spi_init(struct spi_board_info *board_infos,
|
||||
unsigned int num_board_infos,
|
||||
void (*activate_cs)(u8 cs, u8 polarity),
|
||||
void (*deactivate_cs)(u8 cs, u8 polarity));
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user