u-boot/tools
Simon Glass 31eca69727 x86: ifdtool: Add support for early microcode access
Some Intel CPUs use an 'FSP' binary blob which provides an inflexible
means of starting up the CPU. One result is that microcode updates can only
be done before RAM is available and therefore parsing of the device tree
is impracticle.

Worse, the addess of the microcode update must be stored in ROM since a
pointer to its start address and size is passed to the 'FSP' blob. It is
not possible to perform any calculations to obtain the address and size.

To work around this, ifdtool is enhanced to work out the address and size of
the first microcode update it finds in the supplied device tree. It then
writes these into the correct place in the ROM. U-Boot can then start up
the FSP correctly.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2014-12-18 17:26:05 -07:00
..
buildman buildman: Don't default to -e when building current source 2014-11-26 20:25:40 -07:00
easylogo tools: convert makefiles to kbuild style 2014-02-19 11:07:49 -05:00
env tools/env: Fix environment size and CRC on 64-bit hosts 2014-11-07 16:27:07 -05:00
gdb Makefile: move BFD_ROOT_DIR to tools/gdb/Makefile 2014-02-19 11:07:50 -05:00
kermit tools: move kermit files to tools/kermit directory 2014-01-24 16:59:07 -05:00
logos logos: Update of the syteco company logo 2014-05-05 11:21:23 +02:00
omap Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
palmtreo680 pxa: palmtreo680 flash programming utility 2013-06-22 15:25:28 +02:00
patman patman: Use the full commit hash for 'git checkout' 2014-11-26 20:25:39 -07:00
scripts kbuild: move asm-offsets.h rules to ./Kbuild 2014-02-25 11:01:28 -05:00
.gitignore tools: Add ifdtool to .gitignore 2014-11-25 07:11:17 -07:00
aisimage.c tools: moved code common to all image tools to a separated module. 2013-12-13 09:15:32 -05:00
aisimage.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
atmel_pmecc_params.c arm:at91: enable ROM loadable atmel image 2014-05-27 00:10:49 +02:00
atmelimage.c mkimage: add atmelimage 2014-05-27 00:10:48 +02:00
bin2header.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
bmp_logo.c tools, bmp_logo: fix index from uint16_t to int to allow bigger logos 2013-08-10 10:48:00 +02:00
default_image.c Add dumpimage, a tool to extract data from U-Boot images 2013-12-13 09:15:32 -05:00
dumpimage.c Add dumpimage, a tool to extract data from U-Boot images 2013-12-13 09:15:32 -05:00
dumpimage.h includes: move openssl headers to include/u-boot 2014-06-19 11:19:04 -04:00
envcrc.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fdt_host.h tools, fit_check_sign: verify a signed fit image 2014-03-21 16:40:38 -04:00
fit_check_sign.c Enhance fit_check_sign to check all images 2014-06-19 11:19:02 -04:00
fit_common.c mkimage: Automatically make space in FDT when full 2014-06-11 16:25:46 -04:00
fit_common.h mkimage: Automatically make space in FDT when full 2014-06-11 16:25:46 -04:00
fit_image.c mkimage: Automatically make space in FDT when full 2014-06-11 16:25:46 -04:00
fit_info.c tools, fit_info: increase buffer for command name 2014-08-14 11:20:24 +02:00
gen_eth_addr.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
genboardscfg.py tools/genboardscfg.py: pick up also commented maitainers 2014-09-24 18:30:28 -04:00
getline.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
getline.h getline: split out for darwin systems 2010-01-26 00:07:13 +01:00
gpheader.h tools: mkimage: add support for gpimage format 2014-04-17 17:24:38 -04:00
gpimage-common.c tools: mkimage: add support for gpimage format 2014-04-17 17:24:38 -04:00
gpimage.c tools: mkimage: add support for gpimage format 2014-04-17 17:24:38 -04:00
ifdtool.c x86: ifdtool: Add support for early microcode access 2014-12-18 17:26:05 -07:00
ifdtool.h tools/ifdtool: Support writing multiple files (-w) simultaneously 2014-12-13 22:32:04 -07:00
image-host.c tools: fix typo in tools/image-host.c 2014-08-14 11:20:01 +02:00
imagetool.c tools: socfpga: Add socfpga preloader signing to mkimage 2014-10-06 17:38:17 +02:00
imagetool.h tools: socfpga: Add socfpga preloader signing to mkimage 2014-10-06 17:38:17 +02:00
img2brec.sh Coding Style cleanup: replace leading SPACEs by TABs 2013-10-14 16:06:54 -04:00
img2srec.c img2srec: use standard types 2009-11-24 23:43:18 +01:00
imximage.c imximage: Fix the bootdata.size calculation 2014-11-03 10:33:01 +01:00
imximage.h tools: imximage: Fix the maximum DCD size for mx53/mx6 2014-09-09 16:23:00 +02:00
jtagconsole Blackfin: jtagconsole: disable output processing 2010-07-25 15:17:23 -04:00
kwbimage.c ARM: kwimage: fix v0 format 2014-11-04 15:03:07 -05:00
kwbimage.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
kwboot.c tools/kwboot: Sync with latest barebox version to support Armada XP 2014-10-23 09:59:21 -04:00
Makefile x86: ifdtool: Add support for early microcode access 2014-12-18 17:26:05 -07:00
mingw_support.c Add LGPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:45:01 -04:00
mingw_support.h Add LGPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:45:01 -04:00
mkenvimage.c Added support for comments in input to mkenvimage. 2014-11-10 16:25:28 -05:00
mkexynosspl.c SPL: EXYNOS: Prepare for variable size SPL support 2013-12-30 16:50:35 +09:00
mkimage.c mkimage: fix compilation issues on OpenBSD 2014-08-14 11:48:11 +02:00
mkimage.h includes: move openssl headers to include/u-boot 2014-06-19 11:19:04 -04:00
mksunxiboot.c sunxi: mksunxiboot: Fix loading of files with a size which is not a multiple of 4 2014-07-06 17:41:13 +01:00
mpc86x_clk.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mxsboot.c tools: mxsboot: Mark the FCB pages as valid 2013-09-10 19:12:54 +02:00
mxsimage.c tools/msximage.c: fix warning about nptr possibly uninitialized 2014-11-20 10:30:19 +01:00
mxsimage.h ARM: mxs: tools: Add support for boot progress display flag 2014-11-20 10:13:45 +01:00
ncb.c ncb: Check return value of write() 2009-04-28 01:16:46 +02:00
netconsole net: Make netconsole src and dest ports configurable 2012-09-24 13:17:24 -05:00
omapimage.c tools: mkimage: add support for gpimage format 2014-04-17 17:24:38 -04:00
omapimage.h tools: mkimage: add support for gpimage format 2014-04-17 17:24:38 -04:00
os_support.c Add LGPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:45:01 -04:00
os_support.h Add LGPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:45:01 -04:00
pbl_crc32.c mkimage : Split out and clean pbl_crc32 for use by other image types 2014-06-05 14:38:38 -04:00
pbl_crc32.h mkimage : Split out and clean pbl_crc32 for use by other image types 2014-06-05 14:38:38 -04:00
pblimage.c ls102xa: pblimage: Add pblimage tool support for LS102xA 2014-12-11 09:36:34 -08:00
pblimage.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
proftool.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
relocate-rela.c relocate-rela: replace a magic number with sizeof(Elf64_Rela) 2014-02-13 15:16:47 +01:00
socfpgaimage.c tools/socfpgaimage.c: fix build on darwin 2014-10-27 02:26:24 +01:00
ublimage.c tools: moved code common to all image tools to a separated module. 2013-12-13 09:15:32 -05:00
ublimage.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
ubsha1.c includes: move openssl headers to include/u-boot 2014-06-19 11:19:04 -04:00
xway-swap-bytes.c MIPS: INCA-IP: rename inca-swap-bytes host tool 2011-07-31 23:25:41 +09:00