Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support Flash QSPI on S32ZE #434

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions s32/drivers/s32ze/BaseNXP/header/S32Z2_QUADSPI.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@
/** QuadSPI - Size of Registers Arrays */
#define QuadSPI_RBDR_COUNT 64u
#define QuadSPI_LUT_COUNT 80u
#define QuadSPI_FRAD_COUNT 8u
#define QuadSPI_MDAD_COUNT 2u
#define QuadSPI_FRAD_COUNT 8
#define QuadSPI_MDAD_COUNT 2

/** QuadSPI - Register Layout Typedef */
typedef struct {
Expand Down
5 changes: 5 additions & 0 deletions s32/drivers/s32ze/BaseNXP/include/Mem_43_EXFLS_MemMap.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/*
* Copyright 2024 NXP
*
* SPDX-License-Identifier: BSD-3-Clause
*/
1 change: 1 addition & 0 deletions s32/drivers/s32ze/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ if (CONFIG_ETH_NXP_S32_NETC)
add_subdirectory(EthSwt_NETC)
endif()
add_subdirectory_ifdef(CONFIG_CAN_NXP_S32_CANXL Can_CANEXCEL)
add_subdirectory_ifdef(CONFIG_MEMC_NXP_S32_QSPI Mem_EXFLS)
8 changes: 8 additions & 0 deletions s32/drivers/s32ze/Mem_EXFLS/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copyright 2024 NXP
# SPDX-License-Identifier: BSD-3-Clause

zephyr_include_directories(include)
zephyr_library_sources(src/Qspi_Ip.c)
zephyr_library_sources(src/Qspi_Ip_Controller.c)
zephyr_library_sources(src/Qspi_Ip_Hyperflash.c)
zephyr_library_sources(src/Qspi_Ip_Sfdp.c)
Loading