summaryrefslogtreecommitdiffstats
path: root/uClinux-2.4.20-uc1/include/asm-armnommu/arch-W90N745/firmware.h
diff options
context:
space:
mode:
authorOliver Schinagl <oliver@schinagl.nl>2011-04-12 20:55:03 (GMT)
committerOliver Schinagl <oliver@schinagl.nl>2011-04-12 20:55:03 (GMT)
commit81dab211200deb1f6b665810ab0e430181cf7bfd (patch)
tree1bc72e789dda7952551b58c5b4684456b692b602 /uClinux-2.4.20-uc1/include/asm-armnommu/arch-W90N745/firmware.h
parent53d491d04770dac7e402b20340561ccb399981c9 (diff)
downloadopenipcam-81dab211200deb1f6b665810ab0e430181cf7bfd.zip
openipcam-81dab211200deb1f6b665810ab0e430181cf7bfd.tar.gz
openipcam-81dab211200deb1f6b665810ab0e430181cf7bfd.tar.bz2
Architecture specific stuff, basically, without drivers.
Diffstat (limited to 'uClinux-2.4.20-uc1/include/asm-armnommu/arch-W90N745/firmware.h')
-rw-r--r--uClinux-2.4.20-uc1/include/asm-armnommu/arch-W90N745/firmware.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/uClinux-2.4.20-uc1/include/asm-armnommu/arch-W90N745/firmware.h b/uClinux-2.4.20-uc1/include/asm-armnommu/arch-W90N745/firmware.h
new file mode 100644
index 0000000..fcfb815
--- /dev/null
+++ b/uClinux-2.4.20-uc1/include/asm-armnommu/arch-W90N745/firmware.h
@@ -0,0 +1,13 @@
+typedef struct FirmWare{
+ int flag;
+ int length_bin;
+ int length_img;
+}FirmWare;
+
+#define BINZIP 0x00000001
+#define IMGZIP 0x00000002
+
+#define ISBINZIP(flag) ((flag)&0x00000001)
+#define ISBINUNZIP(flag) !((flag)&0x00000001)
+#define ISIMGZIP(flag) ((flag)&0x00000002)
+#define ISIMGUNZIP(flag) !((flag)&0x00000002)