Revision e0891bd8
b/hw/xilinx_spips.c | ||
---|---|---|
143 | 143 |
|
144 | 144 |
static inline int num_effective_busses(XilinxSPIPS *s) |
145 | 145 |
{ |
146 |
return (s->regs[R_LQSPI_STS] & LQSPI_CFG_SEP_BUS &&
|
|
147 |
s->regs[R_LQSPI_STS] & LQSPI_CFG_TWO_MEM) ? s->num_busses : 1;
|
|
146 |
return (s->regs[R_LQSPI_CFG] & LQSPI_CFG_SEP_BUS &&
|
|
147 |
s->regs[R_LQSPI_CFG] & LQSPI_CFG_TWO_MEM) ? s->num_busses : 1;
|
|
148 | 148 |
} |
149 | 149 |
|
150 | 150 |
static void xilinx_spips_update_cs_lines(XilinxSPIPS *s) |
Also available in: Unified diff