From b1dbd9eeae9ad1c1dbc1b9593039e41e1101a4ce Mon Sep 17 00:00:00 2001 From: Kinsey Moore Date: Wed, 23 Jul 2025 15:02:53 -0500 Subject: [PATCH] bsps/dev/spi/xqspipsu-flash-helper: Explain source This adds a missing header block and better explains the provenance of the xqspipsu-flash-helper files and their copyright status. Closes #5309 --- bsps/include/dev/spi/xqspipsu-flash-helper.h | 12 ++++++++++++ bsps/shared/dev/spi/xqspipsu-flash-helper.c | 3 +++ 2 files changed, 15 insertions(+) diff --git a/bsps/include/dev/spi/xqspipsu-flash-helper.h b/bsps/include/dev/spi/xqspipsu-flash-helper.h index 828a56dad5..8dffa9e896 100644 --- a/bsps/include/dev/spi/xqspipsu-flash-helper.h +++ b/bsps/include/dev/spi/xqspipsu-flash-helper.h @@ -3,6 +3,18 @@ * SPDX-License-Identifier: MIT ******************************************************************************/ +/** + * @file xqspipsu_flash_helper.h + * + * This file contains flash helper function prototypes for the QSPIPSU driver. + * It consists of modified functions from Xilinx's flash example in + * examples/xqspipsu_generic_flash_interrupt_example.c of the qspipsu driver. + * + * Since the comment blocks and general form of the functions has not changed, + * the Xilinx copyright above is maintained, but this file is not part of the + * upstream embeddedsw distribution. + */ + #ifndef LIBBSP_DEV_SPI_XQSPIPSU_HELPER_H #define LIBBSP_DEV_SPI_XQSPIPSU_HELPER_H diff --git a/bsps/shared/dev/spi/xqspipsu-flash-helper.c b/bsps/shared/dev/spi/xqspipsu-flash-helper.c index 15bfe6dba9..a91358c5f5 100644 --- a/bsps/shared/dev/spi/xqspipsu-flash-helper.c +++ b/bsps/shared/dev/spi/xqspipsu-flash-helper.c @@ -10,6 +10,9 @@ * consists of modified functions from Xilinx's flash example in * examples/xqspipsu_generic_flash_interrupt_example.c of the qspipsu driver. * + * Since the comment blocks and general form of the functions has not changed, + * the Xilinx copyright above is maintained, but this file is not part of the + * upstream embeddedsw distribution. */ #include "xqspipsu_flash_config.h"