Hi,
I am using i.MX8MQ evk board and I need to handle ecspi from u-boot.
I add ecspi2 in device tree of u-boot and everything works fine, I guess, but at this point I don't understand what to do.
do i.MX8MQ use drive model for ecspi in u-boot ?
is there some code example in u-boot that I can check or reuse ?
Best Regars,
Francesco Giusti
Hi Francesco
for uboot ecspi driver one can look on
fsl_espi.c\spi\drivers - uboot-imx - i.MX U-Boot
imx8mm_evk.c\imx8mm_evk\freescale\board - uboot-imx - i.MX U-Boot
Porting Guide included in Linux 4.19.35_1.1.0 Documentation
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi,
I try to compile fsl_espi.c for iMX8MQ u-boot standalone environment.
I enable CONFIG_FSL_ESPI=y into .config files, but I get an error when I build:
"drivers/spi/fsl_espi.c:13:10: fatal error: asm/immap_85xx.h: No such file or directory"
Have I done something wrong ?
BR,
Francesco
Hi,
I'm having the same error as you
I'd like to ask you a question:
How do you deal with this fatal error?
NXP has special service for help with porting/adding new drivers: Commercial Support and Engineering Services | NXP
Best regards
igor