[U-Boot] [RFC PATCH 6/9] x86: quark: Enable the Memory Reference Code build

Albert ARIBAUD albert.u.boot at aribaud.net
Fri Feb 6 01:18:43 CET 2015


Hello Bin,

On Thu, 5 Feb 2015 14:58:35 +0800, Bin Meng <bmeng.cn at gmail.com> wrote:
> Hi Simon,
> 
> On Thu, Feb 5, 2015 at 6:35 AM, Bin Meng <bmeng.cn at gmail.com> wrote:
> > Hi Simon,
> >
> > On Thu, Feb 5, 2015 at 12:25 AM, Simon Glass <sjg at chromium.org> wrote:
> >> Hi Bin,
> >>
> >> On 3 February 2015 at 04:45, Bin Meng <bmeng.cn at gmail.com> wrote:
> >>> Turn on the Memory Reference code build in the quark Makefile.
> >>>
> >>> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> >>> ---
> >>>
> >>>  arch/x86/cpu/quark/Makefile | 1 +
> >>>  1 file changed, 1 insertion(+)
> >>>
> >>> diff --git a/arch/x86/cpu/quark/Makefile b/arch/x86/cpu/quark/Makefile
> >>> index 168c1e6..e87b424 100644
> >>> --- a/arch/x86/cpu/quark/Makefile
> >>> +++ b/arch/x86/cpu/quark/Makefile
> >>> @@ -5,4 +5,5 @@
> >>>  #
> >>>
> >>>  obj-y += car.o dram.o msg_port.o quark.o
> >>> +obj-y += mrc.o mrc_util.o hte.o smc.o
> >>>  obj-$(CONFIG_PCI) += pci.o
> >>
> >> Would prefer that you do this as you add each file (i.e. in the patch
> >> that adds the file).
> >>
> >
> > OK, will squash this one to previous commits.
> 
> Sorry I was replying too fast. Looks that I cannot add each file to
> Makefile each time, because it will not build until the 3rd patch is
> in place to provide all header files needed.

Can't you reorder the patches so that things build properly at each
addition? IF you can't, then there is a cross-dependency, and the
cross-dependent patches (and only these!) should be made into a single
patch.

> Regards,
> Bin

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list