google boards: Do not hardcode location of spd.bin
spd.bin can reside anywhere in CBFS, and we only use CBFS APIs to access and read it. As such, there is no need to hardcode it, and it can collide with mrc.bin or mrc.cache on some boards. Do not use a specific position for spd.bin, but instead let cbfstool find the optimal placement. Change-Id: I496094d3c0de708813494095b7ac4be8addb4112 Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-on: http://review.coreboot.org/5210 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Aaron Durbin <adurbin@google.com>
This commit is contained in:
parent
82e7d956ef
commit
76e25b66ae
|
@ -43,4 +43,3 @@ $(SPD_BIN): $(SPD_DEPS)
|
|||
cbfs-files-y += spd.bin
|
||||
spd.bin-file := $(SPD_BIN)
|
||||
spd.bin-type := 0xab
|
||||
spd.bin-position := 0xfffec000
|
||||
|
|
|
@ -48,4 +48,3 @@ $(SPD_BIN): $(SPD_DEPS)
|
|||
cbfs-files-y += spd.bin
|
||||
spd.bin-file := $(SPD_BIN)
|
||||
spd.bin-type := 0xab
|
||||
spd.bin-position := 0xfffec000
|
||||
|
|
|
@ -42,4 +42,3 @@ $(SPD_BIN): $(SPD_DEPS)
|
|||
cbfs-files-y += spd.bin
|
||||
spd.bin-file := $(SPD_BIN)
|
||||
spd.bin-type := 0xab
|
||||
spd.bin-position := 0xfffec000
|
||||
|
|
|
@ -49,4 +49,3 @@ $(SPD_BIN): $(SPD_DEPS)
|
|||
cbfs-files-y += spd.bin
|
||||
spd.bin-file := $(SPD_BIN)
|
||||
spd.bin-type := 0xab
|
||||
spd.bin-position := 0xfffec000
|
||||
|
|
|
@ -32,8 +32,4 @@ config HAVE_ME_BIN
|
|||
bool
|
||||
default n
|
||||
|
||||
config SPD_CBFS_ADDRESS
|
||||
hex "Location of SPD in CBFS"
|
||||
default 0xfffec000
|
||||
|
||||
endif # BOARD_INTEL_BAYLEYBAY
|
||||
|
|
|
@ -43,4 +43,3 @@ $(SPD_BIN): $(SPD_DEPS)
|
|||
cbfs-files-y += spd.bin
|
||||
spd.bin-file := $(SPD_BIN)
|
||||
spd.bin-type := 0xab
|
||||
spd.bin-position := $(CONFIG_SPD_CBFS_ADDRESS)
|
||||
|
|
|
@ -45,4 +45,3 @@ $(SPD_BIN): $(SPD_DEPS)
|
|||
cbfs-files-y += spd.bin
|
||||
spd.bin-file := $(SPD_BIN)
|
||||
spd.bin-type := 0xab
|
||||
spd.bin-position := 0xfffec000
|
||||
|
|
|
@ -28,4 +28,3 @@ $(SPD_BIN):
|
|||
cbfs-files-y += spd.bin
|
||||
spd.bin-file := $(SPD_BIN)
|
||||
spd.bin-type := 0xab
|
||||
spd.bin-position := 0xfffdc000
|
||||
|
|
Loading…
Reference in New Issue