diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2023-01-02 20:20:34 +0800 |
---|---|---|
committer | Fabio Estevam <festevam@gmail.com> | 2023-12-13 08:44:59 -0300 |
commit | b614ddb5d33556cfeefa874811484b98e05bc461 (patch) | |
tree | 1eb3b8f75280e3c66f8d2b2d3bc2d4316dc8171e /drivers/ddr/imx/imx8ulp/ddr_init.c | |
parent | be4a5f7c35685d228b3abc398a8d86c434274de5 (diff) |
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>
Diffstat (limited to 'drivers/ddr/imx/imx8ulp/ddr_init.c')
0 files changed, 0 insertions, 0 deletions