diff options
author | Robin Getz <rgetz@blackfin.uclinux.org> | 2008-08-05 05:47:29 -0400 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-08-05 05:47:29 -0400 |
commit | aa5829776347dbd9eeb461f650c1d085cf463a83 (patch) | |
tree | 43ba57fe3eb7b644e08316e78304e57c3a6c838d /arch/blackfin/mach-bf533 | |
parent | 4a88d0ce494034fbb8dd0076d80e71b38abf5748 (diff) |
Blackfin arch: be consistant with parition names, and ensure the bus is identified
Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/mach-bf533')
-rw-r--r-- | arch/blackfin/mach-bf533/boards/H8606.c | 6 | ||||
-rw-r--r-- | arch/blackfin/mach-bf533/boards/cm_bf533.c | 6 | ||||
-rw-r--r-- | arch/blackfin/mach-bf533/boards/ezkit.c | 6 | ||||
-rw-r--r-- | arch/blackfin/mach-bf533/boards/stamp.c | 12 |
4 files changed, 15 insertions, 15 deletions
diff --git a/arch/blackfin/mach-bf533/boards/H8606.c b/arch/blackfin/mach-bf533/boards/H8606.c index 4103a97c1a70..cecbc624e3df 100644 --- a/arch/blackfin/mach-bf533/boards/H8606.c +++ b/arch/blackfin/mach-bf533/boards/H8606.c | |||
@@ -141,16 +141,16 @@ static struct platform_device net2272_bfin_device = { | |||
141 | #if defined(CONFIG_MTD_M25P80) || defined(CONFIG_MTD_M25P80_MODULE) | 141 | #if defined(CONFIG_MTD_M25P80) || defined(CONFIG_MTD_M25P80_MODULE) |
142 | static struct mtd_partition bfin_spi_flash_partitions[] = { | 142 | static struct mtd_partition bfin_spi_flash_partitions[] = { |
143 | { | 143 | { |
144 | .name = "bootloader", | 144 | .name = "bootloader(spi)", |
145 | .size = 0x00060000, | 145 | .size = 0x00060000, |
146 | .offset = 0, | 146 | .offset = 0, |
147 | .mask_flags = MTD_CAP_ROM | 147 | .mask_flags = MTD_CAP_ROM |
148 | }, { | 148 | }, { |
149 | .name = "kernel", | 149 | .name = "linux kernel(spi)", |
150 | .size = 0x100000, | 150 | .size = 0x100000, |
151 | .offset = 0x60000 | 151 | .offset = 0x60000 |
152 | }, { | 152 | }, { |
153 | .name = "file system", | 153 | .name = "file system(spi)", |
154 | .size = 0x6a0000, | 154 | .size = 0x6a0000, |
155 | .offset = 0x00160000, | 155 | .offset = 0x00160000, |
156 | } | 156 | } |
diff --git a/arch/blackfin/mach-bf533/boards/cm_bf533.c b/arch/blackfin/mach-bf533/boards/cm_bf533.c index ed2b0b8f5dc9..dfccf826fa33 100644 --- a/arch/blackfin/mach-bf533/boards/cm_bf533.c +++ b/arch/blackfin/mach-bf533/boards/cm_bf533.c | |||
@@ -53,16 +53,16 @@ const char bfin_board_name[] = "Bluetechnix CM BF533"; | |||
53 | #if defined(CONFIG_MTD_M25P80) || defined(CONFIG_MTD_M25P80_MODULE) | 53 | #if defined(CONFIG_MTD_M25P80) || defined(CONFIG_MTD_M25P80_MODULE) |
54 | static struct mtd_partition bfin_spi_flash_partitions[] = { | 54 | static struct mtd_partition bfin_spi_flash_partitions[] = { |
55 | { | 55 | { |
56 | .name = "bootloader", | 56 | .name = "bootloader(spi)", |
57 | .size = 0x00020000, | 57 | .size = 0x00020000, |
58 | .offset = 0, | 58 | .offset = 0, |
59 | .mask_flags = MTD_CAP_ROM | 59 | .mask_flags = MTD_CAP_ROM |
60 | }, { | 60 | }, { |
61 | .name = "kernel", | 61 | .name = "linux kernel(spi)", |
62 | .size = 0xe0000, | 62 | .size = 0xe0000, |
63 | .offset = 0x20000 | 63 | .offset = 0x20000 |
64 | }, { | 64 | }, { |
65 | .name = "file system", | 65 | .name = "file system(spi)", |
66 | .size = 0x700000, | 66 | .size = 0x700000, |
67 | .offset = 0x00100000, | 67 | .offset = 0x00100000, |
68 | } | 68 | } |
diff --git a/arch/blackfin/mach-bf533/boards/ezkit.c b/arch/blackfin/mach-bf533/boards/ezkit.c index 079389cbd859..6a34f1519c07 100644 --- a/arch/blackfin/mach-bf533/boards/ezkit.c +++ b/arch/blackfin/mach-bf533/boards/ezkit.c | |||
@@ -90,16 +90,16 @@ static struct platform_device smc91x_device = { | |||
90 | #if defined(CONFIG_MTD_M25P80) || defined(CONFIG_MTD_M25P80_MODULE) | 90 | #if defined(CONFIG_MTD_M25P80) || defined(CONFIG_MTD_M25P80_MODULE) |
91 | static struct mtd_partition bfin_spi_flash_partitions[] = { | 91 | static struct mtd_partition bfin_spi_flash_partitions[] = { |
92 | { | 92 | { |
93 | .name = "bootloader", | 93 | .name = "bootloader(spi)", |
94 | .size = 0x00020000, | 94 | .size = 0x00020000, |
95 | .offset = 0, | 95 | .offset = 0, |
96 | .mask_flags = MTD_CAP_ROM | 96 | .mask_flags = MTD_CAP_ROM |
97 | }, { | 97 | }, { |
98 | .name = "kernel", | 98 | .name = "linux kernel(spi)", |
99 | .size = 0xe0000, | 99 | .size = 0xe0000, |
100 | .offset = MTDPART_OFS_APPEND, | 100 | .offset = MTDPART_OFS_APPEND, |
101 | }, { | 101 | }, { |
102 | .name = "file system", | 102 | .name = "file system(spi)", |
103 | .size = MTDPART_SIZ_FULL, | 103 | .size = MTDPART_SIZ_FULL, |
104 | .offset = MTDPART_OFS_APPEND, | 104 | .offset = MTDPART_OFS_APPEND, |
105 | } | 105 | } |
diff --git a/arch/blackfin/mach-bf533/boards/stamp.c b/arch/blackfin/mach-bf533/boards/stamp.c index 13ae49515f73..d10b2dc59024 100644 --- a/arch/blackfin/mach-bf533/boards/stamp.c +++ b/arch/blackfin/mach-bf533/boards/stamp.c | |||
@@ -114,15 +114,15 @@ static struct platform_device net2272_bfin_device = { | |||
114 | #if defined(CONFIG_MTD_BFIN_ASYNC) || defined(CONFIG_MTD_BFIN_ASYNC_MODULE) | 114 | #if defined(CONFIG_MTD_BFIN_ASYNC) || defined(CONFIG_MTD_BFIN_ASYNC_MODULE) |
115 | static struct mtd_partition stamp_partitions[] = { | 115 | static struct mtd_partition stamp_partitions[] = { |
116 | { | 116 | { |
117 | .name = "Bootloader", | 117 | .name = "bootloader(nor)", |
118 | .size = 0x40000, | 118 | .size = 0x40000, |
119 | .offset = 0, | 119 | .offset = 0, |
120 | }, { | 120 | }, { |
121 | .name = "Kernel", | 121 | .name = "linux kernel(nor)", |
122 | .size = 0xE0000, | 122 | .size = 0xE0000, |
123 | .offset = MTDPART_OFS_APPEND, | 123 | .offset = MTDPART_OFS_APPEND, |
124 | }, { | 124 | }, { |
125 | .name = "RootFS", | 125 | .name = "file system(nor)", |
126 | .size = MTDPART_SIZ_FULL, | 126 | .size = MTDPART_SIZ_FULL, |
127 | .offset = MTDPART_OFS_APPEND, | 127 | .offset = MTDPART_OFS_APPEND, |
128 | } | 128 | } |
@@ -164,16 +164,16 @@ static struct platform_device stamp_flash_device = { | |||
164 | #if defined(CONFIG_MTD_M25P80) || defined(CONFIG_MTD_M25P80_MODULE) | 164 | #if defined(CONFIG_MTD_M25P80) || defined(CONFIG_MTD_M25P80_MODULE) |
165 | static struct mtd_partition bfin_spi_flash_partitions[] = { | 165 | static struct mtd_partition bfin_spi_flash_partitions[] = { |
166 | { | 166 | { |
167 | .name = "bootloader", | 167 | .name = "bootloader(spi)", |
168 | .size = 0x00040000, | 168 | .size = 0x00040000, |
169 | .offset = 0, | 169 | .offset = 0, |
170 | .mask_flags = MTD_CAP_ROM | 170 | .mask_flags = MTD_CAP_ROM |
171 | }, { | 171 | }, { |
172 | .name = "kernel", | 172 | .name = "linux kernel(spi)", |
173 | .size = 0xe0000, | 173 | .size = 0xe0000, |
174 | .offset = MTDPART_OFS_APPEND, | 174 | .offset = MTDPART_OFS_APPEND, |
175 | }, { | 175 | }, { |
176 | .name = "file system", | 176 | .name = "file system(spi)", |
177 | .size = MTDPART_SIZ_FULL, | 177 | .size = MTDPART_SIZ_FULL, |
178 | .offset = MTDPART_OFS_APPEND, | 178 | .offset = MTDPART_OFS_APPEND, |
179 | } | 179 | } |