From 717ba748366cda19b7532897a5b8d59fc2cd25d9 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Sat, 12 May 2018 11:05:06 +0200 Subject: cbfs/payload type: Fix build warning and whitespace in name Currently, adding a payload to CBFS using the build system, the warning below is shown. W: Unknown type 'payload' ignored Update payload type from "simple elf" to "simple_elf" and rename the word "payload" to "simple_elf" in all Makefiles. Fixes: 4f5bed52 (cbfs: Rename CBFS_TYPE_PAYLOAD to CBFS_TYPE_SELF) Change-Id: Iccf6cc889b7ddd0c6ae04bda194fe5f9c00e495d Signed-off-by: Paul Menzel Signed-off-by: Patrick Rudolph Reviewed-on: https://review.coreboot.org/26240 Reviewed-by: Julius Werner Reviewed-by: Nico Huber Tested-by: build bot (Jenkins) --- util/cbfstool/cbfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/cbfstool/cbfs.h') diff --git a/util/cbfstool/cbfs.h b/util/cbfstool/cbfs.h index 1a4f101b57..b76e83eac1 100644 --- a/util/cbfstool/cbfs.h +++ b/util/cbfstool/cbfs.h @@ -204,7 +204,7 @@ static struct typedesc_t filetypes[] unused = { {CBFS_COMPONENT_BOOTBLOCK, "bootblock"}, {CBFS_COMPONENT_CBFSHEADER, "cbfs header"}, {CBFS_COMPONENT_STAGE, "stage"}, - {CBFS_COMPONENT_SELF, "simple elf"}, + {CBFS_COMPONENT_SELF, "simple_elf"}, {CBFS_COMPONENT_OPTIONROM, "optionrom"}, {CBFS_COMPONENT_BOOTSPLASH, "bootsplash"}, {CBFS_COMPONENT_RAW, "raw"}, -- cgit v1.2.3