Author: kerry Date: Sat May 7 10:33:14 2011 New Revision: 6557 URL: https://tracker.coreboot.org/trac/coreboot/changeset/6557
Log: 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 kerry.she@amd.com Acked-by: Marc Jones marcj303@gmail.com
Modified: trunk/src/vendorcode/amd/agesa/Porting.h
Modified: trunk/src/vendorcode/amd/agesa/Porting.h ============================================================================== --- trunk/src/vendorcode/amd/agesa/Porting.h Thu May 5 18:49:11 2011 (r6556) +++ trunk/src/vendorcode/amd/agesa/Porting.h Sat May 7 10:33:14 2011 (r6557) @@ -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)))