[U-Boot-Users] [DNX#2006081742000052] [PATCH 1/6] General modification to support mpc836 [...]
DENX Support System
support at denx.de
Thu Aug 17 08:40:02 CEST 2006
Hello list,
inside the automatic U-Boot patch tracking system a new ticket
[DNX#2006081742000052] was created:
<snip>
> Subject: [PATCH] General modification to support mpc8360epb
>
> ---
>
> CHANGELOG | 2 ++
> MAKEALL | 2 +-
> Makefile | 31 ++++++++++++++++++++++++++++
> README | 45
> ++++++++++++++++++++++-------------------
> include/asm-ppc/e300.h | 2 ++
> include/asm-ppc/global_data.h | 14 +++++++++++--
> include/asm-ppc/i2c.h | 8 ++++---
> include/asm-ppc/u-boot.h | 4 ++++
> include/common.h | 5 +++++
> lib_ppc/board.c | 4 ++++
> 10 files changed, 89 insertions(+), 28 deletions(-)
>
> d1bd8dc6d94dcb6e70992467a2e74de4f321ef56
> diff --git a/CHANGELOG b/CHANGELOG
> index 24499c5..d2a9643 100644
> --- a/CHANGELOG
> +++ b/CHANGELOG
> @@ -1,6 +1,8 @@
> ======================================================================
> Changes since U-Boot 1.1.4:
> ======================================================================
> +* Add support for Freescale MPC8360EPB board.
> + Patch by Dave Liu and Tanya Jiang, Aug 17 2006
>
> * Fix control-c handing in CONFIG_CMDLINE_EDITING
> Properly pass break code back from readline.
> diff --git a/MAKEALL b/MAKEALL
> index 467a9be..25e0399 100755
> --- a/MAKEALL
> +++ b/MAKEALL
> @@ -119,7 +119,7 @@ ## MPC83xx Systems (includes 8349, etc.)
>
> ########################################################################
> #
>
> LIST_83xx=" \
> - TQM834x MPC8349EMDS
> \
> + TQM834x MPC8349EMDS MPC8360EPB
> \
> "
>
>
> diff --git a/Makefile b/Makefile
> index 128ae59..c65bb4b 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -139,6 +139,10 @@ LIBS += drivers/sk98lin/libsk98lin.a
> LIBS += post/libpost.a post/cpu/libcpu.a
> LIBS += common/libcommon.a
> LIBS += $(BOARDLIBS)
> +ifeq ($(BOARD),mpc8360epb)
> +LIBS += drivers/sysdev/qe_lib/ucc/libucc.a
> +LIBS += drivers/sysdev/qe_lib/libqe.a
> +endif
> .PHONY : $(LIBS)
>
> # Add GCC lib
> @@ -1377,6 +1381,33 @@ TQM834x_config: unconfig
> MPC8349EMDS_config: unconfig
> @./mkconfig $(@:_config=) ppc mpc83xx mpc8349emds
>
> +#######################################################################
> #
> +## MPC8360 Systems
> +#######################################################################
> ##
> +MPC8360EPB_config \
> +MPC8360EPB_HOST_33_config \
> +MPC8360EPB_HOST_66_config \
> +MPC8360EPB_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 MPC8360EPB ppc mpc83xx mpc8360epb
> +
>
> ########################################################################
> #
> ## MPC85xx Systems
</snip>
Your U-Boot support team
More information about the U-Boot
mailing list