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 <[email protected]>
Acked-by: Marc Jones <[email protected]>

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)))

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to