soc/intel/common: disable paging if PAGING_IN_CACHE_AS_RAM enabled
[coreboot.git] / util / cbfstool / fmap_from_fmd.h
blob6159cfa3181b431fece8a6832d2b933aa8600eaf
1 /*
2 * fmap_from_fmd.h, tool to distill flashmap descriptors into raw FMAP sections
4 * Copyright (C) 2015 Google, Inc.
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
16 #ifndef FMAP_FROM_FMD_H_
17 #define FMAP_FROM_FMD_H_
19 #include "flashmap/fmap.h"
20 #include "fmd.h"
22 /**
23 * @param desc The descriptor tree serving as a data source
24 * @return The FMAP section, which is also owned by the caller and must
25 * later be released with a call to fmap_destroy()
27 struct fmap *fmap_from_fmd(const struct flashmap_descriptor *desc);
29 #endif