rv1126-uboot/drivers/mtd/nand
Joe Hershberger 40fb869c96 UPSTREAM: mtd: nand: zynq: Add support for the NAND lock/unlock operation
Zynq NAND driver is not support for NAND lock or unlock operation.
Hence, accidentally write into the critical NAND region might cause
data corruption to occur.

This commit is to add NAND lock/unlock command into NAND SMC register
set for NAND lock/unlock operaion.

Change-Id: Ia62c8d977f1b3e66790823a837e3faa021f0078a
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Signed-off-by: Keng Soon Cheah <keng.soon.cheah@ni.com>
Cc: Chen Yee Chew <chen.yee.chew@ni.com>
Cc: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: Scott Wood <oss@buserror.net>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
(cherry picked from commit 6d3fa0dfdd3cc0e5067785fcb9ca6267b1501fa4)
2019-07-05 19:21:04 +08:00
..
Kconfig UPSTREAM: mtd: nand: denali: sync with Linux 4.15-rc1 2019-07-05 19:21:04 +08:00
Makefile drivers: mtd: nand: add nand driver for spl 2019-06-17 17:19:40 +08:00
am335x_spl_bch.c mtd: nand: Consolidate nand spl loaders implementation 2017-05-08 11:57:26 -04:00
arasan_nfc.c nand: arasan_nfc: Clear ecc on bit while sending read command 2016-11-15 15:27:57 +01:00
atmel_nand.c UPSTREAM: mtd: replace MTDDEBUG() with pr_debug() 2019-07-05 19:20:53 +08:00
atmel_nand_ecc.h
davinci_nand.c UPSTREAM: mtd: nand: Drop the ->errstat() hook 2019-07-05 19:21:04 +08:00
denali.c UPSTREAM: mtd: nand: denali: sync with Linux 4.15-rc1 2019-07-05 19:21:04 +08:00
denali.h UPSTREAM: mtd: nand: denali: sync with Linux 4.15-rc1 2019-07-05 19:21:04 +08:00
denali_dt.c UPSTREAM: mtd: nand: denali: sync with Linux 4.15-rc1 2019-07-05 19:21:04 +08:00
denali_spl.c UPSTREAM: mtd: nand: denali: sync with Linux 4.15-rc1 2019-07-05 19:21:04 +08:00
fsl_elbc_nand.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
fsl_elbc_spl.c
fsl_ifc_nand.c UPSTREAM: mtd: nand: fsl-ifc: fix support of multiple NAND devices 2019-07-05 19:20:53 +08:00
fsl_ifc_spl.c powerpc/mpc85xx: SECURE BOOT- Enable chain of trust in SPL 2016-07-21 11:09:23 -07:00
fsl_upm.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
fsmc_nand.c mtd: nand: drv: use get_nand_dev_by_index() 2017-07-11 22:41:49 -04:00
kb9202_nand.c mtd: nand: Add+use mtd_to/from_nand and nand_get/set_controller_data 2016-06-03 20:27:48 -05:00
kirkwood_nand.c mtd: nand: Add+use mtd_to/from_nand and nand_get/set_controller_data 2016-06-03 20:27:48 -05:00
kmeter1_nand.c
lpc32xx_nand_mlc.c treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
lpc32xx_nand_slc.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
mxc_nand.c UPSTREAM: mtd: replace MTDDEBUG() with pr_debug() 2019-07-05 19:20:53 +08:00
mxc_nand.h
mxc_nand_spl.c mtd: nand: Sync with Linux v4.6 2016-06-03 20:27:48 -05:00
mxs_nand.c imx: reorganize IMX code as other SOCs 2017-07-12 10:17:44 +02:00
mxs_nand_spl.c mtd: nand: mxs_nand_spl: Fix to remove twise 'NAND' print 2017-01-04 16:56:44 +01:00
nand.c mtd: nand: make nand_info array static 2017-07-11 22:41:54 -04:00
nand_base.c UPSTREAM: mtd: nand: introduce NAND_ROW_ADDR_3 flag 2019-07-05 19:21:04 +08:00
nand_bbt.c drivers: mtd: nand: rockchip nandc add bad block detect api 2019-03-14 16:51:39 +08:00
nand_bch.c UPSTREAM: mtd: replace MTDDEBUG() with pr_debug() 2019-07-05 19:20:53 +08:00
nand_ecc.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
nand_ids.c mtd: nand: add support for the Sandisk SDTNQGAMA chip 2017-11-07 16:30:52 +08:00
nand_plat.c mtd: nand: Add+use mtd_to/from_nand and nand_get/set_controller_data 2016-06-03 20:27:48 -05:00
nand_spl_load.c
nand_spl_loaders.c mtd: nand: Consolidate nand spl loaders implementation 2017-05-08 11:57:26 -04:00
nand_spl_simple.c mtd: nand: Consolidate nand spl loaders implementation 2017-05-08 11:57:26 -04:00
nand_timings.c UPSTREAM: mtd: nand: Add a few more timings to nand_sdr_timings 2019-07-05 19:21:04 +08:00
nand_util.c nand: delete useless conditional statement 2019-06-05 14:47:56 +08:00
ndfc.c mtd: nand: Sync with Linux v4.6 2016-06-03 20:27:48 -05:00
omap_elm.c treewide: replace #include <asm/errno.h> with <linux/errno.h> 2016-09-23 17:55:42 -04:00
omap_gpmc.c cmd: nand: abstract global variable usage for dm conversion 2017-07-11 22:41:44 -04:00
pxa3xx_nand.c treewide: replace with error() with pr_err() 2018-01-17 15:27:28 +08:00
pxa3xx_nand.h
rockchip_nand.c rockchip: drivers: mtd: nand: modify the bad block detection process 2019-07-01 15:47:32 +08:00
rockchip_nand_spl.c drivers: mtd: nand: add nand driver for spl 2019-06-17 17:19:40 +08:00
rockchip_nand_v9.c rockchip: nand: modify udevice_id to compatible with NAND driver include FTL 2019-06-25 11:21:05 +08:00
sunxi_nand.c dm: gpio: Add live tree support 2017-06-01 07:03:10 -06:00
sunxi_nand_spl.c nand: sunxi: Fix modulo by zero error 2017-04-07 11:23:45 +05:30
tegra_nand.c dm: gpio: Add live tree support 2017-06-01 07:03:10 -06:00
tegra_nand.h
vf610_nfc.c mtd: nand: Sync with Linux v4.6 2016-06-03 20:27:48 -05:00
zynq_nand.c UPSTREAM: mtd: nand: zynq: Add support for the NAND lock/unlock operation 2019-07-05 19:21:04 +08:00