diff packages/io/flash/current/ChangeLog @ 1715:868c3fa9315f

* src/flash.c: Make the flock lock/unlock code compile without warnings. * src/flashiodev.c (flashiodev_lookup): Only initialize the device if we have not already been initialized via cyg_set_config(). This stopped redboots mount -f working. * src/flashiodev.c (flashiodev_lookup): Moved most of the flashiodev_init into this new function. This fixed the ordering issue with redboot startup. When doing a FIS name lookup in flashiodev_init, redboot was not yet nitialised so lookup failed. Moving this into flashiodev_lookup solves this problem. Its now possible for redboot to mount the jffs2 filesystem with -d /dev/flash1.
author asl
date Mon, 16 Aug 2004 08:33:41 +0000
parents 39063f315a19
children c506b95a6346
line wrap: on
line diff
--- a/packages/io/flash/current/ChangeLog
+++ b/packages/io/flash/current/ChangeLog
@@ -1,9 +1,17 @@
+2004-08-13  Andrew Lunn  <andrew.lunn@ascom.ch>
+
+        * src/flash.c: Make the flock lock/unlock code compile without
+	warnings.
+	* src/flashiodev.c (flashiodev_lookup): Only initialize the device
+	if we have not already been initialized via cyg_set_config().
+	This stopped redboots mount -f working.
+
 2004-08-09  Andrew Lunn  <andrew.lunn@ascom.ch>
 
 	* src/flashiodev.c (flashiodev_lookup): Moved most of the
 	flashiodev_init into this new function. This fixed the ordering
 	issue with redboot startup. When doing a FIS name lookup in
-	flashiodev_init, redboot was not yet initialized so lookup
+	flashiodev_init, redboot was not yet nitialised so lookup
 	failed. Moving this into flashiodev_lookup solves this problem.
 	Its now possible for redboot to mount the jffs2 filesystem with 
 	-d /dev/flash1.