[U-Boot-Users] [DNX#2007012642000028] [PATCH] Separate 83xx, 85xx, and 86xx configuratio [...]

OTRS Notification Master otrs at denx.de
Fri Jan 26 16:30:16 CET 2007


Hello list,

inside the automatic U-Boot patch tracking system a new ticket
[DNX#2007012642000028] was created:

<snip>
> This patch moves the board configuration rules for 83xx, 85xx, and 86xx
> boards
> into their own makefiles.  All 83xx boards are now configured in
> Makefile.83xx,
> all 85xx boards are in Makefile.85xx, and all 86xx boards are in
> Makefile.86xx.
> With separate maintainers for these families, this patch allows new
> boards 
> to be added without having merge conflicts.
> 
> Signed-off-by: Timur Tabi <timur at freescale.com>
> ---
>  Makefile      |  123
> +-------------------------------------------------------
>  Makefile.83xx |   33 +++++++++++++++
>  Makefile.85xx |   86 ++++++++++++++++++++++++++++++++++++++++
>  Makefile.86xx |    3 +
>  4 files changed, 125 insertions(+), 120 deletions(-)
> 
> diff --git a/Makefile b/Makefile
> index b1952ed..500d679 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1607,136 +1607,19 @@ r5200_config :		unconfig
>  ## MPC83xx Systems
>  #########################################################################
>  
> -TQM834x_config:	unconfig
> -	@$(MKCONFIG) $(@:_config=) ppc mpc83xx tqm834x
> -
> -MPC8349EMDS_config:	unconfig
> -	@$(MKCONFIG) $(@:_config=) ppc mpc83xx mpc8349emds
> -
> -MPC8360EMDS_config \
> -MPC8360EMDS_HOST_33_config \
> -MPC8360EMDS_HOST_66_config \
> -MPC8360EMDS_SLAVE_config:	unconfig
> -	@echo "" >include/config.h ; \
> -	if [ "$(findstring _HOST_,$@)" ] ; then \
> -		echo -n "... PCI HOST " ; \
> -		echo "#define CONFIG_PCI" >>include/config.h ; \
> -	fi ; \
> -	if [ "$(findstring _SLAVE_,$@)" ] ; then \
> -		echo "...PCI SLAVE 66M"  ; \
> -		echo "#define CONFIG_PCI" >>include/config.h ; \
> -		echo "#define CONFIG_PCISLAVE" >>include/config.h ; \
> -	fi ; \
> -	if [ "$(findstring _33_,$@)" ] ; then \
> -		echo -n "...33M ..." ; \
> -		echo "#define PCI_33M" >>include/config.h ; \
> -	fi ; \
> -	if [ "$(findstring _66_,$@)" ] ; then \
> -		echo -n "...66M..." ; \
> -		echo "#define PCI_66M" >>include/config.h ; \
> -	fi ;
> -	@$(MKCONFIG) -a MPC8360EMDS ppc mpc83xx mpc8360emds
> -
> -MPC8349ITX_config:	unconfig
> -	@$(MKCONFIG) $(@:_config=) ppc mpc83xx mpc8349itx
> +include Makefile.83xx
>  
>  #########################################################################
>  ## MPC85xx Systems
>  #########################################################################
>  
> -MPC8540ADS_config:	unconfig
> -	@$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8540ads
> -
> -MPC8540EVAL_config \
> -MPC8540EVAL_33_config \
> -MPC8540EVAL_66_config \
> -MPC8540EVAL_33_slave_config \
> -MPC8540EVAL_66_slave_config:      unconfig
> -	@mkdir -p $(obj)include
> -	@echo "" >$(obj)include/config.h ; \
> -	if [ "$(findstring _33_,$@)" ] ; then \
> -		echo -n "... 33 MHz PCI" ; \
> -	else \
> -		echo "#define CONFIG_SYSCLK_66M" >>$(obj)include/config.h ; \
> -		echo -n "... 66 MHz PCI" ; \
> -	fi ; \
> -	if [ "$(findstring _slave_,$@)" ] ; then \
> -		echo "#define CONFIG_PCI_SLAVE" >>$(obj)include/config.h ; \
> -		echo " slave" ; \
> -	else \
> -		echo " host" ; \
> -	fi
> -	@$(MKCONFIG) -a MPC8540EVAL ppc mpc85xx mpc8540eval
> -
> -MPC8560ADS_config:	unconfig
> -	@$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8560ads
> -
> -MPC8541CDS_config:	unconfig
> -	@$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8541cds cds
> -
> -MPC8548CDS_config:	unconfig
> -	@$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8548cds cds
> -
> -MPC8555CDS_config:	unconfig
> -	@$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8555cds cds
</snip>

Your U-Boot support team



More information about the U-Boot mailing list