board: add support for amcore board
PATCH v6 2/2 board: add support for amcore board
Add support for Sysam AMCORE mcf5307 (coldfire) based board.
---
Changes for v2:
- None
Changes for v3:
- Fix code format issues
Changes for v4:
- Add MAINTAINERS file entry
- Remove all unnecessary blank lines
- Add get_ram_size in sdram init
- Reuse already existing sdram test routine
- Remove custom flash.c, used std mtd/CFI driver
Changes for v5:
- Fix MAINTAINERS bad sorted entry
- Fix incorrect indentation
- Remove #undef where not needed
- Fix CONFIG_SYS_SDRAM_SIZE to be in bytes
Changes for v6:
- Remove still some #undef not needed in amcore.h
- Remove custom sdram test routine
--- MAINTAINERS | 4 + board/sysam/amcore/Makefile | 43 ++++++ board/sysam/amcore/amcore.c | 123 ++++++++++++++++ board/sysam/amcore/config.mk | 23 +++ board/sysam/amcore/u-boot.lds | 101 ++++++++++++++ boards.cfg | 1 + include/configs/amcore.h | 206 +++++++++++++++++++++++++++ 7 files changed, 501 insertions(+), 0 deletions(-)
MAINTAINERS +4 -0
@@ -149,6 +149,10 @@ Wolfgang Denk <[email protected]> PCIPPC2 MPC750 PCIPPC6 MPC750 +Angelo Dureghello <[email protected]> + + amcore mcf5307 + Phil Edworthy <[email protected]> rsk7264 SH7264
board/sysam/amcore/Makefile new file +43 -0
43 lines not on this page · raw message
board/sysam/amcore/amcore.c new file +123 -0
123 lines not on this page · raw message
board/sysam/amcore/config.mk new file +23 -0
@@ -0,0 +1,23 @@ +# +# Copyright (c) 2011 Angelo Dureghello <[email protected]> +# +# 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 = 0xffc00000
board/sysam/amcore/u-boot.lds new file +101 -0
101 lines not on this page · raw message
boards.cfg +1 -0
@@ -388,6 +388,7 @@ M5271EVB m68k mcf52x2 m5271evb freesca M5272C3 m68k mcf52x2 m5272c3 freescale M5275EVB m68k mcf52x2 m5275evb freescale M5282EVB m68k mcf52x2 m5282evb freescale +amcore m68k mcf530x amcore sysam astro_mcf5373l m68k mcf532x mcf5373l astro M53017EVB m68k mcf532x m53017evb freescale M5329AFEE m68k mcf532x m5329evb freescale - M5329EVB:NANDFLASH_SIZE=0
include/configs/amcore.h new file +206 -0
206 lines not on this page · raw message