summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorpancake <pancake@dazo>2007-11-20 04:14:13 +0100
committerpancake <pancake@dazo>2007-11-20 04:14:13 +0100
commit4115aab13d70bbe8300562bcd789cc5bc27c8ded (patch)
tree8bd7531d26dd35a45d5a52a5574bc1693261c168 /src/main.c
parentfbdac811fc7694ca936607590cb19fd930528f5e (diff)
download0xFFFF-4115aab13d70bbe8300562bcd789cc5bc27c8ded.tar.bz2
- Import patches from Osvaldo Santana * Fix build on gcc 4 * Fix nanddump call definition (ignore oob added) * Fixed some stupid bugs with -pedantic -std=c990.3.1
release 0.3.1
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c31
1 files changed, 16 insertions, 15 deletions
diff --git a/src/main.c b/src/main.c
index a029e40..999eaf7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -41,27 +41,27 @@ int info = 0;
/* global structs */
char *pieces[] = {
- "xloader", // xloader.bin
- "2nd", // 2nd
- "secondary", // secondary.bin
- "kernel", // zImage
- "initfs", // jffs'd initfs
- "rootfs", // 80mB of blob
- "omap-nand", // 8kB of food for the nand
- NULL
+ "xloader", // xloader.bin
+ "2nd", // 2nd
+ "secondary", // secondary.bin
+ "kernel", // zImage
+ "initfs", // jffs'd initfs
+ "rootfs", // 80mB of blob
+ "omap-nand", // 8kB of food for the nand
+ NULL
};
char *modes[]={
- "host",
- "peripheral",
- NULL
+ "host",
+ "peripheral",
+ NULL
};
char *root_devices[] = {
- "flash",
- "mmc",
- "usb",
- NULL
+ "flash",
+ "mmc",
+ "usb",
+ NULL
};
@@ -132,6 +132,7 @@ int fiasco_flash(char *file)
openfiasco( file );
printf("\nTODO: Implement the fiasco flashing here.\n");
+ return -1;
}
int connect_via_usb()