Skip to contentSkip to conversation

please modify output of i.MX8MSCALE DDR Tool

DISCUSSION Rasmus Villemoes 2 participants 2 messages Apr 28, 2022 – Apr 29, 2022

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 8 lines · Rasmus Villemoes

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.

Quoted 6 lines

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.

Quoted 3 lines

Rasmus