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:
@@ -20,7 +20,7 @@
|
||||
#ifndef __INCLUDE_ARCH_CBFS__
|
||||
#define __INCLUDE_ARCH_CBFS__
|
||||
|
||||
#include <cbfs_serialized.h>
|
||||
#include <commonlib/cbfs_serialized.h>
|
||||
#include <endian.h>
|
||||
|
||||
#define CBFS_SUBHEADER(_p) ( (void *) ((((uint8_t *) (_p)) + ntohl((_p)->offset))) )
|
||||
|
@@ -20,7 +20,7 @@
|
||||
#include <build.h>
|
||||
#include <console/streams.h>
|
||||
#include <console/early_print.h>
|
||||
#include <console/loglevel.h>
|
||||
#include <commonlib/loglevel.h>
|
||||
|
||||
/* Include the sources. */
|
||||
#if CONFIG_CONSOLE_SERIAL && CONFIG_DRIVERS_UART_8250IO
|
||||
|
Reference in New Issue
Block a user