summaryrefslogtreecommitdiff
path: root/drivers/dfu
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 /drivers/dfu
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 'drivers/dfu')
-rw-r--r--drivers/dfu/dfu_sf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dfu/dfu_sf.c b/drivers/dfu/dfu_sf.c
index 0fdbfae434..318e43c179 100644
--- a/drivers/dfu/dfu_sf.c
+++ b/drivers/dfu/dfu_sf.c
@@ -4,6 +4,7 @@
*/
#include <common.h>
+#include <flash.h>
#include <malloc.h>
#include <errno.h>
#include <div64.h>