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

Flexspi imx9 support #264

Merged
merged 2 commits into from
Jul 5, 2024
Merged
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
9 changes: 9 additions & 0 deletions arch/arm64/src/imx9/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,15 @@ endmenu # LPUART Configuration

endmenu # LPUART

config IMX9_FLEXSPI
bool "ENABLE FLEXSPI interface"
default n

config IMX9_FLEXSPI_NOR
bool "Enable NOR flash on FLEXSPI interface"
select IMX9_FLEXSPI
default n

config IMX9_FLEXIO1_PWM
depends on PWM
bool "Enable FLEXIO1 based PWM generation"
Expand Down
8 changes: 8 additions & 0 deletions arch/arm64/src/imx9/Make.defs
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,11 @@ endif
ifeq ($(CONFIG_IMX9_USDHC),y)
CHIP_CSRCS += imx9_usdhc.c
endif

ifeq ($(CONFIG_IMX9_FLEXSPI), y)
CHIP_CSRCS += imx9_flexspi.c
endif

ifeq ($(CONFIG_IMX9_FLEXSPI_NOR), y)
CHIP_CSRCS += imx9_flexspi_nor.c
endif
598 changes: 598 additions & 0 deletions arch/arm64/src/imx9/hardware/imx9_flexspi.h

Large diffs are not rendered by default.

Loading
Loading