summaryrefslogtreecommitdiff
path: root/src/northbridge
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-10-13 23:34:27 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-10-23 18:09:41 +0000
commit0117e4eae3ea8d72c24a013ecd5cf3ff510a258c (patch)
tree229f556f520f24908391730ce12a1f2b5142ce48 /src/northbridge
parent6791ad221be29d079eeb484edd01089e19f16026 (diff)
downloadcoreboot-0117e4eae3ea8d72c24a013ecd5cf3ff510a258c.tar.xz
nb/intel/haswell: Constify pointers to strings
Jenkins complains about it. Change-Id: I20abdd01ca2b93e8a4de31664ff48651e7268d25 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46368 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/northbridge')
-rw-r--r--src/northbridge/intel/haswell/raminit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/northbridge/intel/haswell/raminit.c b/src/northbridge/intel/haswell/raminit.c
index 7fd6b3f83e..fbe4cd5d2c 100644
--- a/src/northbridge/intel/haswell/raminit.c
+++ b/src/northbridge/intel/haswell/raminit.c
@@ -51,7 +51,7 @@ static void prepare_mrc_cache(struct pei_data *pei_data)
pei_data->mrc_input, mrc_size);
}
-static const char *ecc_decoder[] = {
+static const char *const ecc_decoder[] = {
"inactive",
"active on IO",
"disabled on IO",