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:
Kinsey Moore
2024-10-28 19:23:49 +00:00
committed by Kinsey Moore
parent 79bed0f191
commit 1bba349478
77 changed files with 192 additions and 9139 deletions
+3 -2
View File
@@ -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 *****************************/
+7
View File
@@ -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
+4
View File
@@ -39,7 +39,11 @@ extern "C" {
#endif
/***************************** Include Files *********************************/
#ifndef __rtems__
#include "xil_io.h"
#else
#include <bsp/xil-compat.h>
#endif
/************************** Constant Definitions *****************************/
+4
View File
@@ -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 */
+6
View File
@@ -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 *****************************/
+4
View File
@@ -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 *****************************/
/**