[U-Boot] [PATCH 4/4] stx: add support for STx amc8548 board
Kumar Gala
galak at kernel.crashing.org
Fri Aug 7 14:57:33 CEST 2009
On Aug 7, 2009, at 12:28 AM, oakad at yahoo.com wrote:
> From: Alex Dubov <oakad at yahoo.com>
>
> This board, intended for RapidIO development, has following features:
> * RapidIO interface to backplane
> * No PCI
> * USB controller on LBC (not currently enabled)
> * 16MiB Spansion flash
> * one soDIMM DDR2 slot
>
> Environment is set to its own, smaller eraseblock near the end of
> FLASH
> chip.
>
> Signed-off-by: Alex Dubov <oakad at yahoo.com>
> ---
> MAINTAINERS | 4 +
> Makefile | 3 +
> board/stx/common/ddr.c | 11 +-
> board/stx/stxamc8548/Makefile | 52 ++++++
> board/stx/stxamc8548/config.mk | 32 ++++
> board/stx/stxamc8548/stxamc8548.c | 215 ++++++++++++++++++++++++
> board/stx/stxamc8548/tlb.c | 84 +++++++++
> board/stx/stxamc8548/u-boot.lds | 152 +++++++++++++++++
> include/configs/stxamc8548.h | 334 ++++++++++++++++++++++++++++
> +++++++++
> 9 files changed, 886 insertions(+), 1 deletions(-)
> create mode 100644 board/stx/stxamc8548/Makefile
> create mode 100644 board/stx/stxamc8548/config.mk
> create mode 100644 board/stx/stxamc8548/stxamc8548.c
> create mode 100644 board/stx/stxamc8548/tlb.c
> create mode 100644 board/stx/stxamc8548/u-boot.lds
> create mode 100644 include/configs/stxamc8548.h
Please add the new board to MAKEALL.
> diff --git a/board/stx/stxamc8548/config.mk b/board/stx/stxamc8548/
> config.mk
> new file mode 100644
> index 0000000..923828b
> --- /dev/null
> +++ b/board/stx/stxamc8548/config.mk
> @@ -0,0 +1,32 @@
> +#
> +# Copyright 2009 Alex Dubov <oakad at yahoo.com>
> +#
> +# 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
> +#
> +
> +#
> +# STx amc8548 board
> +#
> +ifndef TEXT_BASE
> +TEXT_BASE = 0xfffc0000
> +endif
> +
> +PLATFORM_CPPFLAGS += -DCONFIG_E500=1
> +PLATFORM_CPPFLAGS += -DCONFIG_MPC85xx=1
> +PLATFORM_CPPFLAGS += -DCONFIG_MPC8548=1
these PLATFORM_CPPFLAGS are not needed, please don't add them.
More information about the U-Boot
mailing list