mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-07-13 04:39:36 +02:00
Revert "mtd: limit OTP NVMEM cell parse to non-NAND devices"
This reverts commitcce311f8bb
which is commitd2d73a6dd1
upstream. It breaks the Android kernel abi and can be brought back in the future in an abi-safe way if it is really needed. Bug: 161946584 Change-Id: Ic1c16a7dcb92e2754a89c72af4923c412725dceb Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
parent
477613d127
commit
53f6732e41
|
@ -899,7 +899,7 @@ static struct nvmem_device *mtd_otp_nvmem_register(struct mtd_info *mtd,
|
|||
config.name = compatible;
|
||||
config.id = NVMEM_DEVID_AUTO;
|
||||
config.owner = THIS_MODULE;
|
||||
config.add_legacy_fixed_of_cells = !mtd_type_is_nand(mtd);
|
||||
config.add_legacy_fixed_of_cells = true;
|
||||
config.type = NVMEM_TYPE_OTP;
|
||||
config.root_only = true;
|
||||
config.ignore_wp = true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user