Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) # SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) if ARCH_ROCKCHIP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) menuconfig RK_FLASH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 	tristate "Rockchip Flash Devices Support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 	select ROCKCHIP_VENDOR_STORAGE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) 	select ROCKCHIP_FLASH_VENDOR_STORAGE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 	default n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 	  This enables support for Rockchip Flash Devices including Nandc Slc
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 	  Nand, SFC Spi Nand and SFC Spi Nor.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 	  They're block interface.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 	  Say Y when you have a board with one of them.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) if RK_FLASH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) comment "Rockchip Flash Devices"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) config RK_SFTL
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 	tristate "Rockchip Slc Nand FTL support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 	default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 	depends on (RK_NAND || (RK_SFC_NAND && RK_SFC_NAND_MTD !=y))
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 	  This enables support for Slc Nand FTL.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 	  Say Y when you have a board with Slc Nand Flash register as block device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) config RK_NANDC_NAND
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 	tristate "Rockchip NANDC Slc Nand Devices support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 	default n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 	depends on RK_NAND != y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 	  This enables support for NANDC Slc Nand Devices.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) 	  It's block interface, 512Kb/sector.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) 	  Say Y when you have a board with Slc Nand Flash supported by Rockchip
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) 	  Nandc controller.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) config RK_SFC_NAND
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) 	tristate "Rockchip SFC Spi Nand Devices support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) 	default n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) 	depends on RK_NAND != y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) 	  This enables support for Rockchip SFC Spi Nand Devices.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) 	  It's block interface, 512Kb/sector.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) 	  Say Y when you have a board with Spi Nand Flash supported by Rockchip
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) 	  Serial Flash Controller(SFC).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) config RK_SFC_NAND_MTD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) 	bool "RK SFC NAND mtd Interface Support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) 	select ROCKCHIP_MTD_VENDOR_STORAGE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) 	default n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) 	depends on RK_SFC_NAND && MTD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) 	  Enable mtd interface for SFC_NAND device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) 	  Say Y when you wanna use mtd interface for SFC_NAND flash.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) config RK_SFC_NOR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) 	tristate "Rockchip SFC Spi Nor Devices Support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) 	select CRYPTO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) 	select CRYPTO_LIB_ARC4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) 	default n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) 	  This enables support for Rockchip SFC Spi Nor Devices.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) 	  It's block interface,512Kb/sector.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) 	  Say Y when you have a board with Spi Nor Flash supported by Rockchip
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) 	  Serial Flash Controller(SFC).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) config RK_SFC_NOR_MTD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) 	bool "RK SFC NOR mtd Interface Support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) 	default n
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) 	depends on RK_SFC_NOR && MTD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) 	help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) 	  Enable mtd interface for SFC_NOR device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) 	  Say Y when you wanna use mtd interface for SFC_NOR flash.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) endif # RK_FLASH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) endif # ARCH_ROCKCHIP