[U-Boot] [PATCH v6 7/7] modify files for ben nanonote board
Shinya Kuribayashi
skuribay at pobox.com
Tue Mar 15 04:16:58 CET 2011
On 02/28/2011 03:57 PM, Xiangfu Liu wrote:
> diff --git a/Makefile b/Makefile
> index dc2e3d8..758daf2 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1093,6 +1093,19 @@ smdk6400_config : unconfig
> @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
>
> #========================================================================
> +# MIPS
> +#========================================================================
> +#########################################################################
> +## MIPS32 XBurst jz4740
> +#########################################################################
> +qi_lb60_config : unconfig
> + @mkdir -p $(obj)include
> + @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
> + @echo "Compile NAND boot image for QI LB60"
> + @$(MKCONFIG) -a qi_lb60 mips xburst nanonote xburst
> + @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
> +
> +#========================================================================
> # Nios
> #========================================================================
(In PATCH v6 6/7)
> diff --git a/boards.cfg b/boards.cfg
> index 45c3102..cb8c6a0 100644
> --- a/boards.cfg
> +++ b/boards.cfg
> @@ -243,6 +243,7 @@ vct_platinumavc mips mips vct microna
> vct_platinumavc_small mips mips vct micronas - vct:VCT_PLATINUMAVC,VCT_SMALL_IMAGE
> vct_platinumavc_onenand mips mips vct micronas - vct:VCT_PLATINUMAVC,VCT_ONENAND
> vct_platinumavc_onenand_small mips mips vct micronas - vct:VCT_PLATINUMAVC,VCT_ONENAND,VCT_SMALL_IMAGE
> +qi_lb60 mips mips
> PCI5441 nios2 nios2 pci5441 psyent
> PK1C20 nios2 nios2 pk1c20 psyent
> EVB64260 powerpc 74xx_7xx evb64260 - - EVB64260
You added targets with the same name to two places. In this case,
boards.cfg will be used to configure qi_lb60. All MIPS targets can
be configured through boards.cfg now, so please 1) remove $(TOPDIR)/
Makefile part, and 2) get 'qi_lb60' entry work as expected, instead.
More information about the U-Boot
mailing list