Changeset 3fd8cf2d in rtems
- Timestamp:
- 10/18/22 17:11:29 (8 months ago)
- Branches:
- master
- Children:
- 9d5354e
- Parents:
- cbac78a
- git-author:
- Ryan Long <ryan.long@…> (10/18/22 17:11:29)
- git-committer:
- Joel Sherrill <joel@…> (02/06/23 20:29:24)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
bsps/microblaze/microblaze_fpga/fs/jffs2_qspi.c
rcbac78a r3fd8cf2d 47 47 #include <rtems/libio.h> 48 48 49 #include <bsp.h> 49 50 #include <bsp/jffs2_qspi.h> 50 51 … … 287 288 int fd = -1; 288 289 290 uintptr_t mblaze_spi_base = try_get_prop_from_device_tree( 291 "xlnx,xps-spi-2.00.a", 292 "reg", 293 BSP_MICROBLAZE_FPGA_SPI_BASE 294 ); 295 296 rtems_vector_number mblaze_spi_irq_num = try_get_prop_from_device_tree( 297 "xlnx,xps-spi-2.00.a", 298 "interrupts", 299 BSP_MICROBLAZE_FPGA_SPI_IRQ_NUM 300 ); 301 289 302 rv = spi_bus_register_xilinx_axi( 290 303 BUS_PATH, 291 BSP_MICROBLAZE_FPGA_SPI_BASE,304 mblaze_spi_base, 292 305 FLASH_PAGE_SIZE, 293 306 FLASH_NUM_CS, 294 BSP_MICROBLAZE_FPGA_SPI_IRQ_NUM307 mblaze_spi_irq_num 295 308 ); 296 309 if ( rv != 0 ) {
Note: See TracChangeset
for help on using the changeset viewer.