SB800 CIMX code can share the AGESA V5 lib code,
some platform only use sb800 cimx code, not use AGESA v5 code,
compile the sb800 cimx and AGESA v5 lib code.

Signed-off-by: Kerry She <Kerry.she@amd.com>

Index: src/vendorcode/amd/cimx/sb800/AMDSBLIB.h
===================================================================
--- src/vendorcode/amd/cimx/sb800/AMDSBLIB.h	(revision 6481)
+++ src/vendorcode/amd/cimx/sb800/AMDSBLIB.h	(working copy)
@@ -104,3 +104,14 @@
  *
  */
 void AmdSbCopyMem (IN void* pDest, IN void* pSource, IN unsigned int Length);
+
+
+/* SB800 CIMx and AGESA V5 can share lib functions */
+unsigned char ReadIo8(IN unsigned short Address);
+unsigned short ReadIo16(IN unsigned short Address);
+unsigned int ReadIo32(IN unsigned short Address);
+void WriteIo8(IN unsigned short Address, IN unsigned char Data);
+void WriteIo16(IN unsigned short Address, IN unsigned short Data);
+void WriteIo32(IN unsigned short Address, IN unsigned int Data);
+void CpuidRead(IN unsigned int CpuidFcnAddress, OUT CPUID_DATA *Value);
+unsigned char ReadNumberOfCpuCores(void);
Index: src/vendorcode/amd/cimx/sb800/SBCMN.c
===================================================================
--- src/vendorcode/amd/cimx/sb800/SBCMN.c	(revision 6481)
+++ src/vendorcode/amd/cimx/sb800/SBCMN.c	(working copy)
@@ -329,7 +329,7 @@
 {
   UINT32   abValue;
   UINT16   dwTempVar;
-  SB_CPUID_DATA  CpuId;
+  CPUID_DATA  CpuId;
   UINT8   cimNativepciesupport;
   UINT8   cimIrConfig;
   UINT8   Data;
Index: src/southbridge/amd/cimx_wrapper/sb800/Amd.h
===================================================================
--- src/southbridge/amd/cimx_wrapper/sb800/Amd.h	(revision 6481)
+++ src/southbridge/amd/cimx_wrapper/sb800/Amd.h	(working copy)
@@ -161,7 +161,7 @@
   IN OUT   unsigned int          EBX_Reg;                ///< CPUID instruction result in EBX
   IN OUT   unsigned int          ECX_Reg;                ///< CPUID instruction result in ECX
   IN OUT   unsigned int          EDX_Reg;                ///< CPUID instruction result in EDX
-} SB_CPUID_DATA;
+} CPUID_DATA;
 
 #define WARM_RESET 1
 #define COLD_RESET 2      // Cold reset
