summaryrefslogtreecommitdiff
path: root/src/northbridge/intel
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2022-11-04 20:56:32 +0100
committerArthur Heymans <arthur@aheymans.xyz>2022-11-12 14:45:32 +0000
commitb291dc87764f3749655ebc07a5e2c1a20592501f (patch)
treee2d5e970cbc3c9ce0e8f88d9dd8da2fdb4c3cb34 /src/northbridge/intel
parente55aa0bc8f615d796794c89f5d86d309fe7fa18c (diff)
nb/intel/ironlake: Work around unused variable warning
It's not clear whether this variable should actually be used or not so leave it be with a FIXME comment. Change-Id: I4892600bfec55830acae56d2b293947c2d9ddd07 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69237 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/northbridge/intel')
-rw-r--r--src/northbridge/intel/ironlake/raminit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/northbridge/intel/ironlake/raminit.c b/src/northbridge/intel/ironlake/raminit.c
index 634ba90bb6..e3b0b3363a 100644
--- a/src/northbridge/intel/ironlake/raminit.c
+++ b/src/northbridge/intel/ironlake/raminit.c
@@ -782,6 +782,8 @@ static void compute_derived_timings(struct raminfo *info)
some_delay_2_halfcycles_ceil - 1;
if (!info->revision_flag_1)
some_delay_2_halfcycles_floor++;
+ /* FIXME: this variable is unused. Should it be used? */
+ (void)some_delay_2_halfcycles_floor;
info->some_delay_2_halfcycles_ceil = some_delay_2_halfcycles_ceil;
info->some_delay_3_ps_rounded = some_delay_3_ps_rounded;
if ((info->populated_ranks[0][0][0] && info->populated_ranks[0][1][0])