AGESA cimx: Move cb_types.h to vendorcode

This file mostly mimics Porting.h and should be removed.
For now, move it and use it consistently with incorrect form
as #include "cbtypes.h".

Change-Id: Ifaee2694f9f33a4da6e780b03d41bdfab9e2813e
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/21663
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Kyösti Mälkki 2017-09-24 11:36:30 +03:00
parent d42b799a9e
commit d229d4a28e
12 changed files with 7 additions and 15 deletions

View File

@ -17,7 +17,7 @@
#define _GPIO_H_
#include <stdint.h>
#include <cbtypes.h>
#include "cbtypes.h"
#define Mmio_Address( BaseAddr, Register ) \
( (UINTN)BaseAddr + \

View File

@ -17,7 +17,7 @@
#define _GPIO_H_
#include <stdint.h>
#include <cpu/amd/common/cbtypes.h>
#include "cbtypes.h"
#define Mmio_Address( BaseAddr, Register ) \
( (UINTN)BaseAddr + \

View File

@ -81,7 +81,7 @@
#define CIMX_S3_SAVE 1
#include <cpu/amd/common/cbtypes.h>
#include "cbtypes.h"
#include <console/console.h>
#include "amd.h" //cimx typedef

View File

@ -16,7 +16,7 @@
#ifndef _AMD_H_
#define _AMD_H_
#include <cpu/amd/common/cbtypes.h>
#include "cbtypes.h"
#define VOLATILE volatile
#define CALLCONV

View File

@ -18,7 +18,7 @@
#pragma pack(push,1)
#include <cpu/amd/common/cbtypes.h>
#include "cbtypes.h"
#include <console/console.h>
#include <commonlib/loglevel.h>
#ifdef NULL

View File

@ -28,11 +28,9 @@
#*****************************************************************************
CPPFLAGS_x86_32 += -I$(src)/northbridge/amd/cimx/rd890
CPPFLAGS_x86_32 += -I$(src)/include/cpu/amd/common
CPPFLAGS_x86_32 += -I$(src)/vendorcode/amd/cimx/rd890
CPPFLAGS_x86_64 += -I$(src)/northbridge/amd/cimx/rd890
CPPFLAGS_x86_64 += -I$(src)/include/cpu/amd/common
CPPFLAGS_x86_64 += -I$(src)/vendorcode/amd/cimx/rd890
romstage-y += amdAcpiIvrs.c

View File

@ -28,11 +28,9 @@
#*****************************************************************************
CPPFLAGS_x86_32 += -I$(src)/southbridge/amd/cimx/sb700
CPPFLAGS_x86_32 += -I$(src)/include/cpu/amd/common
CPPFLAGS_x86_32 += -I$(src)/vendorcode/amd/cimx/sb700
CPPFLAGS_x86_64 += -I$(src)/southbridge/amd/cimx/sb700
CPPFLAGS_x86_64 += -I$(src)/include/cpu/amd/common
CPPFLAGS_x86_64 += -I$(src)/vendorcode/amd/cimx/sb700
romstage-y += ACPILIB.c

View File

@ -46,7 +46,7 @@
#ifndef __VENDORCODE_AMD_CIMX_SB800_AMDSBLIB_H__
#define __VENDORCODE_AMD_CIMX_SB800_AMDSBLIB_H__
#include <cpu/amd/common/cbtypes.h>
#include "cbtypes.h"
//AMDSBLIB Routines

View File

@ -14,11 +14,9 @@
#
CPPFLAGS_x86_32 += -I$(src)/southbridge/amd/cimx/sb800
CPPFLAGS_x86_32 += -I$(src)/include/cpu/amd/common
CPPFLAGS_x86_32 += -I$(src)/vendorcode/amd/cimx/sb800
CPPFLAGS_x86_64 += -I$(src)/southbridge/amd/cimx/sb800
CPPFLAGS_x86_64 += -I$(src)/include/cpu/amd/common
CPPFLAGS_x86_64 += -I$(src)/vendorcode/amd/cimx/sb800
romstage-y += ACPILIB.c

View File

@ -14,11 +14,9 @@
#
CPPFLAGS_x86_32 += -I$(src)/southbridge/amd/cimx/sb900
CPPFLAGS_x86_32 += -I$(src)/include/cpu/amd/common
CPPFLAGS_x86_32 += -I$(src)/vendorcode/amd/cimx/sb900
CPPFLAGS_x86_64 += -I$(src)/southbridge/amd/cimx/sb900
CPPFLAGS_x86_64 += -I$(src)/include/cpu/amd/common
CPPFLAGS_x86_64 += -I$(src)/vendorcode/amd/cimx/sb900
romstage-y += AcpiLib.c

View File

@ -40,7 +40,7 @@
;
;*********************************************************************************/
#include <cpu/amd/common/cbtypes.h>
#include "cbtypes.h"
// Southbridge SBMAIN Routines
/**