add support for Sysam AMCORE board
PATCH 1/1 add support for Sysam AMCORE board
Add support for mcf5307 based "Sysam AMCORE" open board. Board main features:
cpu : Freescale mcf5307
flash : 4MB, nor, SST39VF3201B
sdram : 16M, MT48LC4M32B2
eth : 1 x dm9000e
rtc : ds1338, i2c
---
Makefile | 3 + board/sysam/amcore/Makefile | 43 ++++ board/sysam/amcore/amcore.c | 174 ++++++++++++++++ board/sysam/amcore/config.mk | 23 ++ board/sysam/amcore/flash.c | 462 +++++++++++++++++++++++++++++++++++++++++ board/sysam/amcore/u-boot.lds | 99 +++++++++ boards.cfg | 1 + include/configs/amcore.h | 193 +++++++++++++++++ include/flash.h | 1 + 9 files changed, 999 insertions(+), 0 deletions(-)
Makefile +3 -0
@@ -608,6 +608,9 @@ ucname = $(shell echo $(1) | sed -e 's/\(.*\)_config/\U\1/') ## Coldfire ######################################################################### +amcore_config: + @$(MKCONFIG) -n $@ -a amcore m68k mcf530x amcore sysam + astro_mcf5373l_config \ astro_mcf5373l_RAM_config : unconfig @$(MKCONFIG) -n $@ -t $@ astro_mcf5373l m68k mcf532x mcf5373l astro
board/sysam/amcore/Makefile new file +43 -0
43 lines not on this page · raw message
board/sysam/amcore/amcore.c new file +174 -0
174 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/flash.c new file +462 -0
462 lines not on this page · raw message
board/sysam/amcore/u-boot.lds new file +99 -0
99 lines not on this page · raw message
boards.cfg +1 -0
@@ -264,6 +264,7 @@ idmr m68k mcf52x2 TASREG m68k mcf52x2 tasreg esd M5208EVBE m68k mcf52x2 m5208evbe freescale M5249EVB m68k mcf52x2 m5249evb freescale +AMCORE m68k mcf5307 amcore sysam M5253DEMO m68k mcf52x2 m5253demo freescale M5253EVBE m68k mcf52x2 m5253evbe freescale M5271EVB m68k mcf52x2 m5271evb freescale
include/configs/amcore.h new file +193 -0
193 lines not on this page · raw message
include/flash.h +1 -0
@@ -281,6 +281,7 @@ extern flash_info_t *flash_get_info(ulong base);#define SST_ID_xF1601 0x234B234B/* 39xF1601 ID (16M = 1M x 16 ) */ #define SST_ID_xF1602 0x234A234A/* 39xF1602 ID (16M = 1M x 16 ) */ #define SST_ID_xF3201 0x235B235B/* 39xF3201 ID (32M = 2M x 16 ) */ +#define SST_ID_xF3201B 0x235D235D/* 39xF320B1 ID (32M = 2M x 16 ) */ #define SST_ID_xF3202 0x235A235A/* 39xF3202 ID (32M = 2M x 16 ) */ #define SST_ID_xF6401 0x236B236B/* 39xF6401 ID (64M = 4M x 16 ) */ #define SST_ID_xF6402 0x236A236A/* 39xF6402 ID (64M = 4M x 16 ) */
PATCH 1/1 add support for Sysam AMCORE board
Dear Angelo Dureghello,
Quoted 11 lines · In message <[email protected]> you wrote:
Add support for mcf5307 based "Sysam AMCORE" open board. Board main features:
cpu : Freescale mcf5307
flash : 4MB, nor, SST39VF3201B
sdram : 16M, MT48LC4M32B2
eth : 1 x dm9000e
rtc : ds1338, i2cSigned-off-by Angelo Dureghello <[email protected]>---
Quoted 10 lines
Makefile | 3 + board/sysam/amcore/Makefile | 43 ++++ board/sysam/amcore/amcore.c | 174 ++++++++++++++++ board/sysam/amcore/config.mk | 23 ++ board/sysam/amcore/flash.c | 462 +++++++++++++++++++++++++++++++++++++++++ board/sysam/amcore/u-boot.lds | 99 +++++++++ boards.cfg | 1 + include/configs/amcore.h | 193 +++++++++++++++++ include/flash.h | 1 + 9 files changed, 999 insertions(+), 0 deletions(-)
Entry to MAINTAINERS missing, entry to boards.cgf missing.
Makefile ucname = $(shell echo $(1) | sed -e 's/\(.*\)_config/\U\1/') · line 613
Quoted 11 lines
Makefile +3
-0@@ -608,6 +608,9 @@ ucname = $(shell echo $(1) | sed -e 's/\(.*\)_config/\U\1/') ## Coldfire ######################################################################### +amcore_config: + @$(MKCONFIG) -n $@ -a amcore m68k mcf530x amcore sysam +
We don't add boards to Makefile any more.
checkpatch says: total: 79 errors, 65 warnings, 1017 lines checked
Please fix and resubmit.
Best regards,
Wolfgang Denk
Signature · 4 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de You are only young once, but you can stay immature indefinitely.