]> 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)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 09:29:45 +0000 (11:29 +0200)
commitedbc95c1204d527c7a9b919449262e4df2d51527
treecab151d7544d4da0f971cce884a9af8622b4ba65
parent089937c695ec21457c23e67deb80392193ff05b2
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