summaryrefslogtreecommitdiff
path: root/src/northbridge/amd/cimx/rd890/NbPlatform.h
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2018-05-24 09:56:04 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2018-05-24 13:22:34 +0000
commitf7741d7964e3cd91d60f950dc78550999995bca0 (patch)
tree72aac35fc1db73fcdf6d0e6e9cdd86dba6e6e788 /src/northbridge/amd/cimx/rd890/NbPlatform.h
parentd644a2788ff2e421d7695e66caad468966602387 (diff)
downloadcoreboot-f7741d7964e3cd91d60f950dc78550999995bca0.tar.xz
Remove leftover AMD CIMX RD890 northbridge support
Change-Id: I3f2cea79a11a52e94f479b25f22eb3726af38fa3 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/26507 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/northbridge/amd/cimx/rd890/NbPlatform.h')
-rw-r--r--src/northbridge/amd/cimx/rd890/NbPlatform.h133
1 files changed, 0 insertions, 133 deletions
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 <console/console.h>
-
-#include "amd.h" //cimx typedef
-#include <amdlib.h>
-#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