public inbox for ecos-patches@sourceware.org
 help / color / mirror / Atom feed
* Add dataflash to ecos.db
@ 2008-11-18 13:45 Jonathan Larmour
  2008-11-18 14:00 ` Andrew Lunn
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Larmour @ 2008-11-18 13:45 UTC (permalink / raw)
  To: eCos Patches List

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

I accidentally forgot the dataflash driver so see the attached patch. I
also may as well switch the synthetic target to the v2 driver. At some
point we'll need to consider retiring the v1 driver. It can be now if
people don't mind.

Obviously there's plenty of scope for people to be switching their own
favourite targets to the am29xxxxx/strata v2 flash drivers, and I encourage
them to submit patches to do so!

Jifl
-- 
eCosCentric Limited      http://www.eCosCentric.com/     The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK.       Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["Si fractum non sit, noli id reficere"]------       Opinions==mine

[-- Attachment #2: ecosdb.dataflash.diff --]
[-- Type: text/x-patch, Size: 2155 bytes --]

Index: ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/ChangeLog,v
retrieving revision 1.197
diff -u -5 -p -r1.197 ChangeLog
--- ChangeLog	18 Nov 2008 01:28:11 -0000	1.197
+++ ChangeLog	18 Nov 2008 13:42:23 -0000
@@ -1,5 +1,11 @@
+2008-11-18  Jonathan Larmour  <jifl@eCosCentric.com>
+
+	* ecos.db: Add Atmel dataflash package record, accidentally
+	omitted from 2008-11-16 changes.
+	Switch synthetic target to use v2 synth flash driver.
+
 2008-11-16  Jonathan Larmour  <jifl@eCosCentric.com>
 
 	* ecos.db: Use v2 drivers for adder/adderII and IXDP425.
 
 2008-11-16  Jonathan Larmour  <jifl@eCosCentric.com>
Index: ecos.db
===================================================================
RCS file: /cvs/ecos/ecos/packages/ecos.db,v
retrieving revision 1.183
diff -u -5 -p -r1.183 ecos.db
--- ecos.db	18 Nov 2008 01:28:11 -0000	1.183
+++ ecos.db	18 Nov 2008 13:42:24 -0000
@@ -246,10 +246,18 @@ package CYGPKG_DEVS_FLASH_ATMEL_AT49XXXX
         description "
            This package contains hardware support for Atmel AT49xxxx
            flash memory devices."
 }
 
+package CYGPKG_DEVS_FLASH_ATMEL_DATAFLASH {
+    alias       { "Atmel DataFlash support" flash_dataflash dataflash }
+    directory   devs/flash/atmel/dataflash
+    script      devs_flash_atmel_dataflash.cdl
+    hardware
+    description "This package contains hardware support for Atmel DataFlash."
+}
+
 package CYGPKG_DEVS_FLASH_ARM_PID {
 	alias 		{ "Support for flash memory on ARM/PID board" flash_arm_pid }
 	directory	devs/flash/arm/pid
 	script		flash_arm_pid.cdl
 	hardware
@@ -5529,11 +5537,11 @@ target pc_usb_d12 {
 # Synthetic targets.
 target linux {
         alias		{ "Linux synthetic target" i386linux }
 	packages        { CYGPKG_HAL_SYNTH
                       CYGPKG_HAL_SYNTH_I386
-                      CYGPKG_DEVS_FLASH_SYNTH
+                      CYGPKG_DEVS_FLASH_SYNTH_V2
                       CYGPKG_DEVS_ETH_ECOSYNTH
                       CYGPKG_DEVS_WATCHDOG_SYNTH
                       CYGPKG_DEVS_WALLCLOCK_SYNTH      
 	                  CYGPKG_DEVS_FRAMEBUF_SYNTH
         }

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

* Re: Add dataflash to ecos.db
  2008-11-18 13:45 Add dataflash to ecos.db Jonathan Larmour
@ 2008-11-18 14:00 ` Andrew Lunn
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Lunn @ 2008-11-18 14:00 UTC (permalink / raw)
  To: Jonathan Larmour; +Cc: eCos Patches List

On Tue, Nov 18, 2008 at 01:44:13PM +0000, Jonathan Larmour wrote:
> I accidentally forgot the dataflash driver so see the attached patch. I
> also may as well switch the synthetic target to the v2 driver. At some
> point we'll need to consider retiring the v1 driver. It can be now if
> people don't mind.

I used the old driver for testing the legacy API. It is also nice to
be able to test multiple instances of drivers. You can have both the
old and the new driver loaded into a configuration and see that they
enumerate properly etc.

I'm O.K for swapping to the v2 driver, but i would like to keep the v1
driver around simply for testing purposes. Also testing with synth
has a very low probability of producing a brick :-)

       Andrew

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

end of thread, other threads:[~2008-11-18 14:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-18 13:45 Add dataflash to ecos.db Jonathan Larmour
2008-11-18 14:00 ` 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).