Skip to content

Commit 9e5610a

Browse files
Barry Songvapier
authored andcommitted
Blackfin: bf52x/bf54x boards: drop unused nand page size
Now that the driver for the Blackfin on-chip NFC no longer uses/respects the page_size from the platform resources (figures out the needs on the fly), drop it from the platform resources. This fixes some build errors since the defines no longer exists. Signed-off-by: Barry Song <barry.song@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
1 parent ac0a504 commit 9e5610a

File tree

5 files changed

+0
-5
lines changed

5 files changed

+0
-5
lines changed

arch/blackfin/mach-bf527/boards/cm_bf527.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ static struct mtd_partition partition_info[] = {
145145
};
146146

147147
static struct bf5xx_nand_platform bf5xx_nand_platform = {
148-
.page_size = NFC_PG_SIZE_256,
149148
.data_width = NFC_NWIDTH_8,
150149
.partitions = partition_info,
151150
.nr_partitions = ARRAY_SIZE(partition_info),

arch/blackfin/mach-bf527/boards/ezbrd.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@ static struct mtd_partition partition_info[] = {
149149
};
150150

151151
static struct bf5xx_nand_platform bf5xx_nand_platform = {
152-
.page_size = NFC_PG_SIZE_256,
153152
.data_width = NFC_NWIDTH_8,
154153
.partitions = partition_info,
155154
.nr_partitions = ARRAY_SIZE(partition_info),

arch/blackfin/mach-bf527/boards/ezkit.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,6 @@ static struct mtd_partition partition_info[] = {
234234
};
235235

236236
static struct bf5xx_nand_platform bf5xx_nand_platform = {
237-
.page_size = NFC_PG_SIZE_256,
238237
.data_width = NFC_NWIDTH_8,
239238
.partitions = partition_info,
240239
.nr_partitions = ARRAY_SIZE(partition_info),

arch/blackfin/mach-bf548/boards/cm_bf548.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,6 @@ static struct mtd_partition partition_info[] = {
706706
};
707707

708708
static struct bf5xx_nand_platform bf5xx_nand_platform = {
709-
.page_size = NFC_PG_SIZE_256,
710709
.data_width = NFC_NWIDTH_8,
711710
.partitions = partition_info,
712711
.nr_partitions = ARRAY_SIZE(partition_info),

arch/blackfin/mach-bf548/boards/ezkit.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,6 @@ static struct mtd_partition partition_info[] = {
849849
};
850850

851851
static struct bf5xx_nand_platform bf5xx_nand_platform = {
852-
.page_size = NFC_PG_SIZE_256,
853852
.data_width = NFC_NWIDTH_8,
854853
.partitions = partition_info,
855854
.nr_partitions = ARRAY_SIZE(partition_info),

0 commit comments

Comments
 (0)