[U-Boot-Users] [PATCH 13/15 v2] ppc4xx: Add Canyonlands NAND booting support

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Thu Mar 13 00:07:24 CET 2008


On 17:15 Tue 11 Mar     , Stefan Roese wrote:
> 460EX doesn't support a fixed bootstrap option to boot from 512 byte page
> NAND devices. The only bootstrap option for NAND booting is option F for
> 2k page devices. So to boot from a 512 bype page device, the I2C bootstrap
> EEPROM needs to be programmed accordingly.
> @@ -1173,6 +1173,14 @@ CANBT_config:	unconfig
>  canyonlands_config:	unconfig
>  	@$(MKCONFIG) $(@:_config=) ppc ppc4xx canyonlands amcc
>  
> +
> +include $(TOPDIR)/config.mk
> +include $(TOPDIR)/nand_spl/board/$(BOARDDIR)/config.mk
> +
> +LDSCRIPT= $(TOPDIR)/nand_spl/board/$(BOARDDIR)/u-boot.lds
> +LDFLAGS	= -Bstatic -T $(LDSCRIPT) -Ttext $(TEXT_BASE) $(PLATFORM_LDFLAGS)
> +AFLAGS	+= -DCONFIG_NAND_SPL
> +CFLAGS	+= -DCONFIG_NAND_SPL
> +
> +SOBJS	= start.o init.o resetvec.o
> +COBJS	= ddr2_fixed.o nand_boot.o nand_ecc.o ndfc.o
It will be nice to split one line for each file
> +
> +SRCS	:= $(addprefix $(obj),$(SOBJS:.o=.S) $(COBJS:.o=.c))
> +OBJS	:= $(addprefix $(obj),$(SOBJS) $(COBJS))
Best Regards,
J.




More information about the U-Boot mailing list