diff options
author | Alex White <alex.white@oarcorp.com> | 2023-01-08 14:24:25 -0600 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2023-01-27 14:49:28 -0600 |
commit | d55c1319651e1787364ad00471657e49b8315986 (patch) | |
tree | 1a812f5d126a4aa2800a8fc17a6b55d388592948 /spec | |
parent | fd2f9d40b5c48d08ad997bbab894855d3017f362 (diff) |
bsps: Add Xilinx GQSPI flash helper
This adds helper functions for working with NOR flash connected to the
Xilinx GQSPI controller. The helper functions are based on Xilinx's
QSPIPSU flash interrupt example.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/build/bsps/objqspipsu.yml | 32 | ||||
-rw-r--r-- | spec/build/bsps/optxpssysctrlbaseaddress.yml | 18 |
2 files changed, 50 insertions, 0 deletions
diff --git a/spec/build/bsps/objqspipsu.yml b/spec/build/bsps/objqspipsu.yml new file mode 100644 index 0000000000..5f8679c83c --- /dev/null +++ b/spec/build/bsps/objqspipsu.yml @@ -0,0 +1,32 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +build-type: objects +cflags: [] +copyrights: +- Copyright (C) 2022 On-Line Applications Research (OAR) +cppflags: [] +cxxflags: [] +enabled-by: true +includes: +- bsps/include/dev/spi/ +- bsps/include/xil/ +- bsps/include/xil/${XIL_SUPPORT_PATH}/ +install: +- destination: ${BSP_INCLUDEDIR}/dev/spi + source: + - bsps/include/dev/spi/xqspipsu_control.h + - bsps/include/dev/spi/xqspipsu_flash_config.h + - bsps/include/dev/spi/xqspipsu_hw.h + - bsps/include/dev/spi/xqspipsu-flash-helper.h + - bsps/include/dev/spi/xqspipsu.h +links: +- role: build-dependency + uid: objxilinxsupport +- role: build-dependency + uid: optxpssysctrlbaseaddress +source: +- bsps/shared/dev/spi/xqspipsu_control.c +- bsps/shared/dev/spi/xqspipsu_hw.c +- bsps/shared/dev/spi/xqspipsu_options.c +- bsps/shared/dev/spi/xqspipsu-flash-helper.c +- bsps/shared/dev/spi/xqspipsu.c +type: build diff --git a/spec/build/bsps/optxpssysctrlbaseaddress.yml b/spec/build/bsps/optxpssysctrlbaseaddress.yml new file mode 100644 index 0000000000..644cbccc58 --- /dev/null +++ b/spec/build/bsps/optxpssysctrlbaseaddress.yml @@ -0,0 +1,18 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-integer: null +- assert-uint32: null +- env-assign: null +- format-and-define: null +build-type: option +copyrights: +- Copyright (C) 2022 On-Line Applications Research Corporation (OAR) +default: 0xFF180000 +default-by-variant: [] +description: | + base address of XPS +enabled-by: true +format: '{:#010x}' +links: [] +name: XPS_SYS_CTRL_BASEADDR +type: build |