From f545d71ca26fa2f9985ff143401b393032d1b774 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Sat, 1 Nov 2014 10:34:23 +0100 Subject: AMD boards: constify romstage variables That takes them out of .data Change-Id: Idf88ddaacb2f78ba6a0260e3511b34edc269731d Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/7313 Reviewed-by: Edward O'Callaghan Tested-by: build bot (Jenkins) Reviewed-by: Bruce Griffith --- src/mainboard/asus/f2a85-m/PlatformGnbPcie.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mainboard/asus') diff --git a/src/mainboard/asus/f2a85-m/PlatformGnbPcie.c b/src/mainboard/asus/f2a85-m/PlatformGnbPcie.c index ee5b5ff5d3..3a8be411e8 100644 --- a/src/mainboard/asus/f2a85-m/PlatformGnbPcie.c +++ b/src/mainboard/asus/f2a85-m/PlatformGnbPcie.c @@ -68,7 +68,7 @@ * 38 DP2_TX[P,N]6 */ -PCIe_PORT_DESCRIPTOR PortList [] = { +static const PCIe_PORT_DESCRIPTOR PortList [] = { /* PCIe port, Lanes 8:23, PCI Device Number 2, blue x16 slot */ { 0, /* Descriptor flags */ @@ -95,7 +95,7 @@ PCIe_PORT_DESCRIPTOR PortList [] = { * Tested and works: VGA/DVI * Untested: HDMI */ -PCIe_DDI_DESCRIPTOR DdiList [] = { +static const PCIe_DDI_DESCRIPTOR DdiList [] = { // DP0 to HDMI0/DP { 0, @@ -116,7 +116,7 @@ PCIe_DDI_DESCRIPTOR DdiList [] = { }, }; -PCIe_COMPLEX_DESCRIPTOR Trinity = { +static const PCIe_COMPLEX_DESCRIPTOR Trinity = { DESCRIPTOR_TERMINATE_LIST, 0, &PortList[0], -- cgit v1.2.3