[U-Boot] [RFC PATCH 6/7] reboard: arm: Move over to generic relocation

Mike Frysinger vapier at gentoo.org
Tue Nov 29 04:14:20 CET 2011


On Monday 21 November 2011 18:57:59 Simon Glass wrote:
> --- a/board/reloc.c
> +++ b/board/reloc.c
> 
> -void relocate_code(ulong dest_addr_sp, gd_t *new_gd, ulong dest_addr)
> +void new_relocate_code(ulong dest_addr_sp, gd_t *new_gd, ulong dest_addr)

shouldn't this be squashed into the patch that added this func ?

> --- a/nand_spl/board/freescale/mx31pdk/Makefile
> +++ b/nand_spl/board/freescale/mx31pdk/Makefile
> 
> +$(obj)%.o:	$(SRCTREE)/board/%.c
> +	$(CC) $(CFLAGS) -c -o $@ $<
> +
> +$(obj)%.o:	$(SRCTREE)/arch/arm/lib/%.S
> +	$(CC) $(AFLAGS) -c -o $@ $<

ugh.  is this the SOP for SPL or something ?  this is awful :(.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20111128/a36ad23a/attachment.pgp>


More information about the U-Boot mailing list