public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3] Add support for Eukrea CPUAT91 SBC
Date: Fri, 24 Jul 2009 00:27:13 +0200	[thread overview]
Message-ID: <20090723222713.GC24893@game.jcrosoft.org> (raw)
In-Reply-To: <1247954953-10146-1-git-send-email-eric@eukrea.com>

> --- a/MAKEALL
> +++ b/MAKEALL
> @@ -587,11 +587,12 @@ LIST_at91="			\
>  	at91sam9260ek		\
>  	at91sam9261ek		\
>  	at91sam9263ek		\
> -	at91sam9g10ek	\
> +	at91sam9g10ek		\
please do not touch non related part to your patch
please fix it in an other patch
>  	at91sam9g20ek		\
>  	at91sam9m10g45ek	\
>  	at91sam9rlek		\
>  	cmc_pu2			\
> +	cpuat91			\
>  	csb637			\
>  	kb9202			\
>  	meesc			\
> diff --git a/Makefile b/Makefile
> index 090e645..3b348d9 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -2683,6 +2683,18 @@ at91rm9200ek_config	:	unconfig
>  cmc_pu2_config	:	unconfig
>  	@$(MKCONFIG) $(@:_config=) arm arm920t cmc_pu2 NULL at91rm9200
>  
> +cpuat91_ram_config \
> +cpuat91_config	:	unconfig
> +	@mkdir -p $(obj)include
> +	@if [ "$(findstring _ram_,$@)" ] ; then \
> +		echo "#define CONFIG_CPUAT91_RAM 1" >>$(obj)include/config.h ; \
same as other patch
no need please define the
#define CONFIG_SKIP_LOWLEVEL_INIT
#define CONFIG_SKIP_RELOCATE_UBOOT
here
> +		$(XECHO) "... CPUAT91 configured for RAM" ; \
> +	else \
> +		echo "#define CONFIG_BOOTDELAY 1" >>$(obj)include/config.h ;\
> +		$(XECHO) "... CPUAT91 configured for Flash" ;\
> +	fi;
> +	@$(MKCONFIG) -a cpuat91 arm arm920t cpuat91 eukrea at91rm9200
> +
>  csb637_config	:	unconfig
>  	@$(MKCONFIG) $(@:_config=) arm arm920t csb637 NULL at91rm9200
>  
> diff --git a/board/eukrea/cpuat91/Makefile b/board/eukrea/cpuat91/Makefile
> new file mode 100644
> index 0000000..08a90dc
> --- /dev/null
> +++ b/board/eukrea/cpuat91/Makefile
> @@ -0,0 +1,50 @@
> +#
> +# (C) Copyright 2003-2006
> +# Wolfgang Denk, DENX Software Engineering, wd at denx.de.
> +#
> +# 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).a
> +
> +COBJS	:= cpuat91.o
please be consistant with your other patch
$(BOARD)
> +
> +SRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
> +OBJS	:= $(addprefix $(obj),$(COBJS))
> +SOBJS	:= $(addprefix $(obj),$(SOBJS))
> +
> +$(LIB):	$(obj).depend $(OBJS) $(SOBJS)
> +	$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
> +
> +clean:
> +	rm -f $(SOBJS) $(OBJS)
> +
> +distclean:	clean
> +	rm -f $(LIB) core *.bak .depend
> +
> +#########################################################################
> +
> +# defines $(obj).depend target
> +include $(SRCTREE)/rules.mk
> +
> +sinclude $(obj).depend
> +
<snip>
> +
> +#endif	/* CONFIG_CMD_NET */
> +#endif	/* CONFIG_DRIVER_ETHER */
> diff --git a/cpu/arm920t/at91rm9200/Makefile b/cpu/arm920t/at91rm9200/Makefile
> index 73aeeac..114d8ad 100644
> --- a/cpu/arm920t/at91rm9200/Makefile
> +++ b/cpu/arm920t/at91rm9200/Makefile
> @@ -31,14 +31,15 @@ COBJS	+= bcm5221.o
>  COBJS	+= dm9161.o
>  COBJS	+= ether.o
>  COBJS	+= i2c.o
> +COBJS-$(CONFIG_KS8721_PHY)	+= ks8721.o
>  COBJS	+= lxt972.o
>  COBJS	+= reset.o
>  COBJS	+= spi.o
>  COBJS	+= timer.o
>  COBJS	+= usb.o
>  
> -SRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
> -OBJS	:= $(addprefix $(obj),$(SOBJS) $(COBJS))
> +SRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c) $(COBJS-y:.o=.c)
> +OBJS	:= $(addprefix $(obj),$(SOBJS) $(COBJS) $(COBJS-y))
please switch all to COBJS-y
>  
>  all:	$(obj).depend $(LIB)
>  
you have also some whitespace in your patch please fix

Best Regards,
J.

  reply	other threads:[~2009-07-23 22:27 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-16 13:24 [U-Boot] [PATCH 1/1] Add support for Eukrea CPUAT91 SBC Eric Benard
2009-07-18 15:27 ` Jean-Christophe PLAGNIOL-VILLARD
2009-07-18 17:14   ` Eric Bénard
2009-07-18 17:44     ` Jean-Christophe PLAGNIOL-VILLARD
2009-07-18 20:10       ` Eric Benard
2009-07-18 20:32         ` Wolfgang Denk
2009-07-18 22:09           ` [U-Boot] [PATCH v3] " Eric Benard
2009-07-23 22:27             ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2009-07-23 22:41               ` Wolfgang Denk
2009-07-23 22:55                 ` Jean-Christophe PLAGNIOL-VILLARD
2009-07-22 21:51   ` [U-Boot] [PATCH 1/1] " Jean-Christophe PLAGNIOL-VILLARD
2009-07-23  5:24     ` Ben Warren
2009-07-23  5:55       ` Eric Bénard
2009-07-23  6:08         ` Ben Warren
2009-07-30 19:18           ` [U-Boot] [PATCH] " Eric Benard
2009-08-01  9:40             ` Jean-Christophe PLAGNIOL-VILLARD
2009-08-01 15:40               ` Eric Bénard
2009-08-09 11:13               ` [U-Boot] [PATCH v5] " Eric Benard
2009-08-09 13:01                 ` Jean-Christophe PLAGNIOL-VILLARD
2009-08-09 20:09                 ` Wolfgang Denk
2009-08-09 20:24                 ` Wolfgang Denk
2009-08-09 21:11                   ` Dirk Behme
2009-08-09 21:34                     ` Wolfgang Denk
2009-08-09 21:54                   ` [U-Boot] [PATCH v6] " Eric Benard
2009-08-09 11:15               ` [U-Boot] [PATCH v5] Cosmetic fix in MAKEALL as a separate patch Eric Benard
2009-08-09 20:20                 ` Wolfgang Denk
2009-07-23 21:39       ` [U-Boot] [PATCH 1/1] Add support for Eukrea CPUAT91 SBC Jean-Christophe PLAGNIOL-VILLARD
2009-07-23 21:43         ` Ben Warren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090723222713.GC24893@game.jcrosoft.org \
    --to=plagnioj@jcrosoft.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox