Skip to contentSkip to conversation

Blackfin fixes for 2.6.36-rc2

PATCH In review Mike Frysinger 2 participants 5 messages Aug 27, 2010 – Aug 31, 2010

lore
Share & tools
lore
#0 lore raw

cover Blackfin fixes for 2.6.36-rc2

Now that the drivers have caught up, we can push out the Blackfin arch changes. This fixes some issues David pointed out.

Only failures left are the NOMMU FB fix which David has already pushed, the linker script issue Sam sent out, and a new bug that has hit the NAND tree. I'll research & fix that in a bit.

Barry Song (1):
Blackfin: bf52x/bf54x boards: drop unused nand page size

Mike Frysinger (1):
Blackfin: punt duplicate SPORT MMR defines

 arch/blackfin/include/asm/bfin_sport.h             |    6 -
 .../mach-bf518/include/mach/defBF51x_base.h        |   82 ---------------
 arch/blackfin/mach-bf527/boards/cm_bf527.c         |    1 -
 arch/blackfin/mach-bf527/boards/ezbrd.c            |    1 -
 arch/blackfin/mach-bf527/boards/ezkit.c            |    1 -
 .../mach-bf527/include/mach/defBF52x_base.h        |   82 ---------------
 arch/blackfin/mach-bf533/include/mach/defBF532.h   |   92 -----------------
 arch/blackfin/mach-bf537/include/mach/defBF534.h   |   80 ---------------
 arch/blackfin/mach-bf538/include/mach/defBF539.h   |  107 --------------------
 arch/blackfin/mach-bf548/boards/cm_bf548.c         |    1 -
 arch/blackfin/mach-bf548/boards/ezkit.c            |    1 -
 .../mach-bf548/include/mach/defBF54x_base.h        |   67 ------------
 arch/blackfin/mach-bf561/include/mach/defBF561.h   |   60 -----------
 13 files changed, 0 insertions(+), 581 deletions(-)
Signature · 1 line
1.7.2.2
#1 lore raw

PATCH 1/2 Blackfin: punt duplicate SPORT MMR defines

The common bfin_sport.h header now has unified definitions of these, so stop polluting the global namespace.

---
 arch/blackfin/include/asm/bfin_sport.h             |    6 -
 .../mach-bf518/include/mach/defBF51x_base.h        |   82 ---------------
 .../mach-bf527/include/mach/defBF52x_base.h        |   82 ---------------
 arch/blackfin/mach-bf533/include/mach/defBF532.h   |   92 -----------------
 arch/blackfin/mach-bf537/include/mach/defBF534.h   |   80 ---------------
 arch/blackfin/mach-bf538/include/mach/defBF539.h   |  107 --------------------
 .../mach-bf548/include/mach/defBF54x_base.h        |   67 ------------
 arch/blackfin/mach-bf561/include/mach/defBF561.h   |   60 -----------
 8 files changed, 0 insertions(+), 576 deletions(-)
arch/blackfin/include/asm/bfin_sport.h +0 -6
index 9626cf7..d27600c2 100644
@@ -115,12 +115,6 @@ struct sport_register {
 
 #endif
 
-/* Workaround defBF*.h SPORT MMRs till they get cleansed */
-#undef DTYPE_NORM
-#undef SLEN
-#undef SP_WOFF
-#undef SP_WSIZE
-
 /* SPORT_TCR1 Masks */
 #define TSPEN		0x0001	/* TX enable */
 #define ITCLK		0x0002	/* Internal TX Clock Select */
arch/blackfin/mach-bf518/include/mach/defBF51x_base.h +0 -82

88 lines not on this page · raw message

arch/blackfin/mach-bf527/include/mach/defBF52x_base.h +0 -82

88 lines not on this page · raw message

arch/blackfin/mach-bf533/include/mach/defBF532.h +0 -92

98 lines not on this page · raw message

arch/blackfin/mach-bf537/include/mach/defBF534.h +0 -80

86 lines not on this page · raw message

arch/blackfin/mach-bf538/include/mach/defBF539.h +0 -107

113 lines not on this page · raw message

arch/blackfin/mach-bf548/include/mach/defBF54x_base.h +0 -67

73 lines not on this page · raw message

arch/blackfin/mach-bf561/include/mach/defBF561.h +0 -60

66 lines not on this page · raw message

Signature · 1 line
1.7.2.2
#3 lore raw

PATCH 2/2 Blackfin: bf52x/bf54x boards: drop unused nand page size

In reply to Mike Frysinger

From: Barry Song <[email protected]>

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.

---
 arch/blackfin/mach-bf527/boards/cm_bf527.c |    1 -
 arch/blackfin/mach-bf527/boards/ezbrd.c    |    1 -
 arch/blackfin/mach-bf527/boards/ezkit.c    |    1 -
 arch/blackfin/mach-bf548/boards/cm_bf548.c |    1 -
 arch/blackfin/mach-bf548/boards/ezkit.c    |    1 -
 5 files changed, 0 insertions(+), 5 deletions(-)
arch/blackfin/mach-bf527/boards/cm_bf527.c +0 -1
index f392af6..645ba5c 100644
@@ -145,7 +145,6 @@ static struct mtd_partition partition_info[] = {
 };
 
 static struct bf5xx_nand_platform bf5xx_nand_platform = {
-	.page_size = NFC_PG_SIZE_256,
 	.data_width = NFC_NWIDTH_8,
 	.partitions = partition_info,
 	.nr_partitions = ARRAY_SIZE(partition_info),
arch/blackfin/mach-bf527/boards/ezbrd.c +0 -1
index 606eb36..c975fe8 100644
@@ -149,7 +149,6 @@ static struct mtd_partition partition_info[] = {
 };
 
 static struct bf5xx_nand_platform bf5xx_nand_platform = {
-	.page_size = NFC_PG_SIZE_256,
 	.data_width = NFC_NWIDTH_8,
 	.partitions = partition_info,
 	.nr_partitions = ARRAY_SIZE(partition_info),
arch/blackfin/mach-bf527/boards/ezkit.c +0 -1
index a05c967..87b41e9 100644
@@ -234,7 +234,6 @@ static struct mtd_partition partition_info[] = {
 };
 
 static struct bf5xx_nand_platform bf5xx_nand_platform = {
-	.page_size = NFC_PG_SIZE_256,
 	.data_width = NFC_NWIDTH_8,
 	.partitions = partition_info,
 	.nr_partitions = ARRAY_SIZE(partition_info),
arch/blackfin/mach-bf548/boards/cm_bf548.c +0 -1
index dbb6b1d..0c38eec 100644
@@ -706,7 +706,6 @@ static struct mtd_partition partition_info[] = {
 };
 
 static struct bf5xx_nand_platform bf5xx_nand_platform = {
-	.page_size = NFC_PG_SIZE_256,
 	.data_width = NFC_NWIDTH_8,
 	.partitions = partition_info,
 	.nr_partitions = ARRAY_SIZE(partition_info),
arch/blackfin/mach-bf548/boards/ezkit.c +0 -1
index 6fcfb91..56682a3 100644
@@ -849,7 +849,6 @@ static struct mtd_partition partition_info[] = {
 };
 
 static struct bf5xx_nand_platform bf5xx_nand_platform = {
-	.page_size = NFC_PG_SIZE_256,
 	.data_width = NFC_NWIDTH_8,
 	.partitions = partition_info,
 	.nr_partitions = ARRAY_SIZE(partition_info),
Signature · 1 line
1.7.2.2
#4 lore raw

Pull request blackfin.git (for-linus branch)

In reply to Mike Frysinger

The following changes since commit d4348c678977c7093438bbbf2067c49396ae941b:

Merge branch 'perf-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip (2010-08-25 10:50:07 -0700)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/vapier/blackfin.git for-linus

Barry Song (1):
Blackfin: bf52x/bf54x boards: drop unused nand page size

Mike Frysinger (1):
Blackfin: punt duplicate SPORT MMR defines

 arch/blackfin/include/asm/bfin_sport.h             |    6 -
 .../mach-bf518/include/mach/defBF51x_base.h        |   82 ---------------
 arch/blackfin/mach-bf527/boards/cm_bf527.c         |    1 -
 arch/blackfin/mach-bf527/boards/ezbrd.c            |    1 -
 arch/blackfin/mach-bf527/boards/ezkit.c            |    1 -
 .../mach-bf527/include/mach/defBF52x_base.h        |   82 ---------------
 arch/blackfin/mach-bf533/include/mach/defBF532.h   |   92 -----------------
 arch/blackfin/mach-bf537/include/mach/defBF534.h   |   80 ---------------
 arch/blackfin/mach-bf538/include/mach/defBF539.h   |  107 --------------------
 arch/blackfin/mach-bf548/boards/cm_bf548.c         |    1 -
 arch/blackfin/mach-bf548/boards/ezkit.c            |    1 -
 .../mach-bf548/include/mach/defBF54x_base.h        |   67 ------------
 arch/blackfin/mach-bf561/include/mach/defBF561.h   |   60 -----------
 13 files changed, 0 insertions(+), 581 deletions(-)