From f7741d7964e3cd91d60f950dc78550999995bca0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Thu, 24 May 2018 09:56:04 +0300 Subject: Remove leftover AMD CIMX RD890 northbridge support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I3f2cea79a11a52e94f479b25f22eb3726af38fa3 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/26507 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/northbridge/amd/cimx/rd890/NbPlatform.h | 133 ---------------------------- 1 file changed, 133 deletions(-) delete mode 100644 src/northbridge/amd/cimx/rd890/NbPlatform.h (limited to 'src/northbridge/amd/cimx/rd890/NbPlatform.h') diff --git a/src/northbridge/amd/cimx/rd890/NbPlatform.h b/src/northbridge/amd/cimx/rd890/NbPlatform.h deleted file mode 100644 index 1a8c40e0cb..0000000000 --- a/src/northbridge/amd/cimx/rd890/NbPlatform.h +++ /dev/null @@ -1,133 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2012 Advanced Micro Devices, Inc. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - */ - -#ifndef _NB_PLATFORM_H_ -#define _NB_PLATFORM_H_ - -#define SERIAL_OUT_SUPPORT //enable serial output -#define CIMX_DEBUG - -#ifdef CIMX_DEBUG -#define CIMX_TRACE_SUPPORT -#define CIMX_ASSERT_SUPPORT -#endif - -#ifdef CIMX_TRACE_SUPPORT - #define CIMX_INIT_TRACE(Arguments) - #if IS_ENABLED(CONFIG_REDIRECT_NBCIMX_TRACE_TO_SERIAL) - #define TRACE_DATA(Ptr, Level) BIOS_DEBUG //always enable - #define CIMX_TRACE(Argument) do {do_printk Argument;} while (0) - #else - #define TRACE_DATA(Ptr, Level) - #define CIMX_TRACE(Argument) - #endif -#else - #define CIMX_TRACE(Argument) - #define CIMX_INIT_TRACE(Arguments) -#endif - -#ifdef CIMX_ASSERT_SUPPORT - #ifdef ASSERT - #undef ASSERT - #define ASSERT CIMX_ASSERT - #endif - #ifdef CIMX_TRACE_SUPPORT - #define CIMX_ASSERT(x) if (!(x)) {\ - LibAmdTraceDebug (CIMX_TRACE_ALL, (CHAR8 *)"ASSERT !!! "__FILE__" - line %d\n", __LINE__); \ - /*__asm {jmp $}; */\ - } - //#define IDS_HDT_CONSOLE(s, args...) do_printk(BIOS_DEBUG, s, ##args) - #else - #define CIMX_ASSERT(x) if (!(x)) {\ - /*__asm {jmp $}; */\ - } - #endif -#else - #define CIMX_ASSERT(x) -#endif - -/*---------------------------------------------------------------------------------------- - * E X P O R T E D F U N C T I O N S - *---------------------------------------------------------------------------------------- - */ - -//#define STALL(Ptr, TimeUs, Flag) LibAmdSbStall(TimeUs) -#define STALL(Ptr, TimeUs, Flag) LibAmdSbStall(TimeUs, Ptr) - -#define REPORT_EVENT(Class, Info, Param1, Param2, Param3, Param4, CfgPtr) - -// CIMX configuration parameters -/* - * PCIEX_BASE_ADDRESS - Define PCIE base address - */ -#ifdef MOVE_PCIEBAR_TO_F0000000 -#define PCIEX_BASE_ADDRESS 0xF7000000 -#else -#define PCIEX_BASE_ADDRESS CONFIG_MMCONF_BASE_ADDRESS -#endif - - - -#define CIMX_S3_SAVE 1 -#include "cbtypes.h" -#include - -#include "amd.h" //cimx typedef -#include -#include "amdAcpiLib.h" -#include "amdAcpiMadt.h" -#include "amdAcpiIvrs.h" -#include "amdSbLib.h" -#include "nbPcie.h" - -//must put before the nbType.h -#include "platform_cfg.h" /*platform dependented configuration */ -#include "nbType.h" - -#include "nbLib.h" -#include "nbDef.h" -#include "nbInit.h" -#include "nbHtInit.h" -#include "nbIommu.h" -#include "nbEventLog.h" -#include "nbRegisters.h" -#include "nbPcieAspm.h" -#include "nbPcieLinkWidth.h" -#include "nbPcieHotplug.h" -#include "nbPciePortRemap.h" -#include "nbPcieWorkarounds.h" -#include "nbPcieCplBuffers.h" -#include "nbPciePllControl.h" -#include "nbMiscInit.h" -#include "nbIoApic.h" -#include "nbPcieSb.h" -#include "nbRecovery.h" -#include "nbMaskedMemoryInit.h" - - -#define FIX_PTR_ADDR(x, y) x - -#define TRACE_ALWAYS 0xffffffff - -#define AmdNbDispatcher NULL - -#define CIMX_TRACE_ALL 0xFFFFFFFF -#define CIMX_NBPOR_TRACE 0xFFFFFFFF -#define CIMX_NBHT_TRACE 0xFFFFFFFF -#define CIMX_NBPCIE_TRACE 0xFFFFFFFF -#define CIMX_NB_TRACE 0xFFFFFFFF -#define CIMX_NBPCIE_MISC 0xFFFFFFFF - -#endif -- cgit v1.2.3