u-boot/drivers/ddr/imx/phy
Shawn Guo b614ddb5d3 ddr: imx: Save the FW loading if it hasn't changed
Function ddr_load_train_firmware() is called 4 times in a loop by
ddr_cfg_phy(). The first 3 calls are all '1D' type and just loading the
same FWs.  Let's add a type check and save 2 of them.  This helps to
reduce DDRPHY training time from 269 ms down to 212 ms, and thus speed
up boot time ~ 50 ms.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Reviewed-by: Fabio Estevam <festevam@denx.de>
2023-12-13 08:44:59 -03:00
..
ddrphy_csr.c ddr: imx: Add i.MX9 DDR controller driver 2022-07-26 11:29:01 +02:00
ddrphy_train.c ddr: imx: Add i.MX9 DDR controller driver 2022-07-26 11:29:01 +02:00
ddrphy_utils.c ddr: imx93: Add 625M bypass clock support 2023-05-21 16:54:41 +02:00
helper.c ddr: imx: Save the FW loading if it hasn't changed 2023-12-13 08:44:59 -03:00
Kconfig ddr: imx: Add i.MX9 DDR controller driver 2022-07-26 11:29:01 +02:00
Makefile ddr: imx: Add i.MX9 DDR controller driver 2022-07-26 11:29:01 +02:00