diff options
author | Alex White <alex.white@oarcorp.com> | 2022-02-16 13:32:30 -0600 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2022-03-15 10:46:19 -0500 |
commit | 14381c432a61252f7e130500400823f1bff397c9 (patch) | |
tree | 827565bedfdba12ca0b92c2e44089e94286de734 /spec | |
parent | bsps/arm: Fix bsp_start_memcpy() for ARMv7-AR (diff) | |
download | rtems-14381c432a61252f7e130500400823f1bff397c9.tar.bz2 |
microblaze: Add JFFS2 AXI QSPI driver
This driver has been tested with Micron NOR Flash via AXI Quad SPI.
Diffstat (limited to 'spec')
4 files changed, 43 insertions, 0 deletions
diff --git a/spec/build/bsps/microblaze/microblaze_fpga/grp.yml b/spec/build/bsps/microblaze/microblaze_fpga/grp.yml index 11df1802f1..bb9b82c250 100644 --- a/spec/build/bsps/microblaze/microblaze_fpga/grp.yml +++ b/spec/build/bsps/microblaze/microblaze_fpga/grp.yml @@ -36,6 +36,10 @@ links: - role: build-dependency uid: optramlen - role: build-dependency + uid: optspibaseaddress +- role: build-dependency + uid: optspiirq +- role: build-dependency uid: opttimerbaseaddress - role: build-dependency uid: opttimerfrequency @@ -44,6 +48,8 @@ links: - role: build-dependency uid: ../../obj - role: build-dependency + uid: ../../objdevspixil +- role: build-dependency uid: ../../objirq - role: build-dependency uid: ../../objmem diff --git a/spec/build/bsps/microblaze/microblaze_fpga/obj.yml b/spec/build/bsps/microblaze/microblaze_fpga/obj.yml index 37096cdc84..993ba04004 100644 --- a/spec/build/bsps/microblaze/microblaze_fpga/obj.yml +++ b/spec/build/bsps/microblaze/microblaze_fpga/obj.yml @@ -15,6 +15,7 @@ install: - destination: ${BSP_INCLUDEDIR}/bsp source: - bsps/microblaze/microblaze_fpga/include/bsp/irq.h + - bsps/microblaze/microblaze_fpga/include/bsp/jffs2_qspi.h - bsps/microblaze/include/common/xil_types.h - bsps/microblaze/include/dev/serial/uartlite.h - bsps/microblaze/include/dev/serial/uartlite_l.h @@ -24,6 +25,7 @@ source: - bsps/microblaze/microblaze_fpga/console/console-io.c - bsps/microblaze/microblaze_fpga/console/debug-io.c - bsps/microblaze/microblaze_fpga/fdt/bsp_fdt.c +- bsps/microblaze/microblaze_fpga/fs/jffs2_qspi.c - bsps/microblaze/microblaze_fpga/irq/irq.c - bsps/microblaze/microblaze_fpga/start/_debug_sw_break_handler.S - bsps/microblaze/microblaze_fpga/start/_exception_handler.S diff --git a/spec/build/bsps/microblaze/microblaze_fpga/optspibaseaddress.yml b/spec/build/bsps/microblaze/microblaze_fpga/optspibaseaddress.yml new file mode 100644 index 0000000000..86907b70ab --- /dev/null +++ b/spec/build/bsps/microblaze/microblaze_fpga/optspibaseaddress.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: 0x44a00000 +default-by-variant: [] +description: | + base address of the AXI Quad SPI +enabled-by: true +format: '{:#010x}' +links: [] +name: BSP_MICROBLAZE_FPGA_SPI_BASE +type: build diff --git a/spec/build/bsps/microblaze/microblaze_fpga/optspiirq.yml b/spec/build/bsps/microblaze/microblaze_fpga/optspiirq.yml new file mode 100644 index 0000000000..7186c6b8e1 --- /dev/null +++ b/spec/build/bsps/microblaze/microblaze_fpga/optspiirq.yml @@ -0,0 +1,17 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-integer: null +- assert-uint32: null +- define: null +build-type: option +copyrights: +- Copyright (C) 2022 On-Line Applications Research Corporation (OAR) +default: 3 +default-by-variant: [] +description: | + IRQ number of the AXI SPI +enabled-by: true +format: '{}' +links: [] +name: BSP_MICROBLAZE_FPGA_SPI_IRQ_NUM +type: build |