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>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6557 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Kerry She 2011-05-07 08:33:14 +00:00 committed by Kerry She
parent ccad951e7d
commit 8c4b499ba5
1 changed files with 1 additions and 3 deletions

View File

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