board: presidio: Add Parallel NAND support
Set environment for Nand flash (U-boot 2020.04): - add nand flash in the device tree - add new default configuration file for G3 using parallel Nand - set nand parameters in presidio_asic.h Signed-off-by: Kate Liu <kate.liu@cortina-access.com> Signed-off-by: Alex Nemirovsky <alex.nemirovsky@cortina-access.com> CC: Tom Rini <trini@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -67,4 +67,13 @@
|
||||
#define CONFIG_SYS_MAXARGS 64
|
||||
#define CONFIG_EXTRA_ENV_SETTINGS "silent=y\0"
|
||||
|
||||
/* nand driver parameters */
|
||||
#ifdef CONFIG_TARGET_PRESIDIO_ASIC
|
||||
#define CONFIG_SYS_NAND_ONFI_DETECTION
|
||||
#define CONFIG_SYS_MAX_NAND_DEVICE 1
|
||||
#define CONFIG_SYS_NAND_MAX_CHIPS 1
|
||||
#define CONFIG_SYS_NAND_BASE CONFIG_SYS_FLASH_BASE
|
||||
#define CONFIG_SYS_NAND_BASE_LIST { CONFIG_SYS_NAND_BASE }
|
||||
#endif
|
||||
|
||||
#endif /* __PRESIDIO_ASIC_H */
|
||||
|
||||
Reference in New Issue
Block a user