[PATCH] imx8mp_evk: Make SPL binary size smaller

Fabio Estevam festevam at gmail.com
Fri May 8 06:53:40 CEST 2020


Hi Marek,

On Thu, May 7, 2020 at 11:56 PM Fabio Estevam <festevam at gmail.com> wrote:

> I will activate them on SPL tomorrow.

After activating the SPL clocks I see:

 clk          69  [   ]   imx_clk_gate2         |   |
`-- dram1_root_clk

The dram1_root_clk is not getting turned on.

This clock is marked as CLK_IS_CRITICAL, but it seems that U-Boot core
clock driver does not handle it yet.

I have also tried to enable it manually by doing:

clk_get_by_id(IMX8MP_CLK_DRAM_CORE, &clk);
clk_enable(clk);
clk_get_by_id(IMX8MP_CLK_DRAM1_ROOT, &clk);
clk_enable(clk);

but it did not work.

The complete clock dump is here:
https://pastebin.com/raw/40U6hQny

Thanks


More information about the U-Boot mailing list