x86: Correct ifdtool microcode calculation
authorSimon Glass <sjg@chromium.org>
Thu, 1 Jan 2015 23:17:56 +0000 (16:17 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 13 Jan 2015 15:24:58 +0000 (07:24 -0800)
commit8a388085c70d0da306cbd0dc644606cf8be24486
treeab8682dab9bf8f5de978e16e2efef8587baf41e8
parent6c911c4322a295e0e5ab07c12c793d1f00670028
x86: Correct ifdtool microcode calculation

This currently assumes that U-Boot resides at the start of ROM. Update
it to remove this assumption.

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