diff options
author | Gong Qianyu <Qianyu.Gong@freescale.com> | 2015-11-11 17:58:39 +0800 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2015-11-30 09:11:11 -0800 |
commit | 28752cf83b115aff7f27df2e52f4c69399dd95c6 (patch) | |
tree | 584d334f7d0bba0b6a73d1ad648fdf1ec5abd6f1 /include/configs/ls1043ardb.h | |
parent | 630532f51fd4e0b32aeb40dca63a0a8915c040b9 (diff) |
armv8/ls1043ardb: add DSPI support
Use the U-Boot Driver Model. Just enable Freescale DSPI driver
and set DSPI related parameters in dts file.
Signed-off-by: Gong Qianyu <Qianyu.Gong@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'include/configs/ls1043ardb.h')
-rw-r--r-- | include/configs/ls1043ardb.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/configs/ls1043ardb.h b/include/configs/ls1043ardb.h index 307d947405..3fa9b3b611 100644 --- a/include/configs/ls1043ardb.h +++ b/include/configs/ls1043ardb.h @@ -222,6 +222,16 @@ #define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS 3 #define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 5 +/* DSPI */ +#define CONFIG_FSL_DSPI +#ifdef CONFIG_FSL_DSPI +#define CONFIG_CMD_SF +#define CONFIG_DM_SPI_FLASH +#define CONFIG_SPI_FLASH_STMICRO +#define CONFIG_SF_DEFAULT_BUS 1 +#define CONFIG_SF_DEFAULT_CS 0 +#endif + /* * Environment */ |