aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/image/lzma-loader/src/config.h
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-04-25 19:03:13 +0000
committerJohn Crispin <blogic@openwrt.org>2013-04-25 19:03:13 +0000
commitc69c086dfb8ffc880ffcc2a1afaede257fb5fb7f (patch)
tree312c6a5c3947136d0218bc8bbb842e6c6a797de5 /target/linux/lantiq/image/lzma-loader/src/config.h
parenta15a67dfe8f30f120aad78b96d51cc605016da72 (diff)
downloadmaster-187ad058-c69c086dfb8ffc880ffcc2a1afaede257fb5fb7f.tar.gz
master-187ad058-c69c086dfb8ffc880ffcc2a1afaede257fb5fb7f.tar.bz2
master-187ad058-c69c086dfb8ffc880ffcc2a1afaede257fb5fb7f.zip
lantiq: add lzma-loader source
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36438 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/image/lzma-loader/src/config.h')
-rw-r--r--target/linux/lantiq/image/lzma-loader/src/config.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/target/linux/lantiq/image/lzma-loader/src/config.h b/target/linux/lantiq/image/lzma-loader/src/config.h
new file mode 100644
index 0000000000..b7719e9ca8
--- /dev/null
+++ b/target/linux/lantiq/image/lzma-loader/src/config.h
@@ -0,0 +1,27 @@
+/*
+ * LZMA compressed kernel loader for Atheros AR7XXX/AR9XXX based boards
+ *
+ * Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 as published
+ * by the Free Software Foundation.
+ *
+ */
+
+#ifndef _CONFIG_H_
+#define _CONFIG_H_
+
+#ifndef CONFIG_FLASH_OFFS
+#define CONFIG_FLASH_OFFS 0
+#endif
+
+#ifndef CONFIG_FLASH_MAX
+#define CONFIG_FLASH_MAX 0
+#endif
+
+#ifndef CONFIG_FLASH_STEP
+#define CONFIG_FLASH_STEP 0x1000
+#endif
+
+#endif /* _CONFIG_H_ */