aboutsummaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-05-10 11:39:58 -0600
committerTom Rini <trini@konsulko.com>2020-05-18 17:33:33 -0400
commite6f6f9e64882ddf242437c73fdd9ff06a8eb7c21 (patch)
tree201c26b1dd27d7e77a667e16497a1d87da09099b /env
parent0528979fa7ab7853faaf2ecf34b7721dd4c0b383 (diff)
downloadu-boot-e6f6f9e64882ddf242437c73fdd9ff06a8eb7c21.zip
u-boot-e6f6f9e64882ddf242437c73fdd9ff06a8eb7c21.tar.gz
u-boot-e6f6f9e64882ddf242437c73fdd9ff06a8eb7c21.tar.bz2
common: Drop part.h from common header
Move this uncommon header out of the common header. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'env')
-rw-r--r--env/ext4.c1
-rw-r--r--env/fat.c6
2 files changed, 4 insertions, 3 deletions
diff --git a/env/ext4.c b/env/ext4.c
index 6b5c4d8..8e90bb7 100644
--- a/env/ext4.c
+++ b/env/ext4.c
@@ -19,6 +19,7 @@
*/
#include <common.h>
+#include <part.h>
#include <command.h>
#include <env.h>
diff --git a/env/fat.c b/env/fat.c
index f13b88b..35a1955 100644
--- a/env/fat.c
+++ b/env/fat.c
@@ -7,18 +7,18 @@
*/
#include <common.h>
-#include <asm/cache.h>
-
#include <command.h>
#include <env.h>
#include <env_internal.h>
-#include <linux/stddef.h>
+#include <part.h>
#include <malloc.h>
#include <memalign.h>
#include <search.h>
#include <errno.h>
#include <fat.h>
#include <mmc.h>
+#include <asm/cache.h>
+#include <linux/stddef.h>
#ifdef CONFIG_SPL_BUILD
/* TODO(sjg@chromium.org): Figure out why this is needed */