
28 Apr
2022
28 Apr
'22
3:10 p.m.
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