-
Notifications
You must be signed in to change notification settings - Fork 7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: Flash: Add SPI NAND Flash driver support
Add SPI NAND Flash driver support Signed-off-by: Daniel Zhang <[email protected]>
- Loading branch information
1 parent
9211abc
commit 04e8854
Showing
15 changed files
with
2,034 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Copyright (c) 2022-2025 Macronix International Co., Ltd. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
menuconfig SPI_NAND | ||
bool "SPI NAND Flash" | ||
select FLASH_HAS_DRIVER_ENABLED | ||
select FLASH_HAS_EXPLICIT_ERASE | ||
select FLASH_HAS_PAGE_LAYOUT | ||
depends on SPI | ||
|
||
if SPI_NAND | ||
|
||
config SPI_NAND_INIT_PRIORITY | ||
int | ||
default 80 | ||
help | ||
Device driver initialization priority. | ||
Device is connected to SPI bus, it has to | ||
be initialized after SPI driver. | ||
|
||
endif # SPI_NAND |
Oops, something went wrong.