]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mvebu: turris_omnia: Do not fail in fixup_mtd_partitions when partitions do...
authorPali Rohár <pali@kernel.org>
Mon, 1 Aug 2022 10:02:19 +0000 (12:02 +0200)
committerStefan Roese <sr@denx.de>
Tue, 9 Aug 2022 06:57:23 +0000 (08:57 +0200)
commit37af2c7b296c66bd463943a3193df3c5e085a738
tree02ad1934795dca5bb2db80365f56b80715d434cd
parent1da53ae26afc4f084cf35fea706090fa03dc8475
arm: mvebu: turris_omnia: Do not fail in fixup_mtd_partitions when partitions do not exist

All partitions are created by fixup_mtd_partitions() function, so they do
not have to exist just for their removal need.

Fixes: 92f36c8e74c1 ("arm: mvebu: turris_omnia: fixup MTD partitions in Linux' DTB")
Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Marek Behún <kabel@kernel.org>
board/CZ.NIC/turris_omnia/turris_omnia.c