
On 2022/4/28 21:10, Rasmus Villemoes wrote:
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.
ddr tool owner is not in this list, I could forward to him, but better submit your issue through community.nxp.com
Regards, Peng.
Rasmus