Go to the documentation of this file.
13 #include <linux/module.h>
14 #include <linux/types.h>
15 #include <linux/kernel.h>
23 #define WINDOW_ADDR 0xfe000000
24 #define WINDOW_SIZE 0x00200000
27 #define MAX_SIZE_KiB 8192
28 #define BOOT_PARTITION_SIZE_KiB 512
29 #define KERNEL_PARTITION_SIZE_KiB 5632
30 #define APP_PARTITION_SIZE_KiB 2048
32 #define NUM_PARTITIONS 3
38 { .name =
"MBX flash BOOT partition",
41 { .name =
"MBX flash DATA partition",
44 { .name =
"MBX flash APPLICATION partition",
58 static int __init init_mbx(
void)
64 printk(
"Failed to ioremap\n");
81 static void __exit cleanup_mbx(
void)