From 7b0771a56ffd9825b901dbf2f9bbbdceb8dce62a Mon Sep 17 00:00:00 2001 From: Lavakrishna Date: Wed, 28 Jun 2023 13:55:14 +0100 Subject: [PATCH] Squashed 'driver-examples/mss/mss-spi/' changes from 2beaf73..723a4b5 723a4b5 Update project property settings 5b302a2 update readme file 7651cf5 Add greeting message, UART status message for buffer content comparison and enabled spi as per reference design aae8572 Update Micron MT25QL01GBBB SPI Flash driver 8848ed4 Update the default debug configuration settings fd43448 Update copyright info f0780c9 Update the latest platform changes git-subtree-dir: driver-examples/mss/mss-spi git-subtree-split: 723a4b57391b2af6ec6e8eeecf122551e70c1094 --- mpfs-spi-flash/.cproject | 14 +- mpfs-spi-flash/README.md | 29 +- .../mpfs-spi-flash hw all-harts debug.launch | 2 +- mpfs-spi-flash/src/application/hart0/e51.c | 21 +- mpfs-spi-flash/src/application/hart1/u54_1.c | 65 +- mpfs-spi-flash/src/application/hart2/u54_2.c | 9 +- mpfs-spi-flash/src/application/hart3/u54_3.c | 9 +- mpfs-spi-flash/src/application/hart4/u54_4.c | 9 +- mpfs-spi-flash/src/application/inc/common.h | 11 +- .../mpfs_hal_config/mss_sw_config.h | 8 +- .../drivers/mss/mss_mmuart/mss_uart.c | 62 +- .../drivers/mss/mss_mmuart/mss_uart.h | 2256 +++++++++-------- .../drivers/mss/mss_mmuart/mss_uart_regs.h | 13 +- .../platform/drivers/mss/mss_spi/mss_spi.c | 257 +- .../platform/drivers/mss/mss_spi/mss_spi.h | 955 ++++--- .../off-chip/mt25ql01gbbb/mt25ql01gbbb.c | 45 +- .../off-chip/mt25ql01gbbb/mt25ql01gbbb.h | 11 +- .../src/platform/mpfs_hal/Jenkinsfile | 2 - .../platform/mpfs_hal/common/mss_l2_cache.c | 108 +- .../platform/mpfs_hal/common/mss_l2_cache.h | 54 +- .../platform/mpfs_hal/common/nwc/mss_ddr.c | 571 +++-- .../platform/mpfs_hal/common/nwc/mss_ddr.h | 165 +- .../mpfs_hal/common/nwc/mss_ddr_debug.c | 38 +- .../mpfs_hal/common/nwc/mss_ddr_debug.h | 7 +- .../mpfs_hal/common/nwc/mss_ddr_defs.h | 12 + .../mpfs_hal/common/nwc/mss_nwc_init.c | 3 - .../platform/mpfs_hal/common/nwc/mss_sgmii.c | 1 - .../platform/mpfs_hal/common/nwc/simulation.h | 74 - .../src/platform/mpfs_hal/mpfs_hal_version.h | 6 +- .../src/platform/mpfs_hal/mss_hal.h | 1 - .../platform/mpfs_hal/startup_gcc/mss_entry.S | 86 +- .../platform/mpfs_hal/startup_gcc/mss_utils.S | 77 +- .../mpfs_hal/startup_gcc/system_startup.c | 8 +- .../mpfs_hal/startup_gcc/system_startup.h | 2 +- .../platform_config_reference/LICENSE.md | 26 + .../mss/mss_usb/mss_usb_sw_config.h | 54 + .../linker/mpfs-ddr-loaded-by-boot-loader.ld | 2 +- .../linker/mpfs-envm-lma-scratchpad-vma.ld | 4 +- .../linker/mpfs-envm.ld | 17 +- .../linker/mpfs-lim-lma-scratchpad-vma.ld | 4 +- .../linker/mpfs-lim.ld | 15 +- .../mpfs_hal_config/mss_sw_config.h | 2 +- mpfs-spi-flash/src/platform/readme.md | 56 + .../mpfs_configuration_generator.py | 43 +- mpfs-spi-master-slave/.cproject | 14 +- .../src/application/hart0/e51.c | 9 +- .../src/application/hart1/u54_1.c | 12 +- .../src/application/hart2/u54_2.c | 9 +- .../src/application/hart3/u54_3.c | 9 +- .../src/application/hart4/u54_4.c | 9 +- .../src/application/inc/common.h | 11 +- .../mpfs_hal_config/mss_sw_config.h | 8 +- .../drivers/mss/mss_mmuart/mss_uart.c | 61 +- .../drivers/mss/mss_mmuart/mss_uart.h | 2256 +++++++++-------- .../drivers/mss/mss_mmuart/mss_uart_regs.h | 13 +- .../platform/drivers/mss/mss_spi/mss_spi.c | 257 +- .../platform/drivers/mss/mss_spi/mss_spi.h | 955 ++++--- .../off-chip/mt25ql01gbbb/mt25ql01gbbb.c | 11 +- .../off-chip/mt25ql01gbbb/mt25ql01gbbb.h | 7 +- .../src/platform/mpfs_hal/Jenkinsfile | 2 - .../platform/mpfs_hal/common/mss_l2_cache.c | 108 +- .../platform/mpfs_hal/common/mss_l2_cache.h | 54 +- .../platform/mpfs_hal/common/nwc/mss_ddr.c | 571 +++-- .../platform/mpfs_hal/common/nwc/mss_ddr.h | 165 +- .../mpfs_hal/common/nwc/mss_ddr_debug.c | 38 +- .../mpfs_hal/common/nwc/mss_ddr_debug.h | 7 +- .../mpfs_hal/common/nwc/mss_ddr_defs.h | 12 + .../mpfs_hal/common/nwc/mss_nwc_init.c | 3 - .../platform/mpfs_hal/common/nwc/mss_sgmii.c | 1 - .../platform/mpfs_hal/common/nwc/simulation.h | 74 - .../src/platform/mpfs_hal/mpfs_hal_version.h | 4 +- .../platform/mpfs_hal/startup_gcc/mss_entry.S | 86 +- .../platform/mpfs_hal/startup_gcc/mss_utils.S | 77 +- .../mpfs_hal/startup_gcc/system_startup.c | 7 +- .../mpfs_hal/startup_gcc/system_startup.h | 2 +- .../platform_config_reference/LICENSE.md | 26 + .../mss/mss_usb/mss_usb_sw_config.h | 54 + .../linker/mpfs-ddr-loaded-by-boot-loader.ld | 2 +- .../linker/mpfs-envm-lma-scratchpad-vma.ld | 4 +- .../linker/mpfs-envm.ld | 17 +- .../linker/mpfs-lim-lma-scratchpad-vma.ld | 4 +- .../linker/mpfs-lim.ld | 15 +- .../mpfs_hal_config/mss_sw_config.h | 2 +- mpfs-spi-master-slave/src/platform/readme.md | 56 + .../mpfs_configuration_generator.py | 43 +- 85 files changed, 5993 insertions(+), 4296 deletions(-) delete mode 100644 mpfs-spi-flash/src/platform/mpfs_hal/Jenkinsfile delete mode 100644 mpfs-spi-flash/src/platform/mpfs_hal/common/nwc/simulation.h create mode 100644 mpfs-spi-flash/src/platform/platform_config_reference/LICENSE.md create mode 100644 mpfs-spi-flash/src/platform/platform_config_reference/drivers_config/mss/mss_usb/mss_usb_sw_config.h create mode 100644 mpfs-spi-flash/src/platform/readme.md delete mode 100644 mpfs-spi-master-slave/src/platform/mpfs_hal/Jenkinsfile delete mode 100644 mpfs-spi-master-slave/src/platform/mpfs_hal/common/nwc/simulation.h create mode 100644 mpfs-spi-master-slave/src/platform/platform_config_reference/LICENSE.md create mode 100644 mpfs-spi-master-slave/src/platform/platform_config_reference/drivers_config/mss/mss_usb/mss_usb_sw_config.h create mode 100644 mpfs-spi-master-slave/src/platform/readme.md diff --git a/mpfs-spi-flash/.cproject b/mpfs-spi-flash/.cproject index 06ddf42..1e3317e 100644 --- a/mpfs-spi-flash/.cproject +++ b/mpfs-spi-flash/.cproject @@ -299,10 +299,15 @@ - - - -