Update of /cvsroot/blob/blob/src/blob
In directory usw-pr-cvs1:/tmp/cvs-serv20495
Modified Files:
brutus.c
Log Message:
Empty flash functions for Brutus. I have really no idea about the Brutus
flash chips. With this stuff you can at least load kernels and run them.
Index: brutus.c
===================================================================
RCS file: /cvsroot/blob/blob/src/blob/brutus.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- brutus.c 2001/10/14 22:36:11 1.1
+++ brutus.c 2001/10/15 21:55:38 1.2
@@ -26,4 +26,38 @@
#endif
#include <blob/arch.h>
+#include <blob/errno.h>
+#include <blob/flash.h>
+#include <blob/util.h>
+
+
+
+#warning "Please verify Brutus flash layout"
+
+/* flash descriptor for Brutus flash. */
+/* I have *really* no idea what kind of flash Brutus uses */
+flash_descriptor_t flash_descriptors[] =
+{
+ {
+ /* NULL block */
+ },
+};
+
+
+
+#warning "Please verify Brutus flash functions"
+
+int erase_flash(u32 *addr)
+{
+ return -EFLASHERASE;
+}
+
+
+
+
+/* write a flash block at a given location */
+int write_flash(u32 *dst, const u32* src)
+{
+ return -EFLASHPGM;
+}
|