Message ID | 20200507131201.1361659-1-yamada.masahiro@socionext.com |
---|---|
State | Accepted |
Commit | 1c193c0c6e8babd54b254c134718222e232728a6 |
Headers | show |
Series | mtd: rawnand: denali: deassert write protect pin | expand |
diff --git a/drivers/mtd/nand/raw/denali.c b/drivers/mtd/nand/raw/denali.c index b525b1be54..f00f6c39e1 100644 --- a/drivers/mtd/nand/raw/denali.c +++ b/drivers/mtd/nand/raw/denali.c @@ -1089,6 +1089,7 @@ static void denali_hw_init(struct denali_nand_info *denali) iowrite32(CHIP_EN_DONT_CARE__FLAG, denali->reg + CHIP_ENABLE_DONT_CARE); iowrite32(0xffff, denali->reg + SPARE_AREA_MARKER); + iowrite32(WRITE_PROTECT__FLAG, denali->reg + WRITE_PROTECT); } int denali_calc_ecc_bytes(int step_size, int strength)