From b35adab86280e9328f598e5dbd71e8134ea10813 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Wed, 13 Jan 2021 18:08:58 +0100 Subject: nb/intel/x4x: Constify DDR2 ODT table Change-Id: Id5b5dc584ab93620ae58cf43fe0d47015d512f82 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/49401 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans --- src/northbridge/intel/x4x/raminit_ddr23.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/northbridge/intel/x4x/raminit_ddr23.c b/src/northbridge/intel/x4x/raminit_ddr23.c index 61e9e9d9a7..16e257fc28 100644 --- a/src/northbridge/intel/x4x/raminit_ddr23.c +++ b/src/northbridge/intel/x4x/raminit_ddr23.c @@ -1146,7 +1146,7 @@ static void prog_rcomp(struct sysinfo *s) static void program_odt(struct sysinfo *s) { u8 i; - static u16 ddr2_odt[16][2] = { + static const u16 ddr2_odt[16][2] = { { 0x0000, 0x0000 }, /* NC_NC */ { 0x0000, 0x0001 }, /* x8SS_NC */ { 0x0000, 0x0011 }, /* x8DS_NC */ -- cgit v1.2.3