android_kernel_asus_sm8350/arch/arm64
Amit Kumar Mahapatra 31df0f0f18 arm64: zynqmp: Do not duplicate flash partition label property
[ Upstream commit 167721a5909f867f8c18c8e78ea58e705ad9bbd4 ]

In kernel 5.4, support has been added for reading MTD devices via the nvmem
API.
For this the mtd devices are registered as read-only NVMEM providers under
sysfs with the same name as the flash partition label property.

So if flash partition label property of multiple flash devices are
identical then the second mtd device fails to get registered as a NVMEM
provider.

This patch fixes the issue by having different label property for different
flashes.

Signed-off-by: Amit Kumar Mahapatra <amit.kumar-mahapatra@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/6c4b9b9232b93d9e316a63c086540fd5bf6b8687.1623684253.git.michal.simek@xilinx.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-11-26 10:47:14 +01:00
..
boot arm64: zynqmp: Do not duplicate flash partition label property 2021-11-26 10:47:14 +01:00
configs arm64/ARM: configs: Change CONFIG_REMOTEPROC from m to y 2019-09-30 11:48:00 -07:00
crypto crypto: arm64/sha - add missing module aliases 2021-03-04 10:26:44 +01:00
include arm64: pgtable: make __pte_to_phys/__phys_to_pte_val inline functions 2021-11-17 09:48:47 +01:00
kernel arm64: Mark __stack_chk_guard as __ro_after_init 2021-09-30 10:09:25 +02:00
kvm KVM: arm64: Fix debug register indexing 2021-06-10 13:37:15 +02:00
lib arm64: Change .weak to SYM_FUNC_START_WEAK_PI for arch/arm64/lib/mem*.S 2020-11-10 12:37:24 +01:00
mm arm64: consistently use reserved_pg_dir 2021-07-14 16:53:23 +02:00
net bpf: Define bpf_jit_alloc_exec_limit for arm64 JIT 2021-11-17 09:48:20 +01:00
xen xen/efi: have a common runtime setup function 2019-10-02 10:31:07 -04:00
Kbuild arm64: add arch/arm64/Kbuild 2019-08-21 18:47:15 +01:00
Kconfig arm64: Extend workaround for erratum 1024718 to all versions of Cortex-A55 2021-03-04 10:26:49 +01:00
Kconfig.debug treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Kconfig.platforms arm64: berlin: Select DW_APB_TIMER_OF 2020-11-05 11:43:36 +01:00
Makefile arm64: link with -z norelro for LLD or aarch64-elf 2021-06-30 08:47:44 -04:00