Makefiles: update cbfs types from bare numbers to values
These values are found in util/cbfstool/cbfs.h. Change-Id: Iea4807b272c0309ac3283e5a3f5e135da6c5eb66 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/16646 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
parent
2ab981b87e
commit
8ea06512e6
|
@ -25,7 +25,7 @@ ifeq ($(CONFIG_HAVE_OPTION_TABLE),y)
|
|||
|
||||
cbfs-files-y += cmos_layout.bin
|
||||
cmos_layout.bin-file = $(obj)/cmos_layout.bin
|
||||
cmos_layout.bin-type = 0x01aa
|
||||
cmos_layout.bin-type = cmos_layout
|
||||
|
||||
$(obj)/cmos_layout.bin: $(NVRAMTOOL) $(top)/src/mainboard/$(MAINBOARDDIR)/cmos.layout
|
||||
@printf " OPTION $(subst $(obj)/,,$(@))\n"
|
||||
|
|
|
@ -8,7 +8,7 @@ ramstage-$(CONFIG_DRIVERS_MC146818) += mc146818rtc.c
|
|||
|
||||
cbfs-files-$(CONFIG_HAVE_CMOS_DEFAULT) += cmos.default
|
||||
cmos.default-file = $(CONFIG_CMOS_DEFAULT_FILE):nvramtool
|
||||
cmos.default-type = 0xaa
|
||||
cmos.default-type = cmos_default
|
||||
|
||||
smm-$(CONFIG_DRIVERS_MC146818) += mc146818rtc.c
|
||||
|
||||
|
|
|
@ -39,4 +39,4 @@ $(SPD_BIN): $(SPD_DEPS)
|
|||
|
||||
cbfs-files-y += spd.bin
|
||||
spd.bin-file := $(SPD_BIN)
|
||||
spd.bin-type := 0xab
|
||||
spd.bin-type := spd
|
||||
|
|
|
@ -50,4 +50,4 @@ $(SPD_BIN): $(SPD_DEPS)
|
|||
|
||||
cbfs-files-y += spd.bin
|
||||
spd.bin-file := $(SPD_BIN)
|
||||
spd.bin-type := 0xab
|
||||
spd.bin-type := spd
|
||||
|
|
|
@ -161,6 +161,6 @@ MTC_FILE = $(MTC_DIR)/$(CONFIG_MTC_FILE)
|
|||
MTC_FILE_CBFS = $(CONFIG_MTC_FILE)
|
||||
cbfs-files-$(CONFIG_HAVE_MTC) += $(MTC_FILE_CBFS)
|
||||
$(MTC_FILE_CBFS)-file := $(MTC_FILE)
|
||||
$(MTC_FILE_CBFS)-type := 0x50
|
||||
$(MTC_FILE_CBFS)-type := raw
|
||||
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue