coreboot: introduce commonlib
Instead of reaching into src/include and re-writing code allow for cleaner code sharing within coreboot and its utilities. The additional thing needed at this point is for the utilities to provide a printk() declaration within a <console/console.h> file. That way code which uses printk() can than be mapped properly to verbosity of utility parameters. Change-Id: I9e46a279569733336bc0a018aed96bc924c07cdd Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/11592 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
This commit is contained in:
parent
4b93a4f47a
commit
dc9f5cd546
85 changed files with 619 additions and 582 deletions
|
|
@ -20,8 +20,8 @@
|
|||
#ifndef _FMAP_H_
|
||||
#define _FMAP_H_
|
||||
|
||||
#include <region.h>
|
||||
#include <fmap_serialized.h>
|
||||
#include <commonlib/region.h>
|
||||
#include <commonlib/fmap_serialized.h>
|
||||
|
||||
/* Locate the fmap directory. Return 0 on success, < 0 on error. */
|
||||
int find_fmap_directory(struct region_device *fmrd);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue