cbmem: Break out CBMEM_ID to a separate header file

The cbmem util needs the CBMEM_IDs and the strings for
reporting and shares the cbmem.h file with coreboot. Split out
the IDs so for a simpler sharing and no worries about overlap of
standard libraries and other things in the header that coreboot
requires, but the tool does not.

Change-Id: Iba760c5f99c5e9838ba9426e284b59f02bcc507a
Signed-off-by: Marc Jones <marc.jones@se-eng.com>
Reviewed-on: http://review.coreboot.org/10430
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Marc Jones
2015-06-04 23:36:01 -06:00
parent 04746fc22c
commit a8bda437d1
3 changed files with 113 additions and 88 deletions

View File

@@ -46,7 +46,7 @@ typedef uint16_t u16;
typedef uint32_t u32;
typedef uint64_t u64;
#include "cbmem.h"
#include "cbmem_id.h"
#include "timestamp.h"
#define CBMEM_VERSION "1.1"