2016-11-26 03:16:02 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2016 Google, Inc
|
|
|
|
* Written by Simon Glass <sjg@chromium.org>
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <config.h>
|
|
|
|
|
|
|
|
#ifdef CONFIG_ROM_SIZE
|
|
|
|
/ {
|
|
|
|
binman {
|
|
|
|
filename = "u-boot.rom";
|
|
|
|
end-at-4gb;
|
|
|
|
sort-by-pos;
|
|
|
|
pad-byte = <0xff>;
|
|
|
|
size = <CONFIG_ROM_SIZE>;
|
|
|
|
#ifdef CONFIG_HAVE_INTEL_ME
|
|
|
|
intel-descriptor {
|
2017-03-30 10:58:11 +00:00
|
|
|
filename = CONFIG_FLASH_DESCRIPTOR_FILE;
|
2016-11-26 03:16:02 +00:00
|
|
|
};
|
|
|
|
intel-me {
|
2017-03-30 10:58:11 +00:00
|
|
|
filename = CONFIG_INTEL_ME_FILE;
|
2016-11-26 03:16:02 +00:00
|
|
|
};
|
|
|
|
#endif
|
2017-01-16 14:04:23 +00:00
|
|
|
#ifdef CONFIG_SPL
|
|
|
|
u-boot-spl-with-ucode-ptr {
|
|
|
|
pos = <CONFIG_SPL_TEXT_BASE>;
|
|
|
|
};
|
|
|
|
|
|
|
|
u-boot-dtb-with-ucode2 {
|
|
|
|
type = "u-boot-dtb-with-ucode";
|
|
|
|
};
|
|
|
|
u-boot {
|
|
|
|
pos = <0xfff00000>;
|
|
|
|
};
|
|
|
|
#else
|
2016-11-26 03:16:02 +00:00
|
|
|
u-boot-with-ucode-ptr {
|
|
|
|
pos = <CONFIG_SYS_TEXT_BASE>;
|
|
|
|
};
|
2017-01-16 14:04:23 +00:00
|
|
|
#endif
|
2016-11-26 03:16:02 +00:00
|
|
|
u-boot-dtb-with-ucode {
|
|
|
|
};
|
|
|
|
u-boot-ucode {
|
|
|
|
align = <16>;
|
|
|
|
};
|
|
|
|
#ifdef CONFIG_HAVE_MRC
|
|
|
|
intel-mrc {
|
|
|
|
pos = <CONFIG_X86_MRC_ADDR>;
|
|
|
|
};
|
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_HAVE_FSP
|
|
|
|
intel-fsp {
|
2016-12-26 04:52:46 +00:00
|
|
|
filename = CONFIG_FSP_FILE;
|
2016-11-26 03:16:02 +00:00
|
|
|
pos = <CONFIG_FSP_ADDR>;
|
|
|
|
};
|
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_HAVE_CMC
|
|
|
|
intel-cmc {
|
2016-12-26 04:52:46 +00:00
|
|
|
filename = CONFIG_CMC_FILE;
|
2016-11-26 03:16:02 +00:00
|
|
|
pos = <CONFIG_CMC_ADDR>;
|
|
|
|
};
|
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_HAVE_VGA_BIOS
|
|
|
|
intel-vga {
|
2016-12-26 04:52:46 +00:00
|
|
|
filename = CONFIG_VGA_BIOS_FILE;
|
2016-11-26 03:16:02 +00:00
|
|
|
pos = <CONFIG_VGA_BIOS_ADDR>;
|
|
|
|
};
|
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_HAVE_REFCODE
|
|
|
|
intel-refcode {
|
|
|
|
pos = <CONFIG_X86_REFCODE_ADDR>;
|
|
|
|
};
|
|
|
|
#endif
|
2017-01-16 14:04:23 +00:00
|
|
|
#ifdef CONFIG_SPL
|
|
|
|
x86-start16-spl {
|
|
|
|
pos = <CONFIG_SYS_X86_START16>;
|
|
|
|
};
|
|
|
|
#else
|
2016-11-26 03:16:02 +00:00
|
|
|
x86-start16 {
|
|
|
|
pos = <CONFIG_SYS_X86_START16>;
|
|
|
|
};
|
2017-01-16 14:04:23 +00:00
|
|
|
#endif
|
2016-11-26 03:16:02 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
#endif
|