Re: [U-Boot] [PATCH 3/4] nand_spl/spiboot/sdboot: Add ability to have smaller middle loader

2011-06-08 Thread McClintock Matthew-B29882
On Tue, Jun 7, 2011 at 3:19 PM, Wolfgang Denk wrote: >> Perhaps having a CONFIG_TARGET_IMAGE available and having just one >> generic TARGET available? >> >> ifdef CONFIG_TARGET_IMAGE >> ALL += $(CONFIG_TARGET_IMAGE) >> endif >> >> TARGET_IMAGE_OBJS-y += various.bin >> TARGET_IMAGE_OBJS-y += requi

Re: [U-Boot] [PATCH 3/4] nand_spl/spiboot/sdboot: Add ability to have smaller middle loader

2011-06-07 Thread Wolfgang Denk
Dear McClintock Matthew-B29882, In message you wrote: > > Perhaps having a CONFIG_TARGET_IMAGE available and having just one > generic TARGET available? > > ifdef CONFIG_TARGET_IMAGE > ALL += $(CONFIG_TARGET_IMAGE) > endif > > TARGET_IMAGE_OBJS-y += various.bin > TARGET_IMAGE_OBJS-y += required.b

Re: [U-Boot] [PATCH 3/4] nand_spl/spiboot/sdboot: Add ability to have smaller middle loader

2011-06-07 Thread McClintock Matthew-B29882
On Sat, Jun 4, 2011 at 7:32 AM, Wolfgang Denk wrote: >> +ifndef CONFIG_IN_BOOTSTRAP >> +ifeq ($(CONFIG_SPIFLASH), y) >> +ALL += $(obj)u-boot-spi.bin >> +endif >> + >> +ifeq ($(CONFIG_SDCARD), y) >> +ALL += $(obj)u-boot-sd.bin >> +endif >> +endif > > I really dislike to have this in the top level M

Re: [U-Boot] [PATCH 3/4] nand_spl/spiboot/sdboot: Add ability to have smaller middle loader

2011-06-04 Thread Wolfgang Denk
Dear y...@right.am.freescale.net, In message <1307042852-10385-3-git-send-email-y> you wrote: > > This patch allows some boards do define CONFIG_BOOTSTRAP to let them > build a MPL or middle program loader to setup the board before booting > to the full u-boot build. The advantage is that we are

[U-Boot] [PATCH 3/4] nand_spl/spiboot/sdboot: Add ability to have smaller middle loader

2011-06-02 Thread Matthew McClintock
This patch allows some boards do define CONFIG_BOOTSTRAP to let them build a MPL or middle program loader to setup the board before booting to the full u-boot build. The advantage is that we are using the same build system and linker scripts that would be used in a normal u-boot build. This is use

[U-Boot] [PATCH 3/4] nand_spl/spiboot/sdboot: Add ability to have smaller middle loader

2011-06-02 Thread y
From: Matthew McClintock This patch allows some boards do define CONFIG_BOOTSTRAP to let them build a MPL or middle program loader to setup the board before booting to the full u-boot build. The advantage is that we are using the same build system and linker scripts that would be used in a normal