[U-Boot] [RFC PATCH 6/7] omap: common spl support for OMAP3/4

Aneesh V aneesh at ti.com
Thu Jun 30 12:05:20 CEST 2011


On Thursday 30 June 2011 01:51 PM, Simon Schwarz wrote:
> Hi,
>
>> Hmm, I actually porting a dm368 based board with nand_spl support
>> (patches following soon), and there I have an empty bss section,
>> so I can direct copy the u-boot image from nand to ram in board_init_f().
>
> This is what I'am doing with OMAP3 also. IMHO it would be more
> readable if relocate_code is not called if there is no relocation and
> instead the clear_bss()-function is used as Andreas suggested. (Or to
> just not use clear_bss if bss is empty)

In my case there is indeed a BSS section, and a huge one at that -
192KB for the FAT driver. You will need it too if your OMAP3 SPL is
going to support MMC FAT boot.

br,
Aneesh


More information about the U-Boot mailing list