2018-05-06 21:58:06 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
2016-11-26 03:16:02 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2016 Google, Inc
|
|
|
|
* Written by Simon Glass <sjg@chromium.org>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <config.h>
|
|
|
|
|
|
|
|
#ifdef CONFIG_ROM_SIZE
|
|
|
|
/ {
|
|
|
|
binman {
|
|
|
|
filename = "u-boot.rom";
|
|
|
|
end-at-4gb;
|
2018-08-01 21:22:37 +00:00
|
|
|
sort-by-offset;
|
2016-11-26 03:16:02 +00:00
|
|
|
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 {
|
2018-08-01 21:22:37 +00:00
|
|
|
offset = <CONFIG_SPL_TEXT_BASE>;
|
2017-01-16 14:04:23 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
u-boot-dtb-with-ucode2 {
|
|
|
|
type = "u-boot-dtb-with-ucode";
|
|
|
|
};
|
|
|
|
u-boot {
|
2018-08-01 21:22:37 +00:00
|
|
|
offset = <0xfff00000>;
|
2017-01-16 14:04:23 +00:00
|
|
|
};
|
|
|
|
#else
|
2016-11-26 03:16:02 +00:00
|
|
|
u-boot-with-ucode-ptr {
|
2018-08-01 21:22:37 +00:00
|
|
|
offset = <CONFIG_SYS_TEXT_BASE>;
|
2016-11-26 03:16:02 +00:00
|
|
|
};
|
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 {
|
2018-08-01 21:22:37 +00:00
|
|
|
offset = <CONFIG_X86_MRC_ADDR>;
|
2016-11-26 03:16:02 +00:00
|
|
|
};
|
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_HAVE_FSP
|
|
|
|
intel-fsp {
|
2016-12-26 04:52:46 +00:00
|
|
|
filename = CONFIG_FSP_FILE;
|
2018-08-01 21:22:37 +00:00
|
|
|
offset = <CONFIG_FSP_ADDR>;
|
2016-11-26 03:16:02 +00:00
|
|
|
};
|
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_HAVE_CMC
|
|
|
|
intel-cmc {
|
2016-12-26 04:52:46 +00:00
|
|
|
filename = CONFIG_CMC_FILE;
|
2018-08-01 21:22:37 +00:00
|
|
|
offset = <CONFIG_CMC_ADDR>;
|
2016-11-26 03:16:02 +00:00
|
|
|
};
|
|
|
|
#endif
|
|
|
|
#ifdef CONFIG_HAVE_VGA_BIOS
|
|
|
|
intel-vga {
|
2016-12-26 04:52:46 +00:00
|
|
|
filename = CONFIG_VGA_BIOS_FILE;
|
2018-08-01 21:22:37 +00:00
|
|
|
offset = <CONFIG_VGA_BIOS_ADDR>;
|
2016-11-26 03:16:02 +00:00
|
|
|
};
|
|
|
|
#endif
|
2017-08-16 05:41:55 +00:00
|
|
|
#ifdef CONFIG_HAVE_VBT
|
|
|
|
intel-vbt {
|
|
|
|
filename = CONFIG_VBT_FILE;
|
2018-08-01 21:22:37 +00:00
|
|
|
offset = <CONFIG_VBT_ADDR>;
|
2017-08-16 05:41:55 +00:00
|
|
|
};
|
|
|
|
#endif
|
2016-11-26 03:16:02 +00:00
|
|
|
#ifdef CONFIG_HAVE_REFCODE
|
|
|
|
intel-refcode {
|
2018-08-01 21:22:37 +00:00
|
|
|
offset = <CONFIG_X86_REFCODE_ADDR>;
|
2016-11-26 03:16:02 +00:00
|
|
|
};
|
|
|
|
#endif
|
2017-01-16 14:04:23 +00:00
|
|
|
#ifdef CONFIG_SPL
|
|
|
|
x86-start16-spl {
|
2018-08-01 21:22:37 +00:00
|
|
|
offset = <CONFIG_SYS_X86_START16>;
|
2017-01-16 14:04:23 +00:00
|
|
|
};
|
|
|
|
#else
|
2016-11-26 03:16:02 +00:00
|
|
|
x86-start16 {
|
2018-08-01 21:22:37 +00:00
|
|
|
offset = <CONFIG_SYS_X86_START16>;
|
2016-11-26 03:16:02 +00:00
|
|
|
};
|
2017-01-16 14:04:23 +00:00
|
|
|
#endif
|
2016-11-26 03:16:02 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
#endif
|