-#define WL341V3_BUTTONS_POLL_INTERVAL 20
-
-#ifdef CONFIG_MTD_PARTITIONS
-static struct mtd_partition wl341v3_partitions[] = {
- {
- .name = "u-boot",
- .offset = 0,
- .size = 0x020000,
- .mask_flags = MTD_WRITEABLE,
- }, {
- .name = "board-nvram",
- .offset = 0x020000,
- .size = 0x010000,
- .mask_flags = MTD_WRITEABLE,
- }, {
- .name = "u-boot-env",
- .offset = 0x030000,
- .size = 0x010000,
- .mask_flags = MTD_WRITEABLE,
- }, {
- .name = "kernel",
- .offset = 0x040000,
- .size = 0x0d0000,
- }, {
- .name = "rootfs",
- .offset = 0x110000,
- .size = 0x2e0000,
- }, {
- .name = "signature-eRcOmM",
- .offset = 0x3f0000,
- .size = 0x010000,
- }, {
- .name = "firmware",
- .offset = 0x040000,
- .size = 0x3b0000,
- }, {
- .name = "fullflash",
- .offset = 0x000000,
- .size = 0x400000,
- }
-};
-#endif /* CONFIG_MTD_PARTITIONS */
-
-static struct physmap_flash_data wl341v3_flash_data = {
-#ifdef CONFIG_MTD_PARTITIONS
- .nr_parts = ARRAY_SIZE(wl341v3_partitions),
- .parts = wl341v3_partitions,
-#endif
-};
+#define WL341V3_KEYS_POLL_INTERVAL 20
+#define WL341V3_KEYS_DEBOUNCE_INTERVAL (3 * WL341V3_KEYS_POLL_INTERVAL)