From 9fb625ce05539fe6876a59ce1dcadb76b33c6f6e Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 1 Aug 2019 09:46:51 -0600 Subject: env: Move env_set() to env.h Move env_set() over to the new header file. Acked-by: Joe Hershberger Signed-off-by: Simon Glass --- board/siemens/common/factoryset.c | 1 + board/siemens/draco/board.c | 1 + board/siemens/pxm2/board.c | 1 + board/siemens/rut/board.c | 1 + board/siemens/taurus/taurus.c | 1 + 5 files changed, 5 insertions(+) (limited to 'board/siemens') diff --git a/board/siemens/common/factoryset.c b/board/siemens/common/factoryset.c index 9661542..cd224a8 100644 --- a/board/siemens/common/factoryset.c +++ b/board/siemens/common/factoryset.c @@ -8,6 +8,7 @@ #if !defined(CONFIG_SPL_BUILD) #include +#include #include #include #include diff --git a/board/siemens/draco/board.c b/board/siemens/draco/board.c index 95b89da..a6840b8 100644 --- a/board/siemens/draco/board.c +++ b/board/siemens/draco/board.c @@ -13,6 +13,7 @@ */ #include +#include #include #include #include diff --git a/board/siemens/pxm2/board.c b/board/siemens/pxm2/board.c index 1b9e83e..0a82a5e 100644 --- a/board/siemens/pxm2/board.c +++ b/board/siemens/pxm2/board.c @@ -13,6 +13,7 @@ */ #include +#include #include #include #include diff --git a/board/siemens/rut/board.c b/board/siemens/rut/board.c index 25e2ed2..539ecef 100644 --- a/board/siemens/rut/board.c +++ b/board/siemens/rut/board.c @@ -11,6 +11,7 @@ */ #include +#include #include #include #include diff --git a/board/siemens/taurus/taurus.c b/board/siemens/taurus/taurus.c index 6ea97eb..d0efb67 100644 --- a/board/siemens/taurus/taurus.c +++ b/board/siemens/taurus/taurus.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include -- cgit v1.1 From 7b51b576d6db714e8668a98de67e93651e18123c Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 1 Aug 2019 09:46:52 -0600 Subject: env: Move env_get() to env.h Move env_get() over to the new header file. Acked-by: Joe Hershberger Signed-off-by: Simon Glass --- board/siemens/common/board.c | 1 + 1 file changed, 1 insertion(+) (limited to 'board/siemens') diff --git a/board/siemens/common/board.c b/board/siemens/common/board.c index 622bde5..676935a 100644 --- a/board/siemens/common/board.c +++ b/board/siemens/common/board.c @@ -10,6 +10,7 @@ */ #include +#include #include #include #include -- cgit v1.1 From e7dcf5645f09504573f534b0fc9abbbc6ff8a5ad Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 1 Aug 2019 09:47:12 -0600 Subject: env: Drop environment.h header file where not needed This header file is now only used by files that access internal environment features. Drop it from various places where it is not needed. Acked-by: Joe Hershberger Signed-off-by: Simon Glass --- board/siemens/common/factoryset.c | 1 - board/siemens/pxm2/board.c | 1 - board/siemens/taurus/taurus.c | 1 - 3 files changed, 3 deletions(-) (limited to 'board/siemens') diff --git a/board/siemens/common/factoryset.c b/board/siemens/common/factoryset.c index cd224a8..049a65f 100644 --- a/board/siemens/common/factoryset.c +++ b/board/siemens/common/factoryset.c @@ -9,7 +9,6 @@ #include #include -#include #include #include #include diff --git a/board/siemens/pxm2/board.c b/board/siemens/pxm2/board.c index 0a82a5e..30f0902 100644 --- a/board/siemens/pxm2/board.c +++ b/board/siemens/pxm2/board.c @@ -14,7 +14,6 @@ #include #include -#include #include #include #include diff --git a/board/siemens/taurus/taurus.c b/board/siemens/taurus/taurus.c index d0efb67..1cf1f9e 100644 --- a/board/siemens/taurus/taurus.c +++ b/board/siemens/taurus/taurus.c @@ -15,7 +15,6 @@ #include #include #include -#include #include #include #include -- cgit v1.1