Go to the documentation of this file.
25 #include <linux/module.h>
26 #include <linux/types.h>
27 #include <linux/kernel.h>
57 .name =
"NetSc520 boot kernel",
62 .name =
"NetSc520 Low BIOS",
67 .name =
"NetSc520 file system",
72 .name =
"NetSc520 High BIOS",
77 #define NUM_PARTITIONS ARRAY_SIZE(partition_info)
79 #define WINDOW_SIZE 0x00100000
80 #define WINDOW_ADDR 0x00200000
82 static struct map_info netsc520_map = {
83 .name =
"netsc520 Flash Bank",
89 #define NUM_FLASH_BANKS ARRAY_SIZE(netsc520_map)
93 static int __init init_netsc520(
void)
96 (
unsigned long long)netsc520_map.
size,
97 (
unsigned long long)netsc520_map.
phys);
100 if (!netsc520_map.
virt) {
101 printk(
"Failed to ioremap_nocache\n");
123 static void __exit cleanup_netsc520(
void)
129 if (netsc520_map.
virt) {