Hi community:
I want to update my bsp from L4.9.88 to L4.19.35 on IMX8MQ board. When I replaced lpddr4_timing.c and compile again. It will encounter a error.
---------------------------------------------------------------------------------------------------------------------------------------------------------
1_2019.04-r0/git/board/freescale/imx8mq_evk/lpddr4_timing.c:11:10: fatal error: asm/arch/imx8m_ddr.h: No such file or directory
| #include <asm/arch/imx8m_ddr.h>
| ^~~~~~~~~~~~~~~~~~~~~~
| compilation terminated.
The code of uboot lack of the head file, how to resolve the issue.
And i have test the latest version mscale_ddr_tool_v3.10.
refer to the source code lpddr4_timing.c of 4.19.35, which doesn't include /imx8m_ddr.h
lpddr4_timing.c\imx8mq_evk\freescale\board - uboot-imx - i.MX U-Boot
it seems that 4.19.35 doesn't use this head file again
arch-imx8m\asm\include\arm\arch - uboot-imx - i.MX U-Boot
but 4.14.78 does
arch-imx8m\asm\include\arm\arch - uboot-imx - i.MX U-Boot
if you use 4.19.35, it seems you don't need this head file or you can copy head file from 4.14.78
#include <asm/arch/imx8m_ddr.h> should change to <asm/arch-imx8m/ddr.h> . The L4.19.35 bsp change the name of the head file.