Go to the documentation of this file.
5 #include <linux/module.h>
6 #include <linux/types.h>
7 #include <linux/kernel.h>
13 #include <linux/errno.h>
20 .name =
"BR bootloader",
26 .name =
"FLFS (U-Boot)",
32 .name =
"Root (SquashFS)",
38 .name =
"var (JFFS2)",
44 .name =
"Flash without bootloader",
50 .name =
"Complete Flash",
57 #define NUM_PARTITIONS ARRAY_SIZE(partition_info)
59 #define WINDOW_ADDR 0x10000000
60 #define WINDOW_SIZE 0x800000
66 .name =
"D-Box 2 flash memory",
72 static int __init init_dbox2_flash(
void)
77 if (!dbox2_flash_map.
virt) {
78 printk(
"Failed to ioremap\n");
105 static void __exit cleanup_dbox2_flash(
void)
111 if (dbox2_flash_map.
virt) {
113 dbox2_flash_map.
virt = 0;