mirror of
https://github.com/enjoy-digital/litedram.git
synced 2025-01-04 09:52:25 -05:00
sdram_init: set __attribute__((unused)) on command_px to avoid compilation warning
This commit is contained in:
parent
c4161cfbfe
commit
e81b5a11b8
1 changed files with 1 additions and 1 deletions
|
@ -354,7 +354,7 @@ def get_sdram_phy_c_header(phy_settings, timing_settings):
|
||||||
# commands_px functions
|
# commands_px functions
|
||||||
for n in range(nphases):
|
for n in range(nphases):
|
||||||
r += """
|
r += """
|
||||||
static void command_p{n}(int cmd)
|
__attribute__((unused)) static void command_p{n}(int cmd)
|
||||||
{{
|
{{
|
||||||
sdram_dfii_pi{n}_command_write(cmd);
|
sdram_dfii_pi{n}_command_write(cmd);
|
||||||
sdram_dfii_pi{n}_command_issue_write(1);
|
sdram_dfii_pi{n}_command_issue_write(1);
|
||||||
|
|
Loading…
Reference in a new issue