summaryrefslogtreecommitdiff
path: root/board/phytec
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-08-01 09:46:51 -0600
committerTom Rini <trini@konsulko.com>2019-08-11 16:43:41 -0400
commit9fb625ce05539fe6876a59ce1dcadb76b33c6f6e (patch)
treec80c104efa35776e942d3772db3514debbd24e61 /board/phytec
parentcdbff9fc4002fdd47181088d5abe90e5f2fa1904 (diff)
env: Move env_set() to env.h
Move env_set() over to the new header file. Acked-by: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/phytec')
-rw-r--r--board/phytec/pcm051/board.c1
-rw-r--r--board/phytec/pcm052/pcm052.c1
-rw-r--r--board/phytec/pfla02/pfla02.c1
-rw-r--r--board/phytec/phycore_rk3288/phycore-rk3288.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/board/phytec/pcm051/board.c b/board/phytec/pcm051/board.c
index e720fdc0d9..0cb85e940c 100644
--- a/board/phytec/pcm051/board.c
+++ b/board/phytec/pcm051/board.c
@@ -9,6 +9,7 @@
*/
#include <common.h>
+#include <env.h>
#include <environment.h>
#include <errno.h>
#include <spl.h>
diff --git a/board/phytec/pcm052/pcm052.c b/board/phytec/pcm052/pcm052.c
index c30df5df9d..dffd03786d 100644
--- a/board/phytec/pcm052/pcm052.c
+++ b/board/phytec/pcm052/pcm052.c
@@ -13,6 +13,7 @@
#include <asm/arch/ddrmc-vf610.h>
#include <asm/arch/crm_regs.h>
#include <asm/arch/clock.h>
+#include <env.h>
#include <led.h>
#include <environment.h>
#include <miiphy.h>
diff --git a/board/phytec/pfla02/pfla02.c b/board/phytec/pfla02/pfla02.c
index 753cf2b87d..ae9ffe0390 100644
--- a/board/phytec/pfla02/pfla02.c
+++ b/board/phytec/pfla02/pfla02.c
@@ -15,6 +15,7 @@
#include <asm/mach-imx/boot_mode.h>
#include <asm/mach-imx/mxc_i2c.h>
#include <asm/mach-imx/spi.h>
+#include <env.h>
#include <linux/errno.h>
#include <asm/gpio.h>
#include <mmc.h>
diff --git a/board/phytec/phycore_rk3288/phycore-rk3288.c b/board/phytec/phycore_rk3288/phycore-rk3288.c
index 92f3bd25f4..9f945e829d 100644
--- a/board/phytec/phycore_rk3288/phycore-rk3288.c
+++ b/board/phytec/phycore_rk3288/phycore-rk3288.c
@@ -7,6 +7,7 @@
#include <asm/io.h>
#include <common.h>
#include <dm.h>
+#include <env.h>
#include <environment.h>
#include <fdtdec.h>
#include <i2c.h>