prog_loaders: Remove CONFIG_MIRROR_PAYLOAD_TO_RAM_BEFORE_LOADING
This option is not used on any platform and is not user-visible. It seems that it has not been used by anyone for a long time (maybe ever). Let's get rid of it to make future CBFS / program loader development simpler. Signed-off-by: Julius Werner <jwerner@chromium.org> Change-Id: I2fa4d6d6f7c1d7a5ba552177b45e890b70008f36 Reviewed-on: https://review.coreboot.org/c/coreboot/+/39442 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
This commit is contained in:
committed by
Philipp Deppenwiese
parent
1645ecc8f6
commit
8355aa4de2
@ -170,10 +170,6 @@ fail:
|
||||
static struct prog global_payload =
|
||||
PROG_INIT(PROG_PAYLOAD, CONFIG_CBFS_PREFIX "/payload");
|
||||
|
||||
void __weak mirror_payload(struct prog *payload)
|
||||
{
|
||||
}
|
||||
|
||||
void payload_load(void)
|
||||
{
|
||||
struct prog *payload = &global_payload;
|
||||
@ -183,8 +179,6 @@ void payload_load(void)
|
||||
if (prog_locate(payload))
|
||||
goto out;
|
||||
|
||||
mirror_payload(payload);
|
||||
|
||||
switch (prog_cbfs_type(payload)) {
|
||||
case CBFS_TYPE_SELF: /* Simple ELF */
|
||||
selfload_check(payload, BM_MEM_RAM);
|
||||
|
Reference in New Issue
Block a user