Revert "soc/amd/glinda/Makefile.mk: Use relative address for APOB_NV"
This reverts commitd263e0bd92. Commita7eb390796("mb/*/*/*.fmd: Start flash at 0") changed the FMAP to always begin at 0 and not at the x86 MMIO address where it gets mapped, so the commit reverted by this patch isn't needed any more after the FMAP change has landed. Change-Id: I6d866ce3a3395f9fe70c47892a224e89ff89b20e Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/87673 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Maximilian Brune <maximilian.brune@9elements.com>
This commit is contained in:
parent
d263e0bd92
commit
6f9de346ae
1 changed files with 1 additions and 3 deletions
|
|
@ -126,13 +126,11 @@ PSP_ELF_FILE=$(objcbfs)/bootblock.elf
|
|||
PSP_BIOSBIN_SIZE=$(shell $(READELF_bootblock) -Wl $(PSP_ELF_FILE) | grep LOAD | awk '{print $$5}')
|
||||
PSP_BIOSBIN_DEST=$(shell $(READELF_bootblock) -Wl $(PSP_ELF_FILE) | grep LOAD | awk '{print $$3}')
|
||||
|
||||
FMAP_FLASH_START=$(call get_fmap_value,FMAP_SECTION_FLASH_START)
|
||||
ifneq ($(CONFIG_SOC_AMD_COMMON_BLOCK_APOB_NV_DISABLE),y)
|
||||
# type = 0x63 - construct APOB NV base/size from flash map
|
||||
# The flashmap section used for this is expected to be named RW_MRC_CACHE
|
||||
APOB_NV_SIZE=$(call get_fmap_value,FMAP_SECTION_RW_MRC_CACHE_SIZE)
|
||||
APOB_NV_BASE=$(call _tohex,$(call int-subtract, \
|
||||
$(call get_fmap_value,FMAP_SECTION_RW_MRC_CACHE_START) $(FMAP_FLASH_START)))
|
||||
APOB_NV_BASE=$(call get_fmap_value,FMAP_SECTION_RW_MRC_CACHE_START)
|
||||
endif # !CONFIG_SOC_AMD_COMMON_BLOCK_APOB_NV_DISABLE
|
||||
|
||||
ifeq ($(CONFIG_VBOOT_STARTS_BEFORE_BOOTBLOCK),y)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue