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:
parent
d42b799a9e
commit
d229d4a28e
|
@ -17,7 +17,7 @@
|
||||||
#define _GPIO_H_
|
#define _GPIO_H_
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <cbtypes.h>
|
#include "cbtypes.h"
|
||||||
|
|
||||||
#define Mmio_Address( BaseAddr, Register ) \
|
#define Mmio_Address( BaseAddr, Register ) \
|
||||||
( (UINTN)BaseAddr + \
|
( (UINTN)BaseAddr + \
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
#define _GPIO_H_
|
#define _GPIO_H_
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <cpu/amd/common/cbtypes.h>
|
#include "cbtypes.h"
|
||||||
|
|
||||||
#define Mmio_Address( BaseAddr, Register ) \
|
#define Mmio_Address( BaseAddr, Register ) \
|
||||||
( (UINTN)BaseAddr + \
|
( (UINTN)BaseAddr + \
|
||||||
|
|
|
@ -81,7 +81,7 @@
|
||||||
|
|
||||||
|
|
||||||
#define CIMX_S3_SAVE 1
|
#define CIMX_S3_SAVE 1
|
||||||
#include <cpu/amd/common/cbtypes.h>
|
#include "cbtypes.h"
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
|
|
||||||
#include "amd.h" //cimx typedef
|
#include "amd.h" //cimx typedef
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
#ifndef _AMD_H_
|
#ifndef _AMD_H_
|
||||||
#define _AMD_H_
|
#define _AMD_H_
|
||||||
|
|
||||||
#include <cpu/amd/common/cbtypes.h>
|
#include "cbtypes.h"
|
||||||
|
|
||||||
#define VOLATILE volatile
|
#define VOLATILE volatile
|
||||||
#define CALLCONV
|
#define CALLCONV
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
#pragma pack(push,1)
|
#pragma pack(push,1)
|
||||||
|
|
||||||
#include <cpu/amd/common/cbtypes.h>
|
#include "cbtypes.h"
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
#include <commonlib/loglevel.h>
|
#include <commonlib/loglevel.h>
|
||||||
#ifdef NULL
|
#ifdef NULL
|
||||||
|
|
|
@ -28,11 +28,9 @@
|
||||||
#*****************************************************************************
|
#*****************************************************************************
|
||||||
|
|
||||||
CPPFLAGS_x86_32 += -I$(src)/northbridge/amd/cimx/rd890
|
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_32 += -I$(src)/vendorcode/amd/cimx/rd890
|
||||||
|
|
||||||
CPPFLAGS_x86_64 += -I$(src)/northbridge/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
|
CPPFLAGS_x86_64 += -I$(src)/vendorcode/amd/cimx/rd890
|
||||||
|
|
||||||
romstage-y += amdAcpiIvrs.c
|
romstage-y += amdAcpiIvrs.c
|
||||||
|
|
|
@ -28,11 +28,9 @@
|
||||||
#*****************************************************************************
|
#*****************************************************************************
|
||||||
|
|
||||||
CPPFLAGS_x86_32 += -I$(src)/southbridge/amd/cimx/sb700
|
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_32 += -I$(src)/vendorcode/amd/cimx/sb700
|
||||||
|
|
||||||
CPPFLAGS_x86_64 += -I$(src)/southbridge/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
|
CPPFLAGS_x86_64 += -I$(src)/vendorcode/amd/cimx/sb700
|
||||||
|
|
||||||
romstage-y += ACPILIB.c
|
romstage-y += ACPILIB.c
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
#ifndef __VENDORCODE_AMD_CIMX_SB800_AMDSBLIB_H__
|
#ifndef __VENDORCODE_AMD_CIMX_SB800_AMDSBLIB_H__
|
||||||
#define __VENDORCODE_AMD_CIMX_SB800_AMDSBLIB_H__
|
#define __VENDORCODE_AMD_CIMX_SB800_AMDSBLIB_H__
|
||||||
|
|
||||||
#include <cpu/amd/common/cbtypes.h>
|
#include "cbtypes.h"
|
||||||
|
|
||||||
//AMDSBLIB Routines
|
//AMDSBLIB Routines
|
||||||
|
|
||||||
|
|
|
@ -14,11 +14,9 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
CPPFLAGS_x86_32 += -I$(src)/southbridge/amd/cimx/sb800
|
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_32 += -I$(src)/vendorcode/amd/cimx/sb800
|
||||||
|
|
||||||
CPPFLAGS_x86_64 += -I$(src)/southbridge/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
|
CPPFLAGS_x86_64 += -I$(src)/vendorcode/amd/cimx/sb800
|
||||||
|
|
||||||
romstage-y += ACPILIB.c
|
romstage-y += ACPILIB.c
|
||||||
|
|
|
@ -14,11 +14,9 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
CPPFLAGS_x86_32 += -I$(src)/southbridge/amd/cimx/sb900
|
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_32 += -I$(src)/vendorcode/amd/cimx/sb900
|
||||||
|
|
||||||
CPPFLAGS_x86_64 += -I$(src)/southbridge/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
|
CPPFLAGS_x86_64 += -I$(src)/vendorcode/amd/cimx/sb900
|
||||||
|
|
||||||
romstage-y += AcpiLib.c
|
romstage-y += AcpiLib.c
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
;
|
;
|
||||||
;*********************************************************************************/
|
;*********************************************************************************/
|
||||||
|
|
||||||
#include <cpu/amd/common/cbtypes.h>
|
#include "cbtypes.h"
|
||||||
// Southbridge SBMAIN Routines
|
// Southbridge SBMAIN Routines
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue