summaryrefslogtreecommitdiff
path: root/src/include/bootmem.h
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2021-01-11 16:07:02 -0800
committerJulius Werner <jwerner@chromium.org>2021-03-17 00:13:53 +0000
commit965846fcd0657bead026056e9bdc3625a534552e (patch)
tree1ffd1fe6f6b252087121fa4934d1d9c2d6c112ae /src/include/bootmem.h
parent1de8708fe50339162b4a59039e0ac45e6f3ffdd0 (diff)
downloadcoreboot-965846fcd0657bead026056e9bdc3625a534552e.tar.xz
cbfs: Remove prog_locate() for payloads (SELF and FIT)
This patch removes the prog_locate() call for all instances of loading payload formats (SELF and FIT), as the previous patch did for stages. Signed-off-by: Julius Werner <jwerner@chromium.org> Change-Id: I582b37f36fe6f9f26975490a823e85b130ba49a2 Reviewed-on: https://review.coreboot.org/c/coreboot/+/49336 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/include/bootmem.h')
-rw-r--r--src/include/bootmem.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/bootmem.h b/src/include/bootmem.h
index 0625bbb3bc..6ccdd884aa 100644
--- a/src/include/bootmem.h
+++ b/src/include/bootmem.h
@@ -17,6 +17,8 @@
* Start at 0x10000 to make sure that the caller doesn't provide LB_MEM tags.
*/
enum bootmem_type {
+ BM_MEM_INVALID = 0, /* Invalid type (used in optional arguments). */
+
BM_MEM_FIRST = 0x10000, /* First entry in this list */
BM_MEM_RAM, /* Memory anyone can use */
BM_MEM_RESERVED, /* Don't use this memory region */