forked from Imagelibrary/rtems
bsps/xnandpsu: Allow use of both chip selects
By default, the Xilinx NAND driver does not probe the second chip select. This alteration allows the second half of chips to be detected when present.
This commit is contained in:
committed by
Joel Sherrill
parent
d0dd98cca0
commit
10ff982834
@@ -181,7 +181,11 @@ extern "C" {
|
||||
|
||||
#define XNANDPSU_DEBUG
|
||||
|
||||
#ifdef __rtems__
|
||||
#define XNANDPSU_MAX_TARGETS 2U /**< ce_n0, ce_n1 */
|
||||
#else
|
||||
#define XNANDPSU_MAX_TARGETS 1U /**< ce_n0, ce_n1 */
|
||||
#endif
|
||||
#define XNANDPSU_MAX_PKT_SIZE 0x7FFU /**< Max packet size */
|
||||
#define XNANDPSU_MAX_PKT_COUNT 0xFFFU /**< Max packet count */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user