[U-Boot] [PATCH 7/7] Add support for Freescale's mx35pdk board.

Jason Liu liu.h.jason at gmail.com
Mon Jan 17 17:43:57 CET 2011


Hi, Stefano,

2011/1/14 Stefano Babic <sbabic at denx.de>:
> The patch adds suupport for the Freescale's mx35pdk board
> (known as well as mx35_3stack).
>
> The board boots from the NOR flash. Following devices
> are supported:
>  - two ethernet devices (FEC and SMC911x on debug board)
>  - I2C
>  - PMIC (MC13892) via I2C interface
>  - UART
>  - NOR flash (64MB)
>  - NAND flash (2GB)
>  - basic access to mc9sdz60 registers via I2C interface
>
> Signed-off-by: Stefano Babic <sbabic at denx.de>
> ---
>  MAINTAINERS                             |    1 +
>  MAKEALL                                 |    1 +
>  arch/arm/include/asm/arch-mx35/mmu.h    |  172 --------------

You want to remove this file, is there this file in the mainline?

>  board/freescale/mx35pdk/Makefile        |   49 ++++
>  board/freescale/mx35pdk/config.mk       |   25 ++
>  board/freescale/mx35pdk/imximage.cfg    |   62 +++++
>  board/freescale/mx35pdk/lowlevel_init.S |  382 +++++++++++++++++++++++++++++++
>  board/freescale/mx35pdk/mx35pdk.c       |  313 +++++++++++++++++++++++++
>  board/freescale/mx35pdk/mx35pdk.h       |  101 ++++++++
>  boards.cfg                              |    1 +
>  doc/README.mx35pdk                      |  185 +++++++++++++++
>  include/configs/mx35pdk.h               |  269 ++++++++++++++++++++++
>  12 files changed, 1389 insertions(+), 172 deletions(-)
>  delete mode 100644 arch/arm/include/asm/arch-mx35/mmu.h
>  create mode 100644 board/freescale/mx35pdk/Makefile
>  create mode 100644 board/freescale/mx35pdk/config.mk
>  create mode 100644 board/freescale/mx35pdk/imximage.cfg
>  create mode 100644 board/freescale/mx35pdk/lowlevel_init.S
>  create mode 100644 board/freescale/mx35pdk/mx35pdk.c
>  create mode 100644 board/freescale/mx35pdk/mx35pdk.h
>  create mode 100644 doc/README.mx35pdk
>  create mode 100644 include/configs/mx35pdk.h
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index d7cd09c..3abb4cb 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -554,6 +554,7 @@ Stefano Babic <sbabic at denx.de>
>        ea20            davinci
>        polaris         xscale
>        trizepsiv       xscale
> +       mx35pdk         i.MX35
>        mx51evk         i.MX51
>        vision2         i.MX51
>
> diff --git a/MAKEALL b/MAKEALL
> index a732e6a..31dbfe1 100755
> --- a/MAKEALL
> +++ b/MAKEALL
> @@ -409,6 +409,7 @@ LIST_ARM11="                        \
>        mx31ads                 \
>        mx31pdk                 \
>        mx31pdk_nand            \
> +       mx35pdk                 \
>        qong                    \
>        smdk6400                \
>        tnetv107x_evm           \
> diff --git a/arch/arm/include/asm/arch-mx35/mmu.h b/arch/arm/include/asm/arch-mx35/mmu.h
> deleted file mode 100644
> index 1b15dba..0000000
> --- a/arch/arm/include/asm/arch-mx35/mmu.h
> +++ /dev/null
> @@ -1,172 +0,0 @@
> -/*
> - * Copyright 2004-2010 Freescale Semiconductor, Inc. All Rights Reserved.
> - */
> -

Ditto,

[snip]

> diff --git a/board/freescale/mx35pdk/config.mk b/board/freescale/mx35pdk/config.mk
> new file mode 100644
> index 0000000..3db1c85
> --- /dev/null
> +++ b/board/freescale/mx35pdk/config.mk
> @@ -0,0 +1,25 @@
> +#
> +# (C) Copyright 2010
> +# Stefano Babic DENX Software Engineering sbabic at denx.de.
> +#
> +# Copyright 2009 Freescale Semiconductor, Inc. All Rights Reserved.
> +#
> +# See file CREDITS for list of people who contributed to this
> +# project.
> +#
> +# This program is free software; you can redistribute it and/or
> +# modify it under the terms of the GNU General Public License as
> +# published by the Free Software Foundation; either version 2 of
> +# the License, or (at your option) any later version.
> +#
> +# This program is distributed in the hope that it will be useful,
> +# but WITHOUT ANY WARRANTY; without even the implied warranty of
> +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> +# GNU General Public License for more details.
> +#
> +# You should have received a copy of the GNU General Public License
> +# along with this program; if not, write to the Free Software
> +# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
> +# MA 02111-1307 USA
> +#
> +CONFIG_SYS_TEXT_BASE = 0xA0000000

Need move this config to board config file and remove this file.

[snip]

>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>


More information about the U-Boot mailing list