]> git.baikalelectronics.ru Git - uboot.git/commit
arm: mvebu: turris_omnia: fixup MTD partitions in Linux' DTB
authorMarek Behún <marek.behun@nic.cz>
Thu, 15 Jul 2021 17:21:02 +0000 (19:21 +0200)
committerStefan Roese <sr@denx.de>
Mon, 19 Jul 2021 07:05:30 +0000 (09:05 +0200)
commit1f3c494182e8715c38034926e865fe7fefc08c86
tree14be123a1322d5a661336f66ddc22178aab6457a
parent6e9590708b16bd21fd108d048b0cc3b85c97e443
arm: mvebu: turris_omnia: fixup MTD partitions in Linux' DTB

Fixup SPI NOR partition nodes in Linux' device tree prior booting Linux.

Linux' devicetree does not contain "u-boot-env" partition and we do not
want to add it there because the address is different between stock
U-Boot and current upstream U-Boot.

Instead we add code that recreates partition nodes from scratch
according to how U-Boot sees them (which is defined in U-Boot's device
tree).

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
board/CZ.NIC/turris_omnia/turris_omnia.c
configs/turris_omnia_defconfig