diff options
author | Angelo Dureghello | 2019-03-13 21:46:53 +0100 |
---|---|---|
committer | Tom Rini | 2019-05-24 08:11:59 -0400 |
commit | 196afe62d6b3e720295bbda046d260ccc6292a28 (patch) | |
tree | e169db6609ab6add1b2c0f917cbc12ba733025da /arch/m68k/include/asm | |
parent | cd3b0717ba9875b3978bdc0835ee82415d766f29 (diff) |
m68k: add dspi chip-select support
Signed-off-by: Angelo Dureghello <angelo@sysam.it>
Changes for v5:
- new patch
Diffstat (limited to 'arch/m68k/include/asm')
-rw-r--r-- | arch/m68k/include/asm/coldfire/dspi.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/m68k/include/asm/coldfire/dspi.h b/arch/m68k/include/asm/coldfire/dspi.h index afd5c79f35e..ddd8f338054 100644 --- a/arch/m68k/include/asm/coldfire/dspi.h +++ b/arch/m68k/include/asm/coldfire/dspi.h @@ -138,4 +138,8 @@ typedef struct dspi { /* Bit definitions and macros for DRFDR group */ #define DSPI_RFDR_RXDATA(x) (((x)&0x0000FFFF)) +/* Architecture-related operations */ +void dspi_chip_select(int cs); +void dspi_chip_unselect(int cs); + #endif /* __DSPI_H__ */ |