From 977587abf8b212dbf9297126b8dd31076c83d6b7 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Thu, 9 Jul 2015 13:34:40 +0200 Subject: fmap: publish find_fmap_directory() The fmap directory can be useful to pass to the payload. For that, we need to be able to get it. Change-Id: Ibe0be73bb4fe28afb16d4d215b979eb0be369645 Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/10866 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer Reviewed-by: Aaron Durbin --- src/lib/fmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/fmap.c b/src/lib/fmap.c index f2087c3f69..dea34bc02b 100644 --- a/src/lib/fmap.c +++ b/src/lib/fmap.c @@ -28,7 +28,7 @@ * See http://code.google.com/p/flashmap/ for more information on FMAP. */ -static int find_fmap_directory(struct region_device *fmrd) +int find_fmap_directory(struct region_device *fmrd) { const struct region_device *boot; struct fmap *fmap; -- cgit v1.2.3