summaryrefslogtreecommitdiff
path: root/board/CZ.NIC/turris_omnia
diff options
context:
space:
mode:
authorMarek BehĂșn <marek.behun@nic.cz>2019-05-02 16:53:36 +0200
committerStefan Roese <sr@denx.de>2019-05-03 08:14:39 +0200
commit2151926b0886c17338cd7cba22ffb6dec65c5867 (patch)
treea898ed05ffc9f7997fba4f6e9ea8cab8030648de /board/CZ.NIC/turris_omnia
parente28872d68b477bbcc17a10252cf3e75dab1c6e32 (diff)
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 <marek.behun@nic.cz> Reviewed-by: Stefan Roese <sr@denx.de> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'board/CZ.NIC/turris_omnia')
-rw-r--r--board/CZ.NIC/turris_omnia/turris_omnia.c1
1 files changed, 0 insertions, 1 deletions
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;