summaryrefslogtreecommitdiff
path: root/src/cpu/amd
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/amd')
-rw-r--r--src/cpu/amd/agesa/family12/model_12_init.c2
-rw-r--r--src/cpu/amd/agesa/family14/model_14_init.c2
-rw-r--r--src/cpu/amd/agesa/family15/model_15_init.c2
-rw-r--r--src/cpu/amd/agesa/family15tn/model_15_init.c2
-rw-r--r--src/cpu/amd/agesa/family16kb/model_16_init.c2
-rw-r--r--src/cpu/amd/family_10h-family_15h/model_10xxx_init.c2
-rw-r--r--src/cpu/amd/geode_gx2/geode_gx2_init.c2
-rw-r--r--src/cpu/amd/geode_lx/geode_lx_init.c2
-rw-r--r--src/cpu/amd/model_fxx/model_fxx_init.c2
-rw-r--r--src/cpu/amd/pi/00630F01/model_15_init.c2
-rw-r--r--src/cpu/amd/pi/00660F01/model_15_init.c2
-rw-r--r--src/cpu/amd/pi/00730F01/model_16_init.c2
12 files changed, 12 insertions, 12 deletions
diff --git a/src/cpu/amd/agesa/family12/model_12_init.c b/src/cpu/amd/agesa/family12/model_12_init.c
index e533017ad9..1d414a242e 100644
--- a/src/cpu/amd/agesa/family12/model_12_init.c
+++ b/src/cpu/amd/agesa/family12/model_12_init.c
@@ -98,7 +98,7 @@ static struct device_operations cpu_dev_ops = {
.init = model_12_init,
};
-static struct cpu_device_id cpu_table[] = {
+static const struct cpu_device_id cpu_table[] = {
{ X86_VENDOR_AMD, 0x300f00 }, /* LN1_A0x */
{ X86_VENDOR_AMD, 0x300f01 }, /* LN1_A1x */
{ X86_VENDOR_AMD, 0x300f10 }, /* LN1_B0x */
diff --git a/src/cpu/amd/agesa/family14/model_14_init.c b/src/cpu/amd/agesa/family14/model_14_init.c
index 2cfb9090c8..a03516daaf 100644
--- a/src/cpu/amd/agesa/family14/model_14_init.c
+++ b/src/cpu/amd/agesa/family14/model_14_init.c
@@ -116,7 +116,7 @@ static struct device_operations cpu_dev_ops = {
.init = model_14_init,
};
-static struct cpu_device_id cpu_table[] = {
+static const struct cpu_device_id cpu_table[] = {
{ X86_VENDOR_AMD, 0x500f00 }, /* ON-A0 */
{ X86_VENDOR_AMD, 0x500f01 }, /* ON-A1 */
{ X86_VENDOR_AMD, 0x500f10 }, /* ON-B0 */
diff --git a/src/cpu/amd/agesa/family15/model_15_init.c b/src/cpu/amd/agesa/family15/model_15_init.c
index 7df915382a..531bf29ae9 100644
--- a/src/cpu/amd/agesa/family15/model_15_init.c
+++ b/src/cpu/amd/agesa/family15/model_15_init.c
@@ -101,7 +101,7 @@ static struct device_operations cpu_dev_ops = {
.init = model_15_init,
};
-static struct cpu_device_id cpu_table[] = {
+static const struct cpu_device_id cpu_table[] = {
{ X86_VENDOR_AMD, 0x100F80}, /* HY-D0 */
{ X86_VENDOR_AMD, 0x100F90}, /* HY-D0 */
{ X86_VENDOR_AMD, 0x100F81}, /* HY-D1 */
diff --git a/src/cpu/amd/agesa/family15tn/model_15_init.c b/src/cpu/amd/agesa/family15tn/model_15_init.c
index f569de7f80..e0bff4f4e3 100644
--- a/src/cpu/amd/agesa/family15tn/model_15_init.c
+++ b/src/cpu/amd/agesa/family15tn/model_15_init.c
@@ -128,7 +128,7 @@ static struct device_operations cpu_dev_ops = {
.init = model_15_init,
};
-static struct cpu_device_id cpu_table[] = {
+static const struct cpu_device_id cpu_table[] = {
{ X86_VENDOR_AMD, 0x610f00 }, /* TN-A0 */
{ X86_VENDOR_AMD, 0x610f31 }, /* RL-A1 (Richland) */
{ 0, 0 },
diff --git a/src/cpu/amd/agesa/family16kb/model_16_init.c b/src/cpu/amd/agesa/family16kb/model_16_init.c
index acfa3f2436..d49216a734 100644
--- a/src/cpu/amd/agesa/family16kb/model_16_init.c
+++ b/src/cpu/amd/agesa/family16kb/model_16_init.c
@@ -112,7 +112,7 @@ static struct device_operations cpu_dev_ops = {
.init = model_16_init,
};
-static struct cpu_device_id cpu_table[] = {
+static const struct cpu_device_id cpu_table[] = {
{ X86_VENDOR_AMD, 0x700f00 }, /* KB-A0 */
{ 0, 0 },
};
diff --git a/src/cpu/amd/family_10h-family_15h/model_10xxx_init.c b/src/cpu/amd/family_10h-family_15h/model_10xxx_init.c
index 1e2a467d44..f73ce038a6 100644
--- a/src/cpu/amd/family_10h-family_15h/model_10xxx_init.c
+++ b/src/cpu/amd/family_10h-family_15h/model_10xxx_init.c
@@ -240,7 +240,7 @@ static struct device_operations cpu_dev_ops = {
.init = model_10xxx_init,
};
-static struct cpu_device_id cpu_table[] = {
+static const struct cpu_device_id cpu_table[] = {
//AMD_GH_SUPPORT
{ X86_VENDOR_AMD, 0x100f00 }, /* SH-F0 L1 */
{ X86_VENDOR_AMD, 0x100f10 }, /* M2 */
diff --git a/src/cpu/amd/geode_gx2/geode_gx2_init.c b/src/cpu/amd/geode_gx2/geode_gx2_init.c
index 2aa9c8d8d4..6be39257c4 100644
--- a/src/cpu/amd/geode_gx2/geode_gx2_init.c
+++ b/src/cpu/amd/geode_gx2/geode_gx2_init.c
@@ -47,7 +47,7 @@ static struct device_operations cpu_dev_ops = {
.init = geode_gx2_init,
};
-static struct cpu_device_id cpu_table[] = {
+static const struct cpu_device_id cpu_table[] = {
{ X86_VENDOR_NSC, 0x0552 },
{ 0, 0 },
};
diff --git a/src/cpu/amd/geode_lx/geode_lx_init.c b/src/cpu/amd/geode_lx/geode_lx_init.c
index 8ff5848c74..8c0cef3310 100644
--- a/src/cpu/amd/geode_lx/geode_lx_init.c
+++ b/src/cpu/amd/geode_lx/geode_lx_init.c
@@ -58,7 +58,7 @@ static struct device_operations cpu_dev_ops = {
.init = geode_lx_init,
};
-static struct cpu_device_id cpu_table[] = {
+static const struct cpu_device_id cpu_table[] = {
{X86_VENDOR_AMD, 0x05A2},
{0, 0},
};
diff --git a/src/cpu/amd/model_fxx/model_fxx_init.c b/src/cpu/amd/model_fxx/model_fxx_init.c
index c21bce69e3..f5a6773219 100644
--- a/src/cpu/amd/model_fxx/model_fxx_init.c
+++ b/src/cpu/amd/model_fxx/model_fxx_init.c
@@ -558,7 +558,7 @@ static struct device_operations cpu_dev_ops = {
.init = model_fxx_init,
};
-static struct cpu_device_id cpu_table[] = {
+static const struct cpu_device_id cpu_table[] = {
#if !IS_ENABLED(CONFIG_K8_REV_F_SUPPORT)
{ X86_VENDOR_AMD, 0xf40 }, /* SH-B0 (socket 754) */
{ X86_VENDOR_AMD, 0xf50 }, /* SH-B0 (socket 940) */
diff --git a/src/cpu/amd/pi/00630F01/model_15_init.c b/src/cpu/amd/pi/00630F01/model_15_init.c
index 317aca8ea5..5299dcad30 100644
--- a/src/cpu/amd/pi/00630F01/model_15_init.c
+++ b/src/cpu/amd/pi/00630F01/model_15_init.c
@@ -124,7 +124,7 @@ static struct device_operations cpu_dev_ops = {
.init = model_15_init,
};
-static struct cpu_device_id cpu_table[] = {
+static const struct cpu_device_id cpu_table[] = {
{ X86_VENDOR_AMD, 0x630f00 }, /* KV-A0 */
{ X86_VENDOR_AMD, 0x630f01 }, /* KV-A1 */
{ 0, 0 },
diff --git a/src/cpu/amd/pi/00660F01/model_15_init.c b/src/cpu/amd/pi/00660F01/model_15_init.c
index bf4bc241eb..abe20c33f1 100644
--- a/src/cpu/amd/pi/00660F01/model_15_init.c
+++ b/src/cpu/amd/pi/00660F01/model_15_init.c
@@ -124,7 +124,7 @@ static struct device_operations cpu_dev_ops = {
.init = model_15_init,
};
-static struct cpu_device_id cpu_table[] = {
+static const struct cpu_device_id cpu_table[] = {
{ X86_VENDOR_AMD, 0x660f00 },
{ X86_VENDOR_AMD, 0x660f01 },
{ 0, 0 },
diff --git a/src/cpu/amd/pi/00730F01/model_16_init.c b/src/cpu/amd/pi/00730F01/model_16_init.c
index 0dd720266f..e0eca94c97 100644
--- a/src/cpu/amd/pi/00730F01/model_16_init.c
+++ b/src/cpu/amd/pi/00730F01/model_16_init.c
@@ -108,7 +108,7 @@ static struct device_operations cpu_dev_ops = {
.init = model_16_init,
};
-static struct cpu_device_id cpu_table[] = {
+static const struct cpu_device_id cpu_table[] = {
{ X86_VENDOR_AMD, 0x730F00 },
{ X86_VENDOR_AMD, 0x730F01 },
{ 0, 0 },