summaryrefslogtreecommitdiff
path: root/src/vendorcode/amd/cimx/sb800/SATA.c
diff options
context:
space:
mode:
authorKerry She <kerry.she@amd.com>2011-01-04 06:39:29 +0000
committerKerry She <Kerry.She@amd.com>2011-01-04 06:39:29 +0000
commitecab12a09e9d38e8e6f6ce5079fbf740d2cde1a5 (patch)
tree71e371a514c071d9f276c610336d92b689840aeb /src/vendorcode/amd/cimx/sb800/SATA.c
parent7917f430b2e2cffc806ccdac6df35d265853a687 (diff)
downloadcoreboot-ecab12a09e9d38e8e6f6ce5079fbf740d2cde1a5.tar.xz
Trivial:
add missed CIMx file to romstage. in order to link them into romstage, move all CIMx table to .rodata section. Run dos2unix on Makefile.inc, which is not upstream CIMx code Signed-off-by: Kerry She <kerry.she@amd.com> Acked-by: Kerry She <kerry.she@amd.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6239 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/vendorcode/amd/cimx/sb800/SATA.c')
-rw-r--r--src/vendorcode/amd/cimx/sb800/SATA.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vendorcode/amd/cimx/sb800/SATA.c b/src/vendorcode/amd/cimx/sb800/SATA.c
index 82891d4793..bdb76274c3 100644
--- a/src/vendorcode/amd/cimx/sb800/SATA.c
+++ b/src/vendorcode/amd/cimx/sb800/SATA.c
@@ -166,7 +166,7 @@ shutdownUnconnectedSataPortClock (
*
*
*/
-UINT32 sataIfCodeTable[] =
+const static UINT32 sataIfCodeTable[] =
{
0x01018F40, //sata class ID of IDE
0x01040040, //sata class ID of RAID
@@ -182,7 +182,7 @@ UINT32 sataIfCodeTable[] =
*
*
*/
-UINT16 sataDeviceIDTable[] =
+const static UINT16 sataDeviceIDTable[] =
{
0x4390, //sata device ID of IDE
0x4392, //sata device ID of RAID
@@ -198,7 +198,7 @@ UINT16 sataDeviceIDTable[] =
*
*
*/
-SATAPHYSETTING sataPhyTable[] =
+const static SATAPHYSETTING sataPhyTable[] =
{
{0x3006, 0x0056A607},
{0x2006, 0x00061400},