xref: /OK3568_Linux_fs/u-boot/drivers/rkflash/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1#
2# Copyright (c) 2018 Fuzhou Rockchip Electronics Co., Ltd
3#
4# SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5#
6if ARCH_ROCKCHIP
7
8menuconfig RKFLASH
9	bool "Rockchip Flash Devices support"
10	default n
11	help
12	  This enables support for Rockchip Flash Devices including Nandc Slc
13	  Nand, SFC SPI Nand and SFC SPI Nor.
14
15	  They're block interface.
16
17	  Say Y when you have a board with one of them.
18
19if RKFLASH
20
21comment "Rockchip Flash Devices"
22
23config RKNANDC_NAND
24	bool "Rockchip NANDC Slc Nand Devices support"
25	depends on RKNAND != y
26	default n
27	help
28	  This enables support for NANDC Slc Nand Devices.
29
30	  It's block interface, 512Kb/sector.
31
32	  Say Y when you have a board with Slc Nand Flash supported by Rockchip
33	  Nandc controller.
34
35config RKSFC_NAND
36	bool "Rockchip SFC SPI Nand Devices support"
37	depends on RKNAND != y
38	default n
39	help
40	  This enables support for Rockchip SFC SPI Nand Devices.
41
42	  It's block interface, 512Kb/sector.
43
44	  Say Y when you have a board with SPI Nand Flash supported by Rockchip
45          Serial Flash Controller(SFC).
46config RKSFC_NOR
47	bool "Rockchip SFC SPI Nor Devices Support"
48	depends on BLK
49	help
50	  This enables support for Rockchip SFC SPI Nor Devices.
51
52	  It's block interface,512Kb/sector.
53
54	  Say Y when you have a board with SPI Nor Flash supported by Rockchip
55	  Serial Flash Controller(SFC).
56
57endif # RKFLASH
58
59endif # ARCH_ROCKCHIP
60