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-bf527/boards | |
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-bf527/boards')
-rw-r--r-- | arch/blackfin/mach-bf527/boards/cm_bf527.c | 14 | ||||
-rw-r--r-- | arch/blackfin/mach-bf527/boards/ezkit.c | 14 |
2 files changed, 14 insertions, 14 deletions
diff --git a/arch/blackfin/mach-bf527/boards/cm_bf527.c b/arch/blackfin/mach-bf527/boards/cm_bf527.c index 0b26ae2de5ee..749f4a806b5f 100644 --- a/arch/blackfin/mach-bf527/boards/cm_bf527.c +++ b/arch/blackfin/mach-bf527/boards/cm_bf527.c | |||
@@ -160,15 +160,15 @@ static struct platform_device musb_device = { | |||
160 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) | 160 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) |
161 | static struct mtd_partition ezkit_partitions[] = { | 161 | static struct mtd_partition ezkit_partitions[] = { |
162 | { | 162 | { |
163 | .name = "Bootloader", | 163 | .name = "bootloader(nor)", |
164 | .size = 0x40000, | 164 | .size = 0x40000, |
165 | .offset = 0, | 165 | .offset = 0, |
166 | }, { | 166 | }, { |
167 | .name = "Kernel", | 167 | .name = "linux kernel(nor)", |
168 | .size = 0x1C0000, | 168 | .size = 0x1C0000, |
169 | .offset = MTDPART_OFS_APPEND, | 169 | .offset = MTDPART_OFS_APPEND, |
170 | }, { | 170 | }, { |
171 | .name = "RootFS", | 171 | .name = "file system(nor)", |
172 | .size = MTDPART_SIZ_FULL, | 172 | .size = MTDPART_SIZ_FULL, |
173 | .offset = MTDPART_OFS_APPEND, | 173 | .offset = MTDPART_OFS_APPEND, |
174 | } | 174 | } |
@@ -200,12 +200,12 @@ static struct platform_device ezkit_flash_device = { | |||
200 | #if defined(CONFIG_MTD_NAND_BF5XX) || defined(CONFIG_MTD_NAND_BF5XX_MODULE) | 200 | #if defined(CONFIG_MTD_NAND_BF5XX) || defined(CONFIG_MTD_NAND_BF5XX_MODULE) |
201 | static struct mtd_partition partition_info[] = { | 201 | static struct mtd_partition partition_info[] = { |
202 | { | 202 | { |
203 | .name = "Linux Kernel", | 203 | .name = "linux kernel(nand)", |
204 | .offset = 0, | 204 | .offset = 0, |
205 | .size = 4 * SIZE_1M, | 205 | .size = 4 * SIZE_1M, |
206 | }, | 206 | }, |
207 | { | 207 | { |
208 | .name = "File System", | 208 | .name = "file system(nand)", |
209 | .offset = MTDPART_OFS_APPEND, | 209 | .offset = MTDPART_OFS_APPEND, |
210 | .size = MTDPART_SIZ_FULL, | 210 | .size = MTDPART_SIZ_FULL, |
211 | }, | 211 | }, |
@@ -438,12 +438,12 @@ static struct platform_device net2272_bfin_device = { | |||
438 | || defined(CONFIG_MTD_M25P80_MODULE) | 438 | || defined(CONFIG_MTD_M25P80_MODULE) |
439 | static struct mtd_partition bfin_spi_flash_partitions[] = { | 439 | static struct mtd_partition bfin_spi_flash_partitions[] = { |
440 | { | 440 | { |
441 | .name = "bootloader", | 441 | .name = "bootloader(spi)", |
442 | .size = 0x00040000, | 442 | .size = 0x00040000, |
443 | .offset = 0, | 443 | .offset = 0, |
444 | .mask_flags = MTD_CAP_ROM | 444 | .mask_flags = MTD_CAP_ROM |
445 | }, { | 445 | }, { |
446 | .name = "linux kernel", | 446 | .name = "linux kernel(spi)", |
447 | .size = MTDPART_SIZ_FULL, | 447 | .size = MTDPART_SIZ_FULL, |
448 | .offset = MTDPART_OFS_APPEND, | 448 | .offset = MTDPART_OFS_APPEND, |
449 | } | 449 | } |
diff --git a/arch/blackfin/mach-bf527/boards/ezkit.c b/arch/blackfin/mach-bf527/boards/ezkit.c index 689b69c98ee4..cbd47bce6893 100644 --- a/arch/blackfin/mach-bf527/boards/ezkit.c +++ b/arch/blackfin/mach-bf527/boards/ezkit.c | |||
@@ -177,15 +177,15 @@ static struct platform_device bf52x_t350mcqb_device = { | |||
177 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) | 177 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) |
178 | static struct mtd_partition ezkit_partitions[] = { | 178 | static struct mtd_partition ezkit_partitions[] = { |
179 | { | 179 | { |
180 | .name = "Bootloader", | 180 | .name = "bootloader(nor)", |
181 | .size = 0x40000, | 181 | .size = 0x40000, |
182 | .offset = 0, | 182 | .offset = 0, |
183 | }, { | 183 | }, { |
184 | .name = "Kernel", | 184 | .name = "linux kernel(nor)", |
185 | .size = 0x1C0000, | 185 | .size = 0x1C0000, |
186 | .offset = MTDPART_OFS_APPEND, | 186 | .offset = MTDPART_OFS_APPEND, |
187 | }, { | 187 | }, { |
188 | .name = "RootFS", | 188 | .name = "file system(nor)", |
189 | .size = MTDPART_SIZ_FULL, | 189 | .size = MTDPART_SIZ_FULL, |
190 | .offset = MTDPART_OFS_APPEND, | 190 | .offset = MTDPART_OFS_APPEND, |
191 | } | 191 | } |
@@ -217,12 +217,12 @@ static struct platform_device ezkit_flash_device = { | |||
217 | #if defined(CONFIG_MTD_NAND_BF5XX) || defined(CONFIG_MTD_NAND_BF5XX_MODULE) | 217 | #if defined(CONFIG_MTD_NAND_BF5XX) || defined(CONFIG_MTD_NAND_BF5XX_MODULE) |
218 | static struct mtd_partition partition_info[] = { | 218 | static struct mtd_partition partition_info[] = { |
219 | { | 219 | { |
220 | .name = "Linux Kernel", | 220 | .name = "linux kernel(nand)", |
221 | .offset = 0, | 221 | .offset = 0, |
222 | .size = 4 * SIZE_1M, | 222 | .size = 4 * SIZE_1M, |
223 | }, | 223 | }, |
224 | { | 224 | { |
225 | .name = "File System", | 225 | .name = "file system(nand)", |
226 | .offset = MTDPART_OFS_APPEND, | 226 | .offset = MTDPART_OFS_APPEND, |
227 | .size = MTDPART_SIZ_FULL, | 227 | .size = MTDPART_SIZ_FULL, |
228 | }, | 228 | }, |
@@ -460,12 +460,12 @@ static struct platform_device net2272_bfin_device = { | |||
460 | || defined(CONFIG_MTD_M25P80_MODULE) | 460 | || defined(CONFIG_MTD_M25P80_MODULE) |
461 | static struct mtd_partition bfin_spi_flash_partitions[] = { | 461 | static struct mtd_partition bfin_spi_flash_partitions[] = { |
462 | { | 462 | { |
463 | .name = "bootloader", | 463 | .name = "bootloader(spi)", |
464 | .size = 0x00040000, | 464 | .size = 0x00040000, |
465 | .offset = 0, | 465 | .offset = 0, |
466 | .mask_flags = MTD_CAP_ROM | 466 | .mask_flags = MTD_CAP_ROM |
467 | }, { | 467 | }, { |
468 | .name = "linux kernel", | 468 | .name = "linux kernel(spi)", |
469 | .size = MTDPART_SIZ_FULL, | 469 | .size = MTDPART_SIZ_FULL, |
470 | .offset = MTDPART_OFS_APPEND, | 470 | .offset = MTDPART_OFS_APPEND, |
471 | } | 471 | } |