]> git.dujemihanovic.xyz Git - u-boot.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)
commit7cd67018dd7f754c66cf08a76397bbee254b32aa
tree2830c2a05a5f9d808620aaf740bb07b65c4943e7
parentc959374e841de4c9d2317ff3f110f03574e7db79
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