please modify output of i.MX8MSCALE DDR Tool
Rasmus Villemoes
rasmus.villemoes at prevas.dk
Thu Apr 28 15:10:59 CEST 2022
Hi NXP folks
Is it possible for you to modify the i.MX8MSCALE DDR Tool so that the
lpddr4_timing.c files it emits use "static" in front of ddr_ddrc_cfg[]
and all the other arrays it defines; the only symbol that file defines
which should have external linkage is the final "struct dram_timing_info
dram_timing" one.
When preparing the timing data for a board which will ship with
different amounts of RAM, and thus needing to have some board-logic to
choose between multiple instances of struct dram_timing_info, it is
quite a nuisance to have to modify these files manually over and over -
there's not much to do about the dram_timing symbol, but all the other
ones might as well be static always.
Rasmus
More information about the U-Boot
mailing list