[U-Boot] [PATCH 39/39] x86: ivybridge: Implement SDRAM init
Bin Meng
bmeng.cn at gmail.com
Mon Nov 10 07:49:09 CET 2014
Hi Simon,
On Fri, Nov 7, 2014 at 4:20 AM, Simon Glass <sjg at 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?
> $(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
More information about the U-Boot
mailing list