summaryrefslogtreecommitdiff
path: root/common
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 /common
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 'common')
-rw-r--r--common/board_r.c1
-rw-r--r--common/flash.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/common/board_r.c b/common/board_r.c
index 96034b874e..bd074ebaa1 100644
--- a/common/board_r.c
+++ b/common/board_r.c
@@ -13,6 +13,7 @@
#include <api.h>
#include <cpu_func.h>
#include <exports.h>
+#include <flash.h>
#include <hang.h>
#include <image.h>
#include <irq_func.h>
diff --git a/common/flash.c b/common/flash.c
index 9601716c3a..4a28ac5d34 100644
--- a/common/flash.c
+++ b/common/flash.c
@@ -8,6 +8,7 @@
#include <common.h>
#include <flash.h>
+#include <uuid.h>
#include <mtd/cfi_flash.h>