]> git.baikalelectronics.ru Git - uboot.git/commit
arm: mvebu: turris_omnia: Remove hardcoded spi-nor device tree path
authorPali Rohár <pali@kernel.org>
Mon, 1 Aug 2022 21:58:42 +0000 (23:58 +0200)
committerStefan Roese <sr@denx.de>
Tue, 9 Aug 2022 06:57:23 +0000 (08:57 +0200)
commit84adf44bccb1d5e99f085e6a10e70fcbfb2993c5
tree2830c2a05a5f9d808620aaf740bb07b65c4943e7
parent417db35224ecb674481deb5abf7ff849bab060a4
arm: mvebu: turris_omnia: Remove hardcoded spi-nor device tree path

Linux kernel DTS files renamed spi-nor@0 node to flash@0 which effectively
broke U-Boot to boot new Linux kernel versions correctly.

So remove hardcoded spi-nor device tree path from Turris Omnia board code
and replace it by searching for mtd node by compatible string.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
board/CZ.NIC/turris_omnia/turris_omnia.c