Angel Pons | ebda03e | 2020-04-02 23:48:05 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Marc Jones | a8bda43 | 2015-06-04 23:36:01 -0600 | [diff] [blame] | 2 | |
| 3 | #ifndef _CBMEM_ID_H_ |
| 4 | #define _CBMEM_ID_H_ |
| 5 | |
| 6 | #define CBMEM_ID_ACPI 0x41435049 |
| 7 | #define CBMEM_ID_ACPI_GNVS 0x474e5653 |
Duncan Laurie | c1c6060 | 2019-04-18 16:30:33 -0700 | [diff] [blame] | 8 | #define CBMEM_ID_ACPI_UCSI 0x55435349 |
Aaron Durbin | 7f8afe0 | 2016-03-18 12:21:23 -0500 | [diff] [blame] | 9 | #define CBMEM_ID_AFTER_CAR 0xc4787a93 |
Marc Jones | a8bda43 | 2015-06-04 23:36:01 -0600 | [diff] [blame] | 10 | #define CBMEM_ID_AGESA_RUNTIME 0x41474553 |
| 11 | #define CBMEM_ID_AMDMCT_MEMINFO 0x494D454E |
| 12 | #define CBMEM_ID_CAR_GLOBALS 0xcac4e6a3 |
| 13 | #define CBMEM_ID_CBTABLE 0x43425442 |
Aaron Durbin | f46a9a0 | 2017-10-17 14:33:05 -0600 | [diff] [blame] | 14 | #define CBMEM_ID_CBTABLE_FWD 0x43425443 |
Furquan Shaikh | 00a8ed8 | 2020-06-09 20:27:12 -0700 | [diff] [blame] | 15 | #define CBMEM_ID_CB_EARLY_DRAM 0x4544524D |
Marc Jones | a8bda43 | 2015-06-04 23:36:01 -0600 | [diff] [blame] | 16 | #define CBMEM_ID_CONSOLE 0x434f4e53 |
| 17 | #define CBMEM_ID_COVERAGE 0x47434f56 |
| 18 | #define CBMEM_ID_EHCI_DEBUG 0xe4c1deb9 |
| 19 | #define CBMEM_ID_ELOG 0x454c4f47 |
| 20 | #define CBMEM_ID_FREESPACE 0x46524545 |
| 21 | #define CBMEM_ID_FSP_RESERVED_MEMORY 0x46535052 |
| 22 | #define CBMEM_ID_FSP_RUNTIME 0x52505346 |
| 23 | #define CBMEM_ID_GDT 0x4c474454 |
| 24 | #define CBMEM_ID_HOB_POINTER 0x484f4221 |
| 25 | #define CBMEM_ID_IGD_OPREGION 0x4f444749 |
| 26 | #define CBMEM_ID_IMD_ROOT 0xff4017ff |
| 27 | #define CBMEM_ID_IMD_SMALL 0x53a11439 |
| 28 | #define CBMEM_ID_MEMINFO 0x494D454D |
Pratik Prajapati | b90b94d | 2015-09-11 13:51:38 -0700 | [diff] [blame] | 29 | #define CBMEM_ID_MMA_DATA 0x4D4D4144 |
Bora Guvendik | b7fe7a1 | 2018-03-08 16:32:43 -0800 | [diff] [blame] | 30 | #define CBMEM_ID_MMC_STATUS 0x4d4d4353 |
Marc Jones | a8bda43 | 2015-06-04 23:36:01 -0600 | [diff] [blame] | 31 | #define CBMEM_ID_MPTABLE 0x534d5054 |
| 32 | #define CBMEM_ID_MRCDATA 0x4d524344 |
Andrey Petrov | ef9a9ea | 2016-11-08 08:30:06 -0800 | [diff] [blame] | 33 | #define CBMEM_ID_VAR_MRCDATA 0x4d524345 |
Furquan Shaikh | 69139e0 | 2015-06-10 20:43:24 -0700 | [diff] [blame] | 34 | #define CBMEM_ID_MTC 0xcb31d31c |
Marc Jones | a8bda43 | 2015-06-04 23:36:01 -0600 | [diff] [blame] | 35 | #define CBMEM_ID_NONE 0x00000000 |
| 36 | #define CBMEM_ID_PIRQ 0x49525154 |
| 37 | #define CBMEM_ID_POWER_STATE 0x50535454 |
| 38 | #define CBMEM_ID_RAM_OOPS 0x05430095 |
| 39 | #define CBMEM_ID_RAMSTAGE 0x9a357a9e |
| 40 | #define CBMEM_ID_RAMSTAGE_CACHE 0x9a3ca54e |
| 41 | #define CBMEM_ID_REFCODE 0x04efc0de |
| 42 | #define CBMEM_ID_REFCODE_CACHE 0x4efc0de5 |
| 43 | #define CBMEM_ID_RESUME 0x5245534d |
| 44 | #define CBMEM_ID_RESUME_SCRATCH 0x52455343 |
| 45 | #define CBMEM_ID_ROMSTAGE_INFO 0x47545352 |
| 46 | #define CBMEM_ID_ROMSTAGE_RAM_STACK 0x90357ac4 |
| 47 | #define CBMEM_ID_ROOT 0xff4007ff |
| 48 | #define CBMEM_ID_SMBIOS 0x534d4254 |
| 49 | #define CBMEM_ID_SMM_SAVE_SPACE 0x07e9acee |
Marc Jones | a8bda43 | 2015-06-04 23:36:01 -0600 | [diff] [blame] | 50 | #define CBMEM_ID_STAGEx_META 0x57a9e000 |
| 51 | #define CBMEM_ID_STAGEx_CACHE 0x57a9e100 |
Marshall Dawson | 8d6e0e0 | 2018-01-30 15:33:23 -0700 | [diff] [blame] | 52 | #define CBMEM_ID_STAGEx_RAW 0x57a9e200 |
Lee Leahy | 13c6dbf | 2017-04-14 15:33:26 -0700 | [diff] [blame] | 53 | #define CBMEM_ID_STORAGE_DATA 0x53746f72 |
Paul Menzel | 6757267 | 2015-07-08 22:36:22 +0200 | [diff] [blame] | 54 | #define CBMEM_ID_TCPA_LOG 0x54435041 |
Philipp Deppenwiese | 791ba97 | 2018-07-30 01:15:20 +0200 | [diff] [blame] | 55 | #define CBMEM_ID_TCPA_TCG_LOG 0x54445041 |
Marc Jones | a8bda43 | 2015-06-04 23:36:01 -0600 | [diff] [blame] | 56 | #define CBMEM_ID_TIMESTAMP 0x54494d45 |
Michał Żygowski | 6e8692e | 2018-11-22 16:57:50 +0100 | [diff] [blame] | 57 | #define CBMEM_ID_TPM2_TCG_LOG 0x54504d32 |
Joel Kitching | 452aaae | 2019-06-16 17:29:52 +0800 | [diff] [blame] | 58 | #define CBMEM_ID_VBOOT_HANDOFF 0x780074f0 /* deprecated */ |
Joel Kitching | 0bcee88 | 2019-02-11 15:37:49 +0800 | [diff] [blame] | 59 | #define CBMEM_ID_VBOOT_SEL_REG 0x780074f1 /* deprecated */ |
Marc Jones | a8bda43 | 2015-06-04 23:36:01 -0600 | [diff] [blame] | 60 | #define CBMEM_ID_VBOOT_WORKBUF 0x78007343 |
Hung-Te Lin | b15a0d0 | 2015-07-13 15:49:57 +0800 | [diff] [blame] | 61 | #define CBMEM_ID_VPD 0x56504420 |
Marc Jones | a8bda43 | 2015-06-04 23:36:01 -0600 | [diff] [blame] | 62 | #define CBMEM_ID_WIFI_CALIBRATION 0x57494649 |
Joel Kitching | 8172666 | 2020-02-08 12:23:23 +0800 | [diff] [blame] | 63 | #define CBMEM_ID_EC_HOSTEVENT 0x63ccbbc3 /* deprecated */ |
Abhay Kumar | b1feb51 | 2016-11-23 10:56:48 -0800 | [diff] [blame] | 64 | #define CBMEM_ID_EXT_VBT 0x69866684 |
Patrick Rudolph | 00c0cd2 | 2017-06-06 19:30:55 +0200 | [diff] [blame] | 65 | #define CBMEM_ID_ROM0 0x524f4d30 |
| 66 | #define CBMEM_ID_ROM1 0x524f4d31 |
| 67 | #define CBMEM_ID_ROM2 0x524f4d32 |
| 68 | #define CBMEM_ID_ROM3 0x524f4d33 |
Patrick Rudolph | 6d787c2 | 2019-09-12 13:21:37 +0200 | [diff] [blame] | 69 | #define CBMEM_ID_FMAP 0x464d4150 |
Frans Hendriks | 50b999f | 2019-11-08 13:55:45 +0100 | [diff] [blame] | 70 | #define CBMEM_ID_FSP_LOGO 0x4c4f474f |
Marc Jones | a8bda43 | 2015-06-04 23:36:01 -0600 | [diff] [blame] | 71 | |
| 72 | #define CBMEM_ID_TO_NAME_TABLE \ |
| 73 | { CBMEM_ID_ACPI, "ACPI " }, \ |
| 74 | { CBMEM_ID_ACPI_GNVS, "ACPI GNVS " }, \ |
Duncan Laurie | c1c6060 | 2019-04-18 16:30:33 -0700 | [diff] [blame] | 75 | { CBMEM_ID_ACPI_UCSI, "ACPI UCSI " }, \ |
Marc Jones | a8bda43 | 2015-06-04 23:36:01 -0600 | [diff] [blame] | 76 | { CBMEM_ID_AGESA_RUNTIME, "AGESA RSVD " }, \ |
Aaron Durbin | 28a4e0e | 2016-07-18 10:49:14 -0500 | [diff] [blame] | 77 | { CBMEM_ID_AFTER_CAR, "AFTER CAR " }, \ |
Marc Jones | a8bda43 | 2015-06-04 23:36:01 -0600 | [diff] [blame] | 78 | { CBMEM_ID_AMDMCT_MEMINFO, "AMDMEM INFO" }, \ |
| 79 | { CBMEM_ID_CAR_GLOBALS, "CAR GLOBALS" }, \ |
| 80 | { CBMEM_ID_CBTABLE, "COREBOOT " }, \ |
Aaron Durbin | f46a9a0 | 2017-10-17 14:33:05 -0600 | [diff] [blame] | 81 | { CBMEM_ID_CBTABLE_FWD, "COREBOOTFWD" }, \ |
Furquan Shaikh | 00a8ed8 | 2020-06-09 20:27:12 -0700 | [diff] [blame] | 82 | { CBMEM_ID_CB_EARLY_DRAM, "EARLY DRAM USAGE" }, \ |
Marc Jones | a8bda43 | 2015-06-04 23:36:01 -0600 | [diff] [blame] | 83 | { CBMEM_ID_CONSOLE, "CONSOLE " }, \ |
| 84 | { CBMEM_ID_COVERAGE, "COVERAGE " }, \ |
| 85 | { CBMEM_ID_EHCI_DEBUG, "USBDEBUG " }, \ |
| 86 | { CBMEM_ID_ELOG, "ELOG " }, \ |
| 87 | { CBMEM_ID_FREESPACE, "FREE SPACE " }, \ |
| 88 | { CBMEM_ID_FSP_RESERVED_MEMORY, "FSP MEMORY " }, \ |
| 89 | { CBMEM_ID_FSP_RUNTIME, "FSP RUNTIME" }, \ |
| 90 | { CBMEM_ID_GDT, "GDT " }, \ |
Ben Gardner | acd47ae | 2015-11-19 10:26:11 -0600 | [diff] [blame] | 91 | { CBMEM_ID_HOB_POINTER, "HOB " }, \ |
Marc Jones | a8bda43 | 2015-06-04 23:36:01 -0600 | [diff] [blame] | 92 | { CBMEM_ID_IMD_ROOT, "IMD ROOT " }, \ |
| 93 | { CBMEM_ID_IMD_SMALL, "IMD SMALL " }, \ |
| 94 | { CBMEM_ID_MEMINFO, "MEM INFO " }, \ |
Pratik Prajapati | b90b94d | 2015-09-11 13:51:38 -0700 | [diff] [blame] | 95 | { CBMEM_ID_MMA_DATA, "MMA DATA " }, \ |
Bora Guvendik | b7fe7a1 | 2018-03-08 16:32:43 -0800 | [diff] [blame] | 96 | { CBMEM_ID_MMC_STATUS, "MMC STATUS " }, \ |
Marc Jones | a8bda43 | 2015-06-04 23:36:01 -0600 | [diff] [blame] | 97 | { CBMEM_ID_MPTABLE, "SMP TABLE " }, \ |
| 98 | { CBMEM_ID_MRCDATA, "MRC DATA " }, \ |
Andrey Petrov | ef9a9ea | 2016-11-08 08:30:06 -0800 | [diff] [blame] | 99 | { CBMEM_ID_VAR_MRCDATA, "VARMRC DATA" }, \ |
Furquan Shaikh | 69139e0 | 2015-06-10 20:43:24 -0700 | [diff] [blame] | 100 | { CBMEM_ID_MTC, "MTC " }, \ |
Marc Jones | a8bda43 | 2015-06-04 23:36:01 -0600 | [diff] [blame] | 101 | { CBMEM_ID_PIRQ, "IRQ TABLE " }, \ |
| 102 | { CBMEM_ID_POWER_STATE, "POWER STATE" }, \ |
| 103 | { CBMEM_ID_RAM_OOPS, "RAMOOPS " }, \ |
| 104 | { CBMEM_ID_RAMSTAGE_CACHE, "RAMSTAGE $ " }, \ |
| 105 | { CBMEM_ID_RAMSTAGE, "RAMSTAGE " }, \ |
| 106 | { CBMEM_ID_REFCODE_CACHE, "REFCODE $ " }, \ |
| 107 | { CBMEM_ID_REFCODE, "REFCODE " }, \ |
| 108 | { CBMEM_ID_RESUME, "ACPI RESUME" }, \ |
| 109 | { CBMEM_ID_RESUME_SCRATCH, "ACPISCRATCH" }, \ |
| 110 | { CBMEM_ID_ROMSTAGE_INFO, "ROMSTAGE " }, \ |
| 111 | { CBMEM_ID_ROMSTAGE_RAM_STACK, "ROMSTG STCK" }, \ |
| 112 | { CBMEM_ID_ROOT, "CBMEM ROOT " }, \ |
| 113 | { CBMEM_ID_SMBIOS, "SMBIOS " }, \ |
| 114 | { CBMEM_ID_SMM_SAVE_SPACE, "SMM BACKUP " }, \ |
Lee Leahy | 13c6dbf | 2017-04-14 15:33:26 -0700 | [diff] [blame] | 115 | { CBMEM_ID_STORAGE_DATA, "SD/MMC/eMMC" }, \ |
Paul Menzel | acf411d | 2015-07-08 22:35:21 +0200 | [diff] [blame] | 116 | { CBMEM_ID_TCPA_LOG, "TCPA LOG " }, \ |
Philipp Deppenwiese | 791ba97 | 2018-07-30 01:15:20 +0200 | [diff] [blame] | 117 | { CBMEM_ID_TCPA_TCG_LOG, "TCPA TCGLOG" }, \ |
Marc Jones | a8bda43 | 2015-06-04 23:36:01 -0600 | [diff] [blame] | 118 | { CBMEM_ID_TIMESTAMP, "TIME STAMP " }, \ |
Michał Żygowski | 6e8692e | 2018-11-22 16:57:50 +0100 | [diff] [blame] | 119 | { CBMEM_ID_TPM2_TCG_LOG, "TPM2 TCGLOG" }, \ |
Marc Jones | a8bda43 | 2015-06-04 23:36:01 -0600 | [diff] [blame] | 120 | { CBMEM_ID_VBOOT_HANDOFF, "VBOOT " }, \ |
Aaron Durbin | b593366 | 2015-10-07 16:03:41 -0500 | [diff] [blame] | 121 | { CBMEM_ID_VBOOT_SEL_REG, "VBOOT SEL " }, \ |
Marc Jones | a8bda43 | 2015-06-04 23:36:01 -0600 | [diff] [blame] | 122 | { CBMEM_ID_VBOOT_WORKBUF, "VBOOT WORK " }, \ |
Hung-Te Lin | b15a0d0 | 2015-07-13 15:49:57 +0800 | [diff] [blame] | 123 | { CBMEM_ID_VPD, "VPD " }, \ |
Furquan Shaikh | b36cb079 | 2016-11-11 13:54:36 -0800 | [diff] [blame] | 124 | { CBMEM_ID_WIFI_CALIBRATION, "WIFI CLBR " }, \ |
Abhay Kumar | b1feb51 | 2016-11-23 10:56:48 -0800 | [diff] [blame] | 125 | { CBMEM_ID_EC_HOSTEVENT, "EC HOSTEVENT"}, \ |
Patrick Rudolph | 00c0cd2 | 2017-06-06 19:30:55 +0200 | [diff] [blame] | 126 | { CBMEM_ID_EXT_VBT, "EXT VBT"}, \ |
| 127 | { CBMEM_ID_ROM0, "VGA ROM #0 "}, \ |
| 128 | { CBMEM_ID_ROM1, "VGA ROM #1 "}, \ |
| 129 | { CBMEM_ID_ROM2, "VGA ROM #2 "}, \ |
Patrick Rudolph | 6d787c2 | 2019-09-12 13:21:37 +0200 | [diff] [blame] | 130 | { CBMEM_ID_ROM3, "VGA ROM #3 "}, \ |
| 131 | { CBMEM_ID_FMAP, "FMAP "}, |
Marc Jones | a8bda43 | 2015-06-04 23:36:01 -0600 | [diff] [blame] | 132 | #endif /* _CBMEM_ID_H_ */ |