cbmem: add reference code ids
In order to identify the ram used in cbmem for
reference code blobs add common ids to be consumed
by downstream users.
BUG=chrome-os-partner:22866
BRANCH=None
TEST=Built and booted with ref code support. Noted reference
code entries in cbmem.
Change-Id: Iae3f0c2c1ffdb2eb0e82a52ee459d25db44c1904
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/174424
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
This commit is contained in:
parent
818fd6e83e
commit
7cda06bfcd
2 changed files with 4 additions and 0 deletions
|
|
@ -70,6 +70,8 @@
|
|||
#define CBMEM_ID_ROOT 0xff4007ff
|
||||
#define CBMEM_ID_VBOOT_HANDOFF 0x780074f0
|
||||
#define CBMEM_ID_CAR_GLOBALS 0xcac4e6a3
|
||||
#define CBMEM_ID_REFCODE 0x04efc0de
|
||||
#define CBMEM_ID_REFCODE_CACHE 0x4efc0de5
|
||||
#define CBMEM_ID_NONE 0x00000000
|
||||
|
||||
#ifndef __ASSEMBLER__
|
||||
|
|
|
|||
|
|
@ -47,6 +47,8 @@ static struct cbmem_id_to_name {
|
|||
{ CBMEM_ID_ROOT, "CBMEM ROOT " },
|
||||
{ CBMEM_ID_VBOOT_HANDOFF, "VBOOT " },
|
||||
{ CBMEM_ID_CAR_GLOBALS, "CAR GLOBALS" },
|
||||
{ CBMEM_ID_REFCODE, "REFCODE " },
|
||||
{ CBMEM_ID_REFCODE_CACHE, "REFCODE $ " },
|
||||
};
|
||||
|
||||
void cbmem_print_entry(int n, u32 id, u64 base, u64 size)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue