diff target-utils/pirexplore/ffsparam.c @ 100:02ece4d8c755

pirexplore: beginning of FFS support
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 01 Sep 2013 21:55:51 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/target-utils/pirexplore/ffsparam.c	Sun Sep 01 21:55:51 2013 +0000
@@ -0,0 +1,11 @@
+/*
+ * This module is linked into pirexplore for the purpose of telling the
+ * somewhat generic libmpffs exactly where the FFS is located on this
+ * device and how it is structured.
+ */
+
+#include "types.h"
+
+const u32 mpffs_base_addr = 0x02000000;
+const u32 mpffs_sector_size = 0x40000;
+const int mpffs_nsectors = 18;