aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-06-12 23:08:47 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-12 23:08:47 -0400
commit88bbfb4a6267ff90a466ade9762d9a8fff2bb1bb (patch)
tree5d7693dd6e3fe81bb72ec3d83e9f9a8bb9aac649 /arch/blackfin
parent71998d1be4ae70e7d320cdd21595c1a02a29c61e (diff)
parent51fdc6bf98802eb7019ec94dfd82f0e6cd1c82a8 (diff)
Merge tag 'blackfin-for-linus' of http://git.kernel.org/pub/scm/linux/kernel/git/realmz6/blackfin-linux
Pull blackfin updates from Steven Miao. * tag 'blackfin-for-linus' of http://git.kernel.org/pub/scm/linux/kernel/git/realmz6/blackfin-linux: blackfin: defconfigs: add MTD_SPI_NOR (new dependency for M25P80) Revert "blackfin: dma: current count mmr is read only" bf533: fix build error: add linux/gpio.h
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/configs/BF526-EZBRD_defconfig2
-rw-r--r--arch/blackfin/configs/BF527-EZKIT-V2_defconfig2
-rw-r--r--arch/blackfin/configs/BF527-EZKIT_defconfig2
-rw-r--r--arch/blackfin/configs/BF548-EZKIT_defconfig2
-rw-r--r--arch/blackfin/configs/BF609-EZKIT_defconfig2
-rw-r--r--arch/blackfin/configs/BlackStamp_defconfig3
-rw-r--r--arch/blackfin/configs/H8606_defconfig3
-rw-r--r--arch/blackfin/include/asm/dma.h2
-rw-r--r--arch/blackfin/mach-bf533/boards/stamp.c1
9 files changed, 10 insertions, 9 deletions
diff --git a/arch/blackfin/configs/BF526-EZBRD_defconfig b/arch/blackfin/configs/BF526-EZBRD_defconfig
index 1759fad54017..e66ba31ef84d 100644
--- a/arch/blackfin/configs/BF526-EZBRD_defconfig
+++ b/arch/blackfin/configs/BF526-EZBRD_defconfig
@@ -53,7 +53,6 @@ CONFIG_IP_PNP=y
53CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" 53CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
54# CONFIG_FW_LOADER is not set 54# CONFIG_FW_LOADER is not set
55CONFIG_MTD=y 55CONFIG_MTD=y
56CONFIG_MTD_CHAR=y
57CONFIG_MTD_BLOCK=y 56CONFIG_MTD_BLOCK=y
58CONFIG_MTD_CFI=y 57CONFIG_MTD_CFI=y
59CONFIG_MTD_CFI_INTELEXT=y 58CONFIG_MTD_CFI_INTELEXT=y
@@ -63,6 +62,7 @@ CONFIG_MTD_COMPLEX_MAPPINGS=y
63CONFIG_MTD_PHYSMAP=y 62CONFIG_MTD_PHYSMAP=y
64CONFIG_MTD_M25P80=y 63CONFIG_MTD_M25P80=y
65CONFIG_MTD_NAND=m 64CONFIG_MTD_NAND=m
65CONFIG_MTD_SPI_NOR=y
66CONFIG_BLK_DEV_RAM=y 66CONFIG_BLK_DEV_RAM=y
67CONFIG_SCSI=y 67CONFIG_SCSI=y
68# CONFIG_SCSI_PROC_FS is not set 68# CONFIG_SCSI_PROC_FS is not set
diff --git a/arch/blackfin/configs/BF527-EZKIT-V2_defconfig b/arch/blackfin/configs/BF527-EZKIT-V2_defconfig
index 357729682c00..0207c588c19f 100644
--- a/arch/blackfin/configs/BF527-EZKIT-V2_defconfig
+++ b/arch/blackfin/configs/BF527-EZKIT-V2_defconfig
@@ -58,7 +58,6 @@ CONFIG_BFIN_SIR0=y
58CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" 58CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
59# CONFIG_FW_LOADER is not set 59# CONFIG_FW_LOADER is not set
60CONFIG_MTD=y 60CONFIG_MTD=y
61CONFIG_MTD_CHAR=m
62CONFIG_MTD_BLOCK=y 61CONFIG_MTD_BLOCK=y
63CONFIG_MTD_JEDECPROBE=m 62CONFIG_MTD_JEDECPROBE=m
64CONFIG_MTD_RAM=y 63CONFIG_MTD_RAM=y
@@ -66,6 +65,7 @@ CONFIG_MTD_ROM=m
66CONFIG_MTD_COMPLEX_MAPPINGS=y 65CONFIG_MTD_COMPLEX_MAPPINGS=y
67CONFIG_MTD_M25P80=y 66CONFIG_MTD_M25P80=y
68CONFIG_MTD_NAND=m 67CONFIG_MTD_NAND=m
68CONFIG_MTD_SPI_NOR=y
69CONFIG_BLK_DEV_RAM=y 69CONFIG_BLK_DEV_RAM=y
70CONFIG_SCSI=y 70CONFIG_SCSI=y
71# CONFIG_SCSI_PROC_FS is not set 71# CONFIG_SCSI_PROC_FS is not set
diff --git a/arch/blackfin/configs/BF527-EZKIT_defconfig b/arch/blackfin/configs/BF527-EZKIT_defconfig
index 2e73a5d33da8..99c131ba7d90 100644
--- a/arch/blackfin/configs/BF527-EZKIT_defconfig
+++ b/arch/blackfin/configs/BF527-EZKIT_defconfig
@@ -57,7 +57,6 @@ CONFIG_BFIN_SIR0=y
57CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" 57CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
58# CONFIG_FW_LOADER is not set 58# CONFIG_FW_LOADER is not set
59CONFIG_MTD=y 59CONFIG_MTD=y
60CONFIG_MTD_CHAR=m
61CONFIG_MTD_BLOCK=y 60CONFIG_MTD_BLOCK=y
62CONFIG_MTD_JEDECPROBE=m 61CONFIG_MTD_JEDECPROBE=m
63CONFIG_MTD_RAM=y 62CONFIG_MTD_RAM=y
@@ -65,6 +64,7 @@ CONFIG_MTD_ROM=m
65CONFIG_MTD_COMPLEX_MAPPINGS=y 64CONFIG_MTD_COMPLEX_MAPPINGS=y
66CONFIG_MTD_M25P80=y 65CONFIG_MTD_M25P80=y
67CONFIG_MTD_NAND=m 66CONFIG_MTD_NAND=m
67CONFIG_MTD_SPI_NOR=y
68CONFIG_BLK_DEV_RAM=y 68CONFIG_BLK_DEV_RAM=y
69CONFIG_SCSI=y 69CONFIG_SCSI=y
70# CONFIG_SCSI_PROC_FS is not set 70# CONFIG_SCSI_PROC_FS is not set
diff --git a/arch/blackfin/configs/BF548-EZKIT_defconfig b/arch/blackfin/configs/BF548-EZKIT_defconfig
index f0a2ddf5de46..38cb17d218d4 100644
--- a/arch/blackfin/configs/BF548-EZKIT_defconfig
+++ b/arch/blackfin/configs/BF548-EZKIT_defconfig
@@ -64,7 +64,6 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
64CONFIG_FW_LOADER=m 64CONFIG_FW_LOADER=m
65CONFIG_MTD=y 65CONFIG_MTD=y
66CONFIG_MTD_CMDLINE_PARTS=y 66CONFIG_MTD_CMDLINE_PARTS=y
67CONFIG_MTD_CHAR=y
68CONFIG_MTD_BLOCK=y 67CONFIG_MTD_BLOCK=y
69CONFIG_MTD_CFI=y 68CONFIG_MTD_CFI=y
70CONFIG_MTD_CFI_INTELEXT=y 69CONFIG_MTD_CFI_INTELEXT=y
@@ -75,6 +74,7 @@ CONFIG_MTD_M25P80=y
75CONFIG_MTD_NAND=y 74CONFIG_MTD_NAND=y
76CONFIG_MTD_NAND_BF5XX=y 75CONFIG_MTD_NAND_BF5XX=y
77# CONFIG_MTD_NAND_BF5XX_HWECC is not set 76# CONFIG_MTD_NAND_BF5XX_HWECC is not set
77CONFIG_MTD_SPI_NOR=y
78CONFIG_BLK_DEV_RAM=y 78CONFIG_BLK_DEV_RAM=y
79# CONFIG_SCSI_PROC_FS is not set 79# CONFIG_SCSI_PROC_FS is not set
80CONFIG_BLK_DEV_SD=y 80CONFIG_BLK_DEV_SD=y
diff --git a/arch/blackfin/configs/BF609-EZKIT_defconfig b/arch/blackfin/configs/BF609-EZKIT_defconfig
index 4ca39ab6b2bf..a7e9bfd84183 100644
--- a/arch/blackfin/configs/BF609-EZKIT_defconfig
+++ b/arch/blackfin/configs/BF609-EZKIT_defconfig
@@ -57,7 +57,6 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
57CONFIG_FW_LOADER=m 57CONFIG_FW_LOADER=m
58CONFIG_MTD=y 58CONFIG_MTD=y
59CONFIG_MTD_CMDLINE_PARTS=y 59CONFIG_MTD_CMDLINE_PARTS=y
60CONFIG_MTD_CHAR=y
61CONFIG_MTD_BLOCK=y 60CONFIG_MTD_BLOCK=y
62CONFIG_MTD_CFI=y 61CONFIG_MTD_CFI=y
63CONFIG_MTD_CFI_INTELEXT=y 62CONFIG_MTD_CFI_INTELEXT=y
@@ -65,6 +64,7 @@ CONFIG_MTD_CFI_STAA=y
65CONFIG_MTD_COMPLEX_MAPPINGS=y 64CONFIG_MTD_COMPLEX_MAPPINGS=y
66CONFIG_MTD_PHYSMAP=y 65CONFIG_MTD_PHYSMAP=y
67CONFIG_MTD_M25P80=y 66CONFIG_MTD_M25P80=y
67CONFIG_MTD_SPI_NOR=y
68CONFIG_MTD_UBI=m 68CONFIG_MTD_UBI=m
69CONFIG_SCSI=y 69CONFIG_SCSI=y
70CONFIG_BLK_DEV_SD=y 70CONFIG_BLK_DEV_SD=y
diff --git a/arch/blackfin/configs/BlackStamp_defconfig b/arch/blackfin/configs/BlackStamp_defconfig
index 3853c473b443..f4a9200e1ab1 100644
--- a/arch/blackfin/configs/BlackStamp_defconfig
+++ b/arch/blackfin/configs/BlackStamp_defconfig
@@ -45,7 +45,6 @@ CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
45# CONFIG_FW_LOADER is not set 45# CONFIG_FW_LOADER is not set
46CONFIG_MTD=y 46CONFIG_MTD=y
47CONFIG_MTD_CMDLINE_PARTS=y 47CONFIG_MTD_CMDLINE_PARTS=y
48CONFIG_MTD_CHAR=m
49CONFIG_MTD_BLOCK=y 48CONFIG_MTD_BLOCK=y
50CONFIG_MTD_CFI=m 49CONFIG_MTD_CFI=m
51CONFIG_MTD_CFI_AMDSTD=m 50CONFIG_MTD_CFI_AMDSTD=m
@@ -53,7 +52,7 @@ CONFIG_MTD_RAM=y
53CONFIG_MTD_ROM=m 52CONFIG_MTD_ROM=m
54CONFIG_MTD_COMPLEX_MAPPINGS=y 53CONFIG_MTD_COMPLEX_MAPPINGS=y
55CONFIG_MTD_M25P80=y 54CONFIG_MTD_M25P80=y
56# CONFIG_M25PXX_USE_FAST_READ is not set 55CONFIG_MTD_SPI_NOR=y
57CONFIG_BLK_DEV_LOOP=y 56CONFIG_BLK_DEV_LOOP=y
58CONFIG_BLK_DEV_NBD=y 57CONFIG_BLK_DEV_NBD=y
59CONFIG_BLK_DEV_RAM=y 58CONFIG_BLK_DEV_RAM=y
diff --git a/arch/blackfin/configs/H8606_defconfig b/arch/blackfin/configs/H8606_defconfig
index f754e490bbfd..0ff97d8d047a 100644
--- a/arch/blackfin/configs/H8606_defconfig
+++ b/arch/blackfin/configs/H8606_defconfig
@@ -36,13 +36,12 @@ CONFIG_IRTTY_SIR=m
36# CONFIG_WIRELESS is not set 36# CONFIG_WIRELESS is not set
37# CONFIG_FW_LOADER is not set 37# CONFIG_FW_LOADER is not set
38CONFIG_MTD=y 38CONFIG_MTD=y
39CONFIG_MTD_CHAR=y
40CONFIG_MTD_BLOCK=y 39CONFIG_MTD_BLOCK=y
41CONFIG_MTD_RAM=y 40CONFIG_MTD_RAM=y
42CONFIG_MTD_ROM=y 41CONFIG_MTD_ROM=y
43CONFIG_MTD_COMPLEX_MAPPINGS=y 42CONFIG_MTD_COMPLEX_MAPPINGS=y
44CONFIG_MTD_M25P80=y 43CONFIG_MTD_M25P80=y
45# CONFIG_M25PXX_USE_FAST_READ is not set 44CONFIG_MTD_SPI_NOR=y
46CONFIG_BLK_DEV_RAM=y 45CONFIG_BLK_DEV_RAM=y
47CONFIG_MISC_DEVICES=y 46CONFIG_MISC_DEVICES=y
48CONFIG_EEPROM_AT25=y 47CONFIG_EEPROM_AT25=y
diff --git a/arch/blackfin/include/asm/dma.h b/arch/blackfin/include/asm/dma.h
index 8d1e4c2d2c36..40e9c2bbc6e3 100644
--- a/arch/blackfin/include/asm/dma.h
+++ b/arch/blackfin/include/asm/dma.h
@@ -316,6 +316,8 @@ static inline void disable_dma(unsigned int channel)
316} 316}
317static inline void enable_dma(unsigned int channel) 317static inline void enable_dma(unsigned int channel)
318{ 318{
319 dma_ch[channel].regs->curr_x_count = 0;
320 dma_ch[channel].regs->curr_y_count = 0;
319 dma_ch[channel].regs->cfg |= DMAEN; 321 dma_ch[channel].regs->cfg |= DMAEN;
320} 322}
321int set_dma_callback(unsigned int channel, irq_handler_t callback, void *data); 323int set_dma_callback(unsigned int channel, irq_handler_t callback, void *data);
diff --git a/arch/blackfin/mach-bf533/boards/stamp.c b/arch/blackfin/mach-bf533/boards/stamp.c
index d0989290f54c..6f4bac969bf7 100644
--- a/arch/blackfin/mach-bf533/boards/stamp.c
+++ b/arch/blackfin/mach-bf533/boards/stamp.c
@@ -17,6 +17,7 @@
17#if IS_ENABLED(CONFIG_USB_ISP1362_HCD) 17#if IS_ENABLED(CONFIG_USB_ISP1362_HCD)
18#include <linux/usb/isp1362.h> 18#include <linux/usb/isp1362.h>
19#endif 19#endif
20#include <linux/gpio.h>
20#include <linux/irq.h> 21#include <linux/irq.h>
21#include <linux/i2c.h> 22#include <linux/i2c.h>
22#include <asm/dma.h> 23#include <asm/dma.h>