From 8c4b499ba57b78aa69735c95bbd9361d41f1a2c1 Mon Sep 17 00:00:00 2001 From: Kerry She Date: Sat, 7 May 2011 08:33:14 +0000 Subject: put the amdlib and agesa constant to .rodata segment. so amdlib.c would not complain "Do not use global variables in romstage" Signed-off-by: Kerry She Acked-by: Marc Jones git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6557 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/vendorcode/amd/agesa/Porting.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/vendorcode') diff --git a/src/vendorcode/amd/agesa/Porting.h b/src/vendorcode/amd/agesa/Porting.h index 3a39443452..4550c86c64 100644 --- a/src/vendorcode/amd/agesa/Porting.h +++ b/src/vendorcode/amd/agesa/Porting.h @@ -226,9 +226,7 @@ #define VOLATILE volatile #define TRUE 1 #define FALSE 0 - //#define CONST const - avoid const until the large job of making agesa use it consistently is complete -#undef CONST - #define CONST + #define CONST const #define ROMDATA #define CALLCONV #define _16BYTE_ALIGN __attribute__ ((aligned (16))) -- cgit v1.2.3