summaryrefslogtreecommitdiff
path: root/src/northbridge
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-01-13 18:08:58 +0100
committerPatrick Georgi <pgeorgi@google.com>2021-02-07 21:57:38 +0000
commitb35adab86280e9328f598e5dbd71e8134ea10813 (patch)
tree87262dee3f7574bbd2f9d3f72600bb5a19b5b10d /src/northbridge
parent7d3bd6b5056f4e61f979a535be8773b24704c72f (diff)
downloadcoreboot-b35adab86280e9328f598e5dbd71e8134ea10813.tar.xz
nb/intel/x4x: Constify DDR2 ODT table
Change-Id: Id5b5dc584ab93620ae58cf43fe0d47015d512f82 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49401 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/northbridge')
-rw-r--r--src/northbridge/intel/x4x/raminit_ddr23.c2
1 files changed, 1 insertions, 1 deletions
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 */