]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
x86: ifdtool: Drop microcode from the device tree when collating
authorSimon Glass <sjg@chromium.org>
Sat, 15 Aug 2015 20:37:54 +0000 (14:37 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 26 Aug 2015 14:54:10 +0000 (07:54 -0700)
commitf86f0c1897436e03b0e68874a56b257080d01386
tree0ca1387a48c3070fa263abb4ab57cb85b4aad20f
parentb098032387a6ba1cab181a897075932f7fa2a58d
x86: ifdtool: Drop microcode from the device tree when collating

When ifdtool collates the microcode into one place it effectively creates
a copy of the 'data' properties in the device tree microcode nodes. This
is wasteful since we now have two copies of the microcode in the ROM.

To avoid this, remove the microcode data from the device tree and shrink it
down. This means that there is only one copy and the overall ROM space used
by the microcode does not increase.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
tools/ifdtool.c