From: Marek BehĂșn Date: Thu, 2 May 2019 14:53:36 +0000 (+0200) Subject: arm: mvebu: turris_omnia: fix regdomain env var setting X-Git-Tag: v2019.07-rc2~26^2~4 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2151926b0886c17338cd7cba22ffb6dec65c5867;p=oweals%2Fu-boot.git arm: mvebu: turris_omnia: fix regdomain env var setting The regdomain environment variable is set according to value read from EEPROM. This has to be done in board_late_init, after the environment variables are read from SPI. Select CONFIG_BOARD_LATE_INIT in Kconfig for the Turris Omnia target. Signed-off-by: Marek BehĂșn Reviewed-by: Stefan Roese Signed-off-by: Stefan Roese --- diff --git a/board/CZ.NIC/turris_omnia/turris_omnia.c b/board/CZ.NIC/turris_omnia/turris_omnia.c index b073a985a5..af43ee23d9 100644 --- a/board/CZ.NIC/turris_omnia/turris_omnia.c +++ b/board/CZ.NIC/turris_omnia/turris_omnia.c @@ -364,7 +364,6 @@ int board_init(void) #ifndef CONFIG_SPL_BUILD disable_mcu_watchdog(); - set_regdomain(); #endif return 0;