diff options
author | Patrick Georgi <pgeorgi@google.com> | 2014-11-01 10:34:23 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2014-11-03 07:32:15 +0100 |
commit | f545d71ca26fa2f9985ff143401b393032d1b774 (patch) | |
tree | 898c542d1616e2e03f66e55a544d59d5c9777070 /src/mainboard/amd/torpedo/PlatformGnbPcie.c | |
parent | ee6f9813e1d8df5b24bb7ef8182efe54e1740597 (diff) | |
download | coreboot-f545d71ca26fa2f9985ff143401b393032d1b774.tar.xz |
AMD boards: constify romstage variables
That takes them out of .data
Change-Id: Idf88ddaacb2f78ba6a0260e3511b34edc269731d
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/7313
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Tested-by: build bot (Jenkins)
Reviewed-by: Bruce Griffith <Bruce.Griffith@se-eng.com>
Diffstat (limited to 'src/mainboard/amd/torpedo/PlatformGnbPcie.c')
-rw-r--r-- | src/mainboard/amd/torpedo/PlatformGnbPcie.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/amd/torpedo/PlatformGnbPcie.c b/src/mainboard/amd/torpedo/PlatformGnbPcie.c index b0b5dd64ba..a17a7ed53a 100644 --- a/src/mainboard/amd/torpedo/PlatformGnbPcie.c +++ b/src/mainboard/amd/torpedo/PlatformGnbPcie.c @@ -24,7 +24,7 @@ #define FILECODE PROC_GNB_PCIE_FAMILY_0X12_F12PCIECOMPLEXCONFIG_FILECODE -PCIe_PORT_DESCRIPTOR PortList [] = { +static const PCIe_PORT_DESCRIPTOR PortList [] = { // Initialize Port descriptor (PCIe port, Lanes 8:15, PCI Device Number 2, ...) { 0, //Descriptor flags @@ -69,7 +69,7 @@ PCIe_PORT_DESCRIPTOR PortList [] = { // } }; -PCIe_DDI_DESCRIPTOR DdiList [] = { +static const PCIe_DDI_DESCRIPTOR DdiList [] = { // Initialize Ddi descriptor (DDI interface Lanes 24:27, DdA, ...) { 0, //Descriptor flags @@ -84,7 +84,7 @@ PCIe_DDI_DESCRIPTOR DdiList [] = { } }; -PCIe_COMPLEX_DESCRIPTOR Llano = { +static const PCIe_COMPLEX_DESCRIPTOR Llano = { DESCRIPTOR_TERMINATE_LIST, 0, &PortList[0], |