public inbox for ecos-patches@sourceware.org
 help / color / mirror / Atom feed
* Flash-Support for AT91SAM7XC
@ 2008-10-13 19:58 oliver munz @ s p e a g
  2008-10-19 15:12 ` Andrew Lunn
  0 siblings, 1 reply; 2+ messages in thread
From: oliver munz @ s p e a g @ 2008-10-13 19:58 UTC (permalink / raw)
  To: ecos-patches

Add the AT91_DBG_C1R_ARCH_AT91SAM7XC...


Index: packages/devs/flash/arm/at91/current/src/at91_flash.c
===================================================================
RCS file: 
/cvs/ecos/ecos/packages/devs/flash/arm/at91/current/src/at91_flash.c,v
retrieving revision 1.7
diff -r1.7 at91_flash.c
214c214,215
<       ((chipID1r & AT91_DBG_C1R_ARCH_MASK) != 
AT91_DBG_C1R_ARCH_AT91SAM7Xxx))
---
 >       ((chipID1r & AT91_DBG_C1R_ARCH_MASK) != 
AT91_DBG_C1R_ARCH_AT91SAM7Xxx) &&
 >       ((chipID1r & AT91_DBG_C1R_ARCH_MASK) != 
AT91_DBG_C1R_ARCH_AT91SAM7XC))

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Flash-Support for AT91SAM7XC
  2008-10-13 19:58 Flash-Support for AT91SAM7XC oliver munz @ s p e a g
@ 2008-10-19 15:12 ` Andrew Lunn
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Lunn @ 2008-10-19 15:12 UTC (permalink / raw)
  To: oliver munz @ s p e a g; +Cc: ecos-patches

[-- Attachment #1: Type: text/plain, Size: 234 bytes --]

On Mon, Oct 13, 2008 at 09:59:02PM +0200, oliver munz @ s p e a g wrote:
> Add the AT91_DBG_C1R_ARCH_AT91SAM7XC...

Thanks.

Your mailer has mangled the patch. However it was simple enough that i
could apply it by hand.

      Andrew

[-- Attachment #2: at91sam7xc_flash.diff --]
[-- Type: text/x-diff, Size: 1464 bytes --]

Index: devs/flash/arm/at91/current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/flash/arm/at91/current/ChangeLog,v
retrieving revision 1.7
diff -u -r1.7 ChangeLog
--- devs/flash/arm/at91/current/ChangeLog	2 Jun 2006 18:50:34 -0000	1.7
+++ devs/flash/arm/at91/current/ChangeLog	19 Oct 2008 15:10:36 -0000
@@ -1,3 +1,7 @@
+2008-10-19  Oliver Munz <munz@speag.ch>
+
+	* src/at91_flash.c (flash_hwr_init): Add support for AT91SAM7XC.
+
 2006-05-23  Andrew Lunn  <andrew.lunn@ascom.ch>
 
 	* src/at91_flash.c: Support for the AT91SAM7X devices.
Index: devs/flash/arm/at91/current/src/at91_flash.c
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/flash/arm/at91/current/src/at91_flash.c,v
retrieving revision 1.7
diff -u -r1.7 at91_flash.c
--- devs/flash/arm/at91/current/src/at91_flash.c	2 Jun 2006 18:50:34 -0000	1.7
+++ devs/flash/arm/at91/current/src/at91_flash.c	19 Oct 2008 15:10:36 -0000
@@ -211,7 +211,8 @@
     goto out;
 
   if (((chipID1r & AT91_DBG_C1R_ARCH_MASK) != AT91_DBG_C1R_ARCH_AT91SAM7Sxx) &&
-      ((chipID1r & AT91_DBG_C1R_ARCH_MASK) != AT91_DBG_C1R_ARCH_AT91SAM7Xxx))
+      ((chipID1r & AT91_DBG_C1R_ARCH_MASK) != AT91_DBG_C1R_ARCH_AT91SAM7Xxx) &&
+      ((chipID1r & AT91_DBG_C1R_ARCH_MASK) != AT91_DBG_C1R_ARCH_AT91SAM7XC))
     goto out;
   
   if ((chipID1r & AT91_DBG_C1R_FLASH_MASK) == AT91_DBG_C1R_FLASH_0K)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-10-19 15:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-13 19:58 Flash-Support for AT91SAM7XC oliver munz @ s p e a g
2008-10-19 15:12 ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).