aboutsummaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorMarek BehĂșn <marek.behun@nic.cz>2021-07-15 19:21:02 +0200
committerStefan Roese <sr@denx.de>2021-07-19 09:05:30 +0200
commit92f36c8e74c19a7a84aca4dcea121eabc97b05f1 (patch)
tree14be123a1322d5a661336f66ddc22178aab6457a /configs
parent644b9864700ee5227232a69ed4f180b99559b925 (diff)
downloadu-boot-92f36c8e74c19a7a84aca4dcea121eabc97b05f1.zip
u-boot-92f36c8e74c19a7a84aca4dcea121eabc97b05f1.tar.gz
u-boot-92f36c8e74c19a7a84aca4dcea121eabc97b05f1.tar.bz2
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>
Diffstat (limited to 'configs')
-rw-r--r--configs/turris_omnia_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/turris_omnia_defconfig b/configs/turris_omnia_defconfig
index f860cf5..5f7b1a6 100644
--- a/configs/turris_omnia_defconfig
+++ b/configs/turris_omnia_defconfig
@@ -23,6 +23,7 @@ CONFIG_SPL=y
CONFIG_DEBUG_UART_BASE=0xd0012000
CONFIG_DEBUG_UART_CLOCK=250000000
CONFIG_DEBUG_UART=y
+CONFIG_OF_BOARD_SETUP=y
CONFIG_AHCI=y
CONFIG_DISTRO_DEFAULTS=y
CONFIG_FIT=y