[U-Boot-Users] [Ticket#2007011742000331] [PATCH] Add support for the MPC8349E-mITX-GP

OTRS Notification Master otrs at denx.de
Wed Jan 17 17:01:31 CET 2007


Hello list,

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

<snip>
> From: Timur Tabi <timur at freescale.com>
> 
> Add support for the MPC8349E-mITX-GP, a stripped-down version of the
> MPC8349E-mITX.
> 
> Signed-off-by: Timur Tabi <timur at freescale.com>
> ---
>  MAINTAINERS                   |    1 +
>  Makefile                      |   16 ++-
>  board/mpc8349itx/config.mk    |    6 +-
>  board/mpc8349itx/mpc8349itx.c |  105 ++--------
>  include/configs/MPC8349ITX.h  |  463
> ++++++++++++++++-------------------------
>  include/mpc83xx.h             |   41 ++++
>  6 files changed, 264 insertions(+), 368 deletions(-)
> 
> diff --git a/MAINTAINERS b/MAINTAINERS
> index ce20def..e65699f 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -347,6 +347,7 @@ John Zhan <zhanz at sinovee.com>
>  Timur Tabi <timur at freescale.com>
>  
>  	MPC8349E-mITX		MPC8349
> +	MPC8349E-mITX-GP	MPC8349
>  
>  Kim Phillips <kim.phillips at freescale.com>
>  
> diff --git a/Makefile b/Makefile
> index 1dbdf4d..10d961f 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1624,8 +1624,20 @@ MPC8360EMDS_SLAVE_config:	unconfig
>  	fi ;
>  	@$(MKCONFIG) -a MPC8360EMDS ppc mpc83xx mpc8360emds
>  
> -MPC8349ITX_config:	unconfig
> -	@$(MKCONFIG) $(@:_config=) ppc mpc83xx mpc8349itx
> +MPC8349ITX_config \
> +MPC8349ITX_LOWBOOT_config \
> +MPC8349ITXGP_config:	unconfig
> +	@mkdir -p $(obj)include
> +	@mkdir -p $(obj)board/mpc8349itx
> +	@CTYPE=$(subst MPC,,$(@:_config=)); \
> +	echo "#define CONFIG_MPC$${CTYPE}" >> $(obj)include/config.h
> +	@if [ "$(findstring GP,$@)" ] ; then \
> +		echo "TEXT_BASE = 0xFE000000" >$(obj)board/mpc8349itx/config.tmp ; \
> +	fi
> +	@if [ "$(findstring LOWBOOT,$@)" ] ; then \
> +		echo "TEXT_BASE = 0xFE000000" >$(obj)board/mpc8349itx/config.tmp ; \
> +	fi
> +	@$(MKCONFIG) -a MPC8349ITX ppc mpc83xx mpc8349itx
>  
>  #########################################################################
>  ## MPC85xx Systems
> diff --git a/board/mpc8349itx/config.mk b/board/mpc8349itx/config.mk
> index 2e11311..1901fdc 100644
> --- a/board/mpc8349itx/config.mk
> +++ b/board/mpc8349itx/config.mk
> @@ -21,10 +21,14 @@
>  #
>  
>  #
> -# MPC8349ITX
> +# MPC8349E-mITX and MPC8349E-mITX-GP
>  #
>  
> +sinclude $(OBJTREE)/board/$(BOARDDIR)/config.tmp
> +
> +ifndef TEXT_BASE
>  TEXT_BASE  =   0xFEF00000
> +endif
>  
>  ifneq ($(OBJTREE),$(SRCTREE))
>  # We are building u-boot in a separate directory, use generated
> diff --git a/board/mpc8349itx/mpc8349itx.c
> b/board/mpc8349itx/mpc8349itx.c
> index 4838e70..aefdaf7 100644
> --- a/board/mpc8349itx/mpc8349itx.c
> +++ b/board/mpc8349itx/mpc8349itx.c
> @@ -134,88 +134,6 @@ volatile static struct pci_controller ho
>  };
>  #endif				/* CONFIG_PCI */
>  
> -/* If MPC8349E-mITX is soldered with SDRAM, then initialize it. */
> -
> -void sdram_init(void)
> -{
> -	volatile immap_t *immap = (immap_t *) CFG_IMMR;
> -	volatile lbus83xx_t *lbc = &immap->lbus;
> -
> -#if defined(CFG_BR2_PRELIM) \
> -	&& defined(CFG_OR2_PRELIM) \
> -	&& defined(CFG_LBLAWBAR2_PRELIM) \
> -	&& defined(CFG_LBLAWAR2_PRELIM) \
> -	&& !defined(CONFIG_COMPACT_FLASH)
> -
> -	uint *sdram_addr = (uint *) CFG_LBC_SDRAM_BASE;
> -
> -	puts("\n   SDRAM on Local Bus: ");
</snip>

Your U-Boot support team



More information about the U-Boot mailing list