mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 21:51:49 +08:00
bsps: Remove imported Xilinx headers
This removes the headers imported from the embeddedsw repository in favor of a much thinner shim. This also removes the complicated build system configuration necessary to support use of these headers. The primary reason for removal is that certain external Xilinx libraries also require use of these headers and this causes version mismatches and header conflicts that can be avoided.
This commit is contained in:
committed by
Kinsey Moore
parent
79bed0f191
commit
1bba349478
@@ -38,11 +38,12 @@ extern "C" {
|
||||
|
||||
/***************************** Include Files *********************************/
|
||||
|
||||
#ifndef __rtems__
|
||||
#include "xil_types.h"
|
||||
#include "xil_assert.h"
|
||||
#include "xil_io.h"
|
||||
#ifdef __rtems__
|
||||
#include <xil_system.h>
|
||||
#else
|
||||
#include <bsp/xil-compat.h>
|
||||
#endif
|
||||
|
||||
/************************** Constant Definitions *****************************/
|
||||
|
||||
@@ -167,6 +167,7 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
/***************************** Include Files *********************************/
|
||||
#ifndef __rtems__
|
||||
#include "xil_types.h"
|
||||
#include <string.h>
|
||||
#include "xstatus.h"
|
||||
@@ -177,6 +178,12 @@ extern "C" {
|
||||
#if defined (XCLOCKING)
|
||||
#include "xil_clocking.h"
|
||||
#endif
|
||||
#else
|
||||
#include <bsp/xil-compat.h>
|
||||
#include <string.h>
|
||||
#include "xnandpsu_hw.h"
|
||||
#include "xnandpsu_onfi.h"
|
||||
#endif
|
||||
/************************** Constant Definitions *****************************/
|
||||
|
||||
#define XNANDPSU_DEBUG
|
||||
|
||||
@@ -39,7 +39,11 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
/***************************** Include Files *********************************/
|
||||
#ifndef __rtems__
|
||||
#include "xil_io.h"
|
||||
#else
|
||||
#include <bsp/xil-compat.h>
|
||||
#endif
|
||||
|
||||
/************************** Constant Definitions *****************************/
|
||||
|
||||
|
||||
@@ -32,7 +32,11 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
/***************************** Include Files *********************************/
|
||||
#ifndef __rtems__
|
||||
#include "xil_types.h"
|
||||
#else
|
||||
#include <bsp/xil-compat.h>
|
||||
#endif
|
||||
|
||||
/************************** Constant Definitions *****************************/
|
||||
/* Standard ONFI 3.1 Commands */
|
||||
|
||||
@@ -181,13 +181,19 @@ extern "C" {
|
||||
|
||||
/***************************** Include Files *********************************/
|
||||
|
||||
#ifndef __rtems__
|
||||
#include "xstatus.h"
|
||||
#endif
|
||||
#include "xqspipsu_hw.h"
|
||||
#ifndef __rtems__
|
||||
#include "xil_cache.h"
|
||||
#include "xil_mem.h"
|
||||
#if defined (XCLOCKING)
|
||||
#include "xil_clocking.h"
|
||||
#endif
|
||||
#else
|
||||
#include <bsp/xil-compat.h>
|
||||
#endif
|
||||
|
||||
/**************************** Type Definitions *******************************/
|
||||
/**
|
||||
|
||||
@@ -41,7 +41,11 @@ extern "C" {
|
||||
|
||||
/***************************** Include Files *********************************/
|
||||
|
||||
#ifndef __rtems__
|
||||
#include "xparameters.h" /* SDK generated parameters */
|
||||
#else
|
||||
#include <bsp/xil-compat.h>
|
||||
#endif
|
||||
#include "xqspipsu.h" /* QSPIPSU device driver */
|
||||
|
||||
/************************** Constant Definitions *****************************/
|
||||
|
||||
@@ -43,10 +43,14 @@ extern "C" {
|
||||
|
||||
/***************************** Include Files *********************************/
|
||||
|
||||
#ifndef __rtems__
|
||||
#include "xil_types.h"
|
||||
#include "xil_assert.h"
|
||||
#include "xil_io.h"
|
||||
#include "xparameters.h"
|
||||
#else
|
||||
#include <bsp/xil-compat.h>
|
||||
#endif
|
||||
|
||||
/************************** Constant Definitions *****************************/
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user