]> git.dujemihanovic.xyz Git - u-boot.git/commit
ddr: imx8m: helper: load ddr firmware according to binman symbols
authorPeng Fan <peng.fan@nxp.com>
Tue, 26 Jul 2022 08:41:21 +0000 (16:41 +0800)
committerStefano Babic <sbabic@denx.de>
Tue, 26 Jul 2022 09:29:02 +0000 (11:29 +0200)
commit23387416daa077bf582c38fb56fa8a721d17e21a
treee46e3a78457ad2c0bcccddee5b718d068b097fb8
parent25daa2cdda4cb5b48c527695fc73403376063c77
ddr: imx8m: helper: load ddr firmware according to binman symbols

By reading binman symbols, we no need hard coded IMEM_LEN/DMEM_LEN after
we update the binman dtsi to drop 0x8000/0x4000 length for the firmware.

And that could save binary size for many KBs.

Tested-by: Tim Harvey <tharvey@gateworks.com> #imx8m[m,n,p]-venice
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
[Alper: Check BINMAN_SYMS_OK instead]
Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
drivers/ddr/imx/phy/helper.c