diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2007-08-23 15:35:56 +0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-09-14 08:54:09 -0500 |
commit | 26f6cb999366a71b8e318bceaf8fafc1ffecae40 (patch) | |
tree | 2da19214e759df13caf4772b6936b5689ac1f070 /arch/powerpc/sysdev/fsl_soc.h | |
parent | af6a9aabc106b70ab03d6665c713bca3dd3cb195 (diff) | |
download | blackbird-op-linux-26f6cb999366a71b8e318bceaf8fafc1ffecae40.tar.gz blackbird-op-linux-26f6cb999366a71b8e318bceaf8fafc1ffecae40.zip |
[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>
Diffstat (limited to 'arch/powerpc/sysdev/fsl_soc.h')
-rw-r--r-- | arch/powerpc/sysdev/fsl_soc.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/fsl_soc.h b/arch/powerpc/sysdev/fsl_soc.h index 04e145b5fc32..618d91d1e103 100644 --- a/arch/powerpc/sysdev/fsl_soc.h +++ b/arch/powerpc/sysdev/fsl_soc.h @@ -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 |