Hi Bin, On 9 November 2014 23:49, Bin Meng <bmeng...@gmail.com> wrote: > Hi Simon, > > On Fri, Nov 7, 2014 at 4:20 AM, Simon Glass <s...@chromium.org> wrote: >> Implement SDRAM init using the Memory Reference Code (mrc.bin) provided in >> the board directory and the SDRAM SPD information in the device tree. This >> also needs the Intel Management Engine (me.bin) to work. Binary blobs >> everywhere: so far we have MRC, ME and microcode. >> > > [snip] > >> diff --git a/Makefile b/Makefile >> index 86d0510..4f0260f 100644 >> --- a/Makefile >> +++ b/Makefile >> @@ -956,9 +956,14 @@ u-boot.rom: u-boot-x86-16bit.bin u-boot-dtb.bin \ >> $(srctree)/board/$(BOARDDIR)/descriptor.bin >> $(objtree)/tools/ifdtool -c -r $(CONFIG_ROM_SIZE) \ >> -D $(srctree)/board/$(BOARDDIR)/descriptor.bin u-boot.tmp >> + $(objtree)/tools/ifdtool \ >> + -i ME:$(srctree)/board/$(BOARDDIR)/me.bin u-boot.tmp > > Can we make the ME injection depend on something like CONFIG_X86_HAVE_ME?
Sure - do you have a case that doesn't use ME? > >> $(objtree)/tools/ifdtool -w \ >> $(CONFIG_SYS_TEXT_BASE):$(objtree)/u-boot-dtb.bin u-boot.tmp >> $(objtree)/tools/ifdtool -w \ >> + $(CONFIG_X86_MRC_START):$(srctree)/board/$(BOARDDIR)/mrc.bin >> \ >> + u-boot.tmp > > Ditto. > >> + $(objtree)/tools/ifdtool -w \ >> $(CONFIG_SYS_X86_START16):$(objtree)/u-boot-x86-16bit.bin \ >> u-boot.tmp >> mv u-boot.tmp $@ > > Regards, > Bin Regards, Simon _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot