Add support for IDS8313 boards
PATCH 1/1 Add support for IDS8313 boards
This patch adds support for IDS8313 boards based on MPC8313 It contains the following components:
- both of TSEC's, NOR- and NAND flash, I2C, SPI
--
board/ids/ids8313/Makefile | 52 ++++ board/ids/ids8313/ids8313.c | 179 ++++++++++++++ boards.cfg | 1 + include/configs/IDS8313.h | 575 +++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 807 insertions(+), 0 deletions(-)
board/ids/ids8313/Makefile new file +52 -0
@@ -0,0 +1,52 @@ +# +# Copyright (c) 2011 IDS GmbH, Germany +# +# Sergej Stepanov <[email protected]> +# Based on board/freescale/mpc8313erdb/Makefile +# +# 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 +# + +include $(TOPDIR)/config.mk + +LIB = $(obj)lib$(BOARD).o + +COBJS := $(BOARD).o + +SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS)) +SOBJS := $(addprefix $(obj),$(SOBJS)) + +$(LIB): $(obj).depend $(OBJS) + $(AR) $(ARFLAGS) $@ $(OBJS) + +clean: + rm -f $(SOBJS) $(OBJS) + +distclean: clean + rm -f $(LIB) core *.bak $(obj).depend + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend + +#########################################################################
board/ids/ids8313/ids8313.c new file +179 -0
179 lines not on this page · raw message
boards.cfg +1 -0
@@ -536,6 +536,7 @@ suvd3 powerpc mpc83xx km83xx keymile TQM834x powerpc mpc83xx tqm834x tqc tuda1 powerpc mpc83xx km83xx keymile tuxa1 powerpc mpc83xx km83xx keymile +IDS8313 powerpc mpc83xx ids8313 ids - IDS8313:SYS_TEXT_BASE=0xFFF00000 sbc8540 powerpc mpc85xx sbc8560 - - SBC8540 sbc8540_33 powerpc mpc85xx sbc8560 - - SBC8540 sbc8540_66 powerpc mpc85xx sbc8560 - - SBC8540
include/configs/IDS8313.h new file +575 -0
575 lines not on this page · raw message
PATCH 1/1 Add support for IDS8313 boards
Dear Sergej.Stepanov at ids.de,
Quoted 4 lines · In message <4206182445660643B9AEB8D4E55BBD0A15399F40A4@HERMES2> you wrote:
This patch adds support for IDS8313 boards based on MPC8313 It contains the following components:
- both of TSEC's, NOR- and NAND flash, I2C, SPI
Quoted 8 lines
Signed-off-by Sergej Stepanov <[email protected]>Signed-off-by Rolf Riehle <[email protected]>--
board/ids/ids8313/Makefile | 52 ++++ board/ids/ids8313/ids8313.c | 179 ++++++++++++++ boards.cfg | 1 + include/configs/IDS8313.h | 575 +++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 807 insertions(+), 0 deletions(-)
Checkpatch says:
[U-Boot] [PATCH] Add support for IDS8313 boards
total: 136 errors, 218 warnings, 813 lines checked
Please clean up and resubmit.
Thanks.
Best regards,
Wolfgang Denk
Signature · 5 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 "It takes all sorts of in & out-door schooling to get adapted to my kind of fooling" - R. Frost
A message that is not in the archive (sent off-list or not yet received): 4206182445660643B9AEB8D4E55BBD0A15399E41F3@HERMES2
PATCH 1/1 Add support for IDS8313 boards
Dear Sergej,
Quoted 4 lines · In message <4206182445660643B9AEB8D4E55BBD0A15399E41F3@HERMES2> you wrote:
i have 2 questions:
1. which version of checkpatch has to be used?
I used the one from 2.6.37 kernel.
We normally use the one from the latest kernel version (v3.1-rc6), i. e. version 0.32
Quoted 7 lines
2. after the clean i got 6 warnings like
...
WARNING: Use of volatile is usually wrong: seeDocumentation/volatile-considered-harmful.txt
...
total: 0 errors, 6 warnings, 804 lines checkedIs it acceptable in u-boot software?
No, we insist on proper use of I/O accesssors as well. There are a few areas where it cannot be avoided (because existing functions use such types as parameters), but there shoul be no need for any new volatiles.
Best regards,
Wolfgang Denk
Signature · 5 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 Uncertain fortune is thoroughly mastered by the equity of the calcu- lation. - Blaise Pascal