aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/maps/pq2fads.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/maps/pq2fads.c')
-rw-r--r--drivers/mtd/maps/pq2fads.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/mtd/maps/pq2fads.c b/drivers/mtd/maps/pq2fads.c
index e959076b1bf6..fb78d87cc130 100644
--- a/drivers/mtd/maps/pq2fads.c
+++ b/drivers/mtd/maps/pq2fads.c
@@ -23,7 +23,7 @@
23#include <linux/mtd/physmap.h> 23#include <linux/mtd/physmap.h>
24 24
25/* 25/*
26 NOTE: bank width and interleave relative to the installed flash 26 NOTE: bank width and interleave relative to the installed flash
27 should have been chosen within MTD_CFI_GEOMETRY options. 27 should have been chosen within MTD_CFI_GEOMETRY options.
28 */ 28 */
29#define PQ2FADS_BANK_WIDTH 4 29#define PQ2FADS_BANK_WIDTH 4
@@ -35,7 +35,7 @@ static struct mtd_partition pq2fads_partitions[] = {
35 .size = 0x40000, 35 .size = 0x40000,
36 .offset = 0, 36 .offset = 0,
37 .mask_flags = MTD_WRITEABLE, /* force read-only */ 37 .mask_flags = MTD_WRITEABLE, /* force read-only */
38 }, { 38 }, {
39 .name = "User FS", 39 .name = "User FS",
40 .size = 0x5c0000, 40 .size = 0x5c0000,
41 .offset = 0x40000, 41 .offset = 0x40000,
@@ -44,17 +44,17 @@ static struct mtd_partition pq2fads_partitions[] = {
44 .size = 0x600000, 44 .size = 0x600000,
45 .offset = 0, 45 .offset = 0,
46#endif 46#endif
47 }, { 47 }, {
48 .name = "uImage", 48 .name = "uImage",
49 .size = 0x100000, 49 .size = 0x100000,
50 .offset = 0x600000, 50 .offset = 0x600000,
51 .mask_flags = MTD_WRITEABLE, /* force read-only */ 51 .mask_flags = MTD_WRITEABLE, /* force read-only */
52 }, { 52 }, {
53 .name = "bootloader", 53 .name = "bootloader",
54 .size = 0x40000, 54 .size = 0x40000,
55 .offset = 0x700000, 55 .offset = 0x700000,
56 .mask_flags = MTD_WRITEABLE, /* force read-only */ 56 .mask_flags = MTD_WRITEABLE, /* force read-only */
57 }, { 57 }, {
58 .name = "bootloader env", 58 .name = "bootloader env",
59 .size = 0x40000, 59 .size = 0x40000,
60 .offset = 0x740000, 60 .offset = 0x740000,
@@ -80,9 +80,9 @@ static int __init init_pq2fads_mtd(void)
80static void __exit cleanup_pq2fads_mtd(void) 80static void __exit cleanup_pq2fads_mtd(void)
81{ 81{
82} 82}
83 83
84module_init(init_pq2fads_mtd); 84module_init(init_pq2fads_mtd);
85module_exit(cleanup_pq2fads_mtd); 85module_exit(cleanup_pq2fads_mtd);
86 86
87MODULE_LICENSE("GPL"); 87MODULE_LICENSE("GPL");
88MODULE_DESCRIPTION("MTD map and partitions for MPC8272ADS boards"); 88MODULE_DESCRIPTION("MTD map and partitions for MPC8272ADS boards");