diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-12-22 09:49:56 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2020-01-09 15:35:54 +0000 |
commit | e1e328905215475a81ee289af228f0f1023b3544 (patch) | |
tree | c9e9994e378743aafd2b40b5c88501ae0a0ee96d /src/mainboard/amd | |
parent | 034cf6390f2d8bcacd86adcb49d4d32043cf8ab2 (diff) | |
download | coreboot-e1e328905215475a81ee289af228f0f1023b3544.tar.xz |
AGESA,binaryPI boards: Declare some IRQ tables static
Change-Id: Ib45c6372df6068ab041a055dad8bacf597717ba2
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38261
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Diffstat (limited to 'src/mainboard/amd')
-rw-r--r-- | src/mainboard/amd/bettong/mainboard.c | 4 | ||||
-rw-r--r-- | src/mainboard/amd/gardenia/mainboard.c | 4 | ||||
-rw-r--r-- | src/mainboard/amd/lamar/mainboard.c | 4 | ||||
-rw-r--r-- | src/mainboard/amd/padmelon/mainboard.c | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/src/mainboard/amd/bettong/mainboard.c b/src/mainboard/amd/bettong/mainboard.c index 5b93751e79..8e2ecfd8e1 100644 --- a/src/mainboard/amd/bettong/mainboard.c +++ b/src/mainboard/amd/bettong/mainboard.c @@ -28,7 +28,7 @@ * These values are used by the PCI configuration space, * MP Tables. TODO: Make ACPI use these values too. */ -const u8 mainboard_picr_data[] = { +static const u8 mainboard_picr_data[] = { [0x00] = 0x03,0x04,0x05,0x07,0x0B,0x0A,0x1F,0x1F, [0x08] = 0xFA,0xF1,0x00,0x00,0x1F,0x1F,0x1F,0x1F, [0x10] = 0x1F,0x1F,0x1F,0x03,0x1F,0x1F,0x1F,0x1F, @@ -47,7 +47,7 @@ const u8 mainboard_picr_data[] = { [0x78] = 0x1F,0x1F,0x1F,0x1F,0x1F,0x1F,0x1F,0x1F, }; -const u8 mainboard_intr_data[] = { +static const u8 mainboard_intr_data[] = { [0x00] = 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17, [0x08] = 0x00,0x00,0x00,0x00,0x1F,0x1F,0x1F,0x1F, [0x10] = 0x09,0x1F,0x1F,0x10,0x1F,0x1F,0x1F,0x10, diff --git a/src/mainboard/amd/gardenia/mainboard.c b/src/mainboard/amd/gardenia/mainboard.c index 3a4090cf92..26c80c037d 100644 --- a/src/mainboard/amd/gardenia/mainboard.c +++ b/src/mainboard/amd/gardenia/mainboard.c @@ -32,7 +32,7 @@ * These values are used by the PCI configuration space, * MP Tables. TODO: Make ACPI use these values too. */ -const u8 mainboard_picr_data[] = { +static const u8 mainboard_picr_data[] = { [0x00] = 0x03, 0x04, 0x05, 0x07, 0x0B, 0x0A, 0x1F, 0x1F, [0x08] = 0xFA, 0xF1, 0x00, 0x00, 0x1F, 0x1F, 0x1F, 0x1F, [0x10] = 0x1F, 0x1F, 0x1F, 0x03, 0x1F, 0x1F, 0x1F, 0x1F, @@ -51,7 +51,7 @@ const u8 mainboard_picr_data[] = { [0x78] = 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, }; -const u8 mainboard_intr_data[] = { +static const u8 mainboard_intr_data[] = { [0x00] = 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, [0x08] = 0x00, 0x00, 0x00, 0x00, 0x1F, 0x1F, 0x1F, 0x1F, [0x10] = 0x09, 0x1F, 0x1F, 0x10, 0x1F, 0x1F, 0x1F, 0x10, diff --git a/src/mainboard/amd/lamar/mainboard.c b/src/mainboard/amd/lamar/mainboard.c index 2f716d0c5d..264c603357 100644 --- a/src/mainboard/amd/lamar/mainboard.c +++ b/src/mainboard/amd/lamar/mainboard.c @@ -35,7 +35,7 @@ * These values are used by the PCI configuration space, * MP Tables. TODO: Make ACPI use these values too. */ -const u8 mainboard_picr_data[] = { +static const u8 mainboard_picr_data[] = { /* INTA# - INTH# */ [0x00] = 0x0A,0x0B,0x0A,0x0B,0x0A,0x0B,0x0A,0x0B, /* Misc-nil,0,1,2, INT from Serial irq */ @@ -63,7 +63,7 @@ const u8 mainboard_picr_data[] = { [0x80] = 0x0C,0x1F, }; -const u8 mainboard_intr_data[] = { +static const u8 mainboard_intr_data[] = { /* INTA# - INTH# */ [0x00] = 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17, /* Misc-nil,0,1,2, INT from Serial irq */ diff --git a/src/mainboard/amd/padmelon/mainboard.c b/src/mainboard/amd/padmelon/mainboard.c index e106b4a170..c8eef29bf4 100644 --- a/src/mainboard/amd/padmelon/mainboard.c +++ b/src/mainboard/amd/padmelon/mainboard.c @@ -34,7 +34,7 @@ * These values are used by the PCI configuration space, * MP Tables. */ -const u8 mainboard_picr_data[] = { +static const u8 mainboard_picr_data[] = { [0x00] = 0x03, 0x04, 0x05, 0x07, 0x0B, 0x0A, 0x1F, 0x1F, [0x08] = 0xFA, 0xF1, 0x00, 0x00, 0x1F, 0x1F, 0x1F, 0x1F, [0x10] = 0x1F, 0x1F, 0x1F, 0x03, 0x1F, 0x1F, 0x1F, 0x1F, @@ -53,7 +53,7 @@ const u8 mainboard_picr_data[] = { [0x78] = 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, }; -const u8 mainboard_intr_data[] = { +static const u8 mainboard_intr_data[] = { [0x00] = 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, [0x08] = 0x00, 0x00, 0x00, 0x00, 0x1F, 0x1F, 0x1F, 0x1F, [0x10] = 0x09, 0x1F, 0x1F, 0x10, 0x1F, 0x1F, 0x1F, 0x10, |