summaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-05-10 11:39:54 -0600
committerTom Rini <trini@konsulko.com>2020-05-18 14:53:28 -0400
commitb79fdc76978515fba2c4f3b5b4f2e679c5ff1463 (patch)
treecf7b3d3cbcdd64f60a0a88edd1f921d7708aebf5 /env
parenta595a0e910960ccd4611719d5fb5c279859efaee (diff)
common: Drop flash.h from common header
Move this uncommon header out of the common header. Fix up some style problems in flash.h while we are here. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'env')
-rw-r--r--env/sf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/env/sf.c b/env/sf.c
index 64c57f2cdf..64fafdc7cf 100644
--- a/env/sf.c
+++ b/env/sf.c
@@ -12,11 +12,13 @@
#include <dm.h>
#include <env.h>
#include <env_internal.h>
+#include <flash.h>
#include <malloc.h>
#include <spi.h>
#include <spi_flash.h>
#include <search.h>
#include <errno.h>
+#include <uuid.h>
#include <dm/device-internal.h>
#include <u-boot/crc.h>