mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-19 13:11:14 +00:00
spi_mpc83xx.c: support QE enabled 83xx CPU's like mpc832x
Quicc Engine enabled mpc83xx CPU's has a somewhat different HW interface to the SPI controller. This patch adds a qe_mode knob that sees to that needed adaptions are performed. Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
ae918c02d3
commit
f29ba280ec
2 changed files with 30 additions and 4 deletions
|
@ -112,7 +112,7 @@ struct fsl_usb2_platform_data {
|
|||
struct fsl_spi_platform_data {
|
||||
u32 initial_spmode; /* initial SPMODE value */
|
||||
u16 bus_num;
|
||||
|
||||
bool qe_mode;
|
||||
/* board specific information */
|
||||
u16 max_chipselect;
|
||||
void (*activate_cs)(u8 cs, u8 polarity);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue