summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Robinson Jr <rrobinson@phytec.com>2013-08-07 12:49:43 -0700
committerAnthony Felice <tony.felice@timesys.com>2013-08-28 18:26:24 -0400
commit145626078f6ed903c95fbbf1883d4d3d70433c92 (patch)
tree11cd7b14bdd0f74f8b911329dfded442e98bb244
parent7ab6000bddf33858ee1137932e7cb92278d7da5b (diff)
pcm052: qspi0: move NOR mtdparts to u-boot and match .name to hardware bus
Signed-off-by: Russell Robinson Jr <rrobinson@phytec.com>
-rw-r--r--arch/arm/mach-mvf/board-pcm052.c26
1 files changed, 2 insertions, 24 deletions
diff --git a/arch/arm/mach-mvf/board-pcm052.c b/arch/arm/mach-mvf/board-pcm052.c
index c45e7c669834..51ece8fb9fd0 100644
--- a/arch/arm/mach-mvf/board-pcm052.c
+++ b/arch/arm/mach-mvf/board-pcm052.c
@@ -311,35 +311,13 @@ static const struct spi_mvf_master pcm052_qspi_data __initconst = {
};
#if defined(CONFIG_MTD_M25P80) || defined(CONFIG_MTD_M25P80_MODULE)
-static struct mtd_partition n25q128_qspi0a_partitions[] = {
- {
- .name = "qspi0_a",
- .size = MTDPART_SIZ_FULL,
- .offset = 0x00000000,
- .mask_flags = 0,
- }
-};
-
-static struct mtd_partition n25q128_qspi0b_partitions[] = {
- {
- .name = "qspi0_b",
- .size = MTDPART_SIZ_FULL,
- .offset = 0x00000000,
- .mask_flags = 0,
- }
-};
-
static struct flash_platform_data n25q128_spi_flash_data_0 = {
- .name = "n25q128.0",
- .parts = n25q128_qspi0a_partitions,
- .nr_parts = ARRAY_SIZE(n25q128_qspi0a_partitions),
+ .name = "qspi0-a",
.type = "n25q128",
};
static struct flash_platform_data n25q128_spi_flash_data_1 = {
- .name = "n25q128.1",
- .parts = n25q128_qspi0b_partitions,
- .nr_parts = ARRAY_SIZE(n25q128_qspi0b_partitions),
+ .name = "qspi0-b",
.type = "n25q128",
};