diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-12 23:08:47 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-12 23:08:47 -0400 |
commit | 88bbfb4a6267ff90a466ade9762d9a8fff2bb1bb (patch) | |
tree | 5d7693dd6e3fe81bb72ec3d83e9f9a8bb9aac649 /arch/blackfin | |
parent | 71998d1be4ae70e7d320cdd21595c1a02a29c61e (diff) | |
parent | 51fdc6bf98802eb7019ec94dfd82f0e6cd1c82a8 (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_defconfig | 2 | ||||
-rw-r--r-- | arch/blackfin/configs/BF527-EZKIT-V2_defconfig | 2 | ||||
-rw-r--r-- | arch/blackfin/configs/BF527-EZKIT_defconfig | 2 | ||||
-rw-r--r-- | arch/blackfin/configs/BF548-EZKIT_defconfig | 2 | ||||
-rw-r--r-- | arch/blackfin/configs/BF609-EZKIT_defconfig | 2 | ||||
-rw-r--r-- | arch/blackfin/configs/BlackStamp_defconfig | 3 | ||||
-rw-r--r-- | arch/blackfin/configs/H8606_defconfig | 3 | ||||
-rw-r--r-- | arch/blackfin/include/asm/dma.h | 2 | ||||
-rw-r--r-- | arch/blackfin/mach-bf533/boards/stamp.c | 1 |
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 | |||
53 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 53 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
54 | # CONFIG_FW_LOADER is not set | 54 | # CONFIG_FW_LOADER is not set |
55 | CONFIG_MTD=y | 55 | CONFIG_MTD=y |
56 | CONFIG_MTD_CHAR=y | ||
57 | CONFIG_MTD_BLOCK=y | 56 | CONFIG_MTD_BLOCK=y |
58 | CONFIG_MTD_CFI=y | 57 | CONFIG_MTD_CFI=y |
59 | CONFIG_MTD_CFI_INTELEXT=y | 58 | CONFIG_MTD_CFI_INTELEXT=y |
@@ -63,6 +62,7 @@ CONFIG_MTD_COMPLEX_MAPPINGS=y | |||
63 | CONFIG_MTD_PHYSMAP=y | 62 | CONFIG_MTD_PHYSMAP=y |
64 | CONFIG_MTD_M25P80=y | 63 | CONFIG_MTD_M25P80=y |
65 | CONFIG_MTD_NAND=m | 64 | CONFIG_MTD_NAND=m |
65 | CONFIG_MTD_SPI_NOR=y | ||
66 | CONFIG_BLK_DEV_RAM=y | 66 | CONFIG_BLK_DEV_RAM=y |
67 | CONFIG_SCSI=y | 67 | CONFIG_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 | |||
58 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 58 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
59 | # CONFIG_FW_LOADER is not set | 59 | # CONFIG_FW_LOADER is not set |
60 | CONFIG_MTD=y | 60 | CONFIG_MTD=y |
61 | CONFIG_MTD_CHAR=m | ||
62 | CONFIG_MTD_BLOCK=y | 61 | CONFIG_MTD_BLOCK=y |
63 | CONFIG_MTD_JEDECPROBE=m | 62 | CONFIG_MTD_JEDECPROBE=m |
64 | CONFIG_MTD_RAM=y | 63 | CONFIG_MTD_RAM=y |
@@ -66,6 +65,7 @@ CONFIG_MTD_ROM=m | |||
66 | CONFIG_MTD_COMPLEX_MAPPINGS=y | 65 | CONFIG_MTD_COMPLEX_MAPPINGS=y |
67 | CONFIG_MTD_M25P80=y | 66 | CONFIG_MTD_M25P80=y |
68 | CONFIG_MTD_NAND=m | 67 | CONFIG_MTD_NAND=m |
68 | CONFIG_MTD_SPI_NOR=y | ||
69 | CONFIG_BLK_DEV_RAM=y | 69 | CONFIG_BLK_DEV_RAM=y |
70 | CONFIG_SCSI=y | 70 | CONFIG_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 | |||
57 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | 57 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" |
58 | # CONFIG_FW_LOADER is not set | 58 | # CONFIG_FW_LOADER is not set |
59 | CONFIG_MTD=y | 59 | CONFIG_MTD=y |
60 | CONFIG_MTD_CHAR=m | ||
61 | CONFIG_MTD_BLOCK=y | 60 | CONFIG_MTD_BLOCK=y |
62 | CONFIG_MTD_JEDECPROBE=m | 61 | CONFIG_MTD_JEDECPROBE=m |
63 | CONFIG_MTD_RAM=y | 62 | CONFIG_MTD_RAM=y |
@@ -65,6 +64,7 @@ CONFIG_MTD_ROM=m | |||
65 | CONFIG_MTD_COMPLEX_MAPPINGS=y | 64 | CONFIG_MTD_COMPLEX_MAPPINGS=y |
66 | CONFIG_MTD_M25P80=y | 65 | CONFIG_MTD_M25P80=y |
67 | CONFIG_MTD_NAND=m | 66 | CONFIG_MTD_NAND=m |
67 | CONFIG_MTD_SPI_NOR=y | ||
68 | CONFIG_BLK_DEV_RAM=y | 68 | CONFIG_BLK_DEV_RAM=y |
69 | CONFIG_SCSI=y | 69 | CONFIG_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" | |||
64 | CONFIG_FW_LOADER=m | 64 | CONFIG_FW_LOADER=m |
65 | CONFIG_MTD=y | 65 | CONFIG_MTD=y |
66 | CONFIG_MTD_CMDLINE_PARTS=y | 66 | CONFIG_MTD_CMDLINE_PARTS=y |
67 | CONFIG_MTD_CHAR=y | ||
68 | CONFIG_MTD_BLOCK=y | 67 | CONFIG_MTD_BLOCK=y |
69 | CONFIG_MTD_CFI=y | 68 | CONFIG_MTD_CFI=y |
70 | CONFIG_MTD_CFI_INTELEXT=y | 69 | CONFIG_MTD_CFI_INTELEXT=y |
@@ -75,6 +74,7 @@ CONFIG_MTD_M25P80=y | |||
75 | CONFIG_MTD_NAND=y | 74 | CONFIG_MTD_NAND=y |
76 | CONFIG_MTD_NAND_BF5XX=y | 75 | CONFIG_MTD_NAND_BF5XX=y |
77 | # CONFIG_MTD_NAND_BF5XX_HWECC is not set | 76 | # CONFIG_MTD_NAND_BF5XX_HWECC is not set |
77 | CONFIG_MTD_SPI_NOR=y | ||
78 | CONFIG_BLK_DEV_RAM=y | 78 | CONFIG_BLK_DEV_RAM=y |
79 | # CONFIG_SCSI_PROC_FS is not set | 79 | # CONFIG_SCSI_PROC_FS is not set |
80 | CONFIG_BLK_DEV_SD=y | 80 | CONFIG_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" | |||
57 | CONFIG_FW_LOADER=m | 57 | CONFIG_FW_LOADER=m |
58 | CONFIG_MTD=y | 58 | CONFIG_MTD=y |
59 | CONFIG_MTD_CMDLINE_PARTS=y | 59 | CONFIG_MTD_CMDLINE_PARTS=y |
60 | CONFIG_MTD_CHAR=y | ||
61 | CONFIG_MTD_BLOCK=y | 60 | CONFIG_MTD_BLOCK=y |
62 | CONFIG_MTD_CFI=y | 61 | CONFIG_MTD_CFI=y |
63 | CONFIG_MTD_CFI_INTELEXT=y | 62 | CONFIG_MTD_CFI_INTELEXT=y |
@@ -65,6 +64,7 @@ CONFIG_MTD_CFI_STAA=y | |||
65 | CONFIG_MTD_COMPLEX_MAPPINGS=y | 64 | CONFIG_MTD_COMPLEX_MAPPINGS=y |
66 | CONFIG_MTD_PHYSMAP=y | 65 | CONFIG_MTD_PHYSMAP=y |
67 | CONFIG_MTD_M25P80=y | 66 | CONFIG_MTD_M25P80=y |
67 | CONFIG_MTD_SPI_NOR=y | ||
68 | CONFIG_MTD_UBI=m | 68 | CONFIG_MTD_UBI=m |
69 | CONFIG_SCSI=y | 69 | CONFIG_SCSI=y |
70 | CONFIG_BLK_DEV_SD=y | 70 | CONFIG_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 |
46 | CONFIG_MTD=y | 46 | CONFIG_MTD=y |
47 | CONFIG_MTD_CMDLINE_PARTS=y | 47 | CONFIG_MTD_CMDLINE_PARTS=y |
48 | CONFIG_MTD_CHAR=m | ||
49 | CONFIG_MTD_BLOCK=y | 48 | CONFIG_MTD_BLOCK=y |
50 | CONFIG_MTD_CFI=m | 49 | CONFIG_MTD_CFI=m |
51 | CONFIG_MTD_CFI_AMDSTD=m | 50 | CONFIG_MTD_CFI_AMDSTD=m |
@@ -53,7 +52,7 @@ CONFIG_MTD_RAM=y | |||
53 | CONFIG_MTD_ROM=m | 52 | CONFIG_MTD_ROM=m |
54 | CONFIG_MTD_COMPLEX_MAPPINGS=y | 53 | CONFIG_MTD_COMPLEX_MAPPINGS=y |
55 | CONFIG_MTD_M25P80=y | 54 | CONFIG_MTD_M25P80=y |
56 | # CONFIG_M25PXX_USE_FAST_READ is not set | 55 | CONFIG_MTD_SPI_NOR=y |
57 | CONFIG_BLK_DEV_LOOP=y | 56 | CONFIG_BLK_DEV_LOOP=y |
58 | CONFIG_BLK_DEV_NBD=y | 57 | CONFIG_BLK_DEV_NBD=y |
59 | CONFIG_BLK_DEV_RAM=y | 58 | CONFIG_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 |
38 | CONFIG_MTD=y | 38 | CONFIG_MTD=y |
39 | CONFIG_MTD_CHAR=y | ||
40 | CONFIG_MTD_BLOCK=y | 39 | CONFIG_MTD_BLOCK=y |
41 | CONFIG_MTD_RAM=y | 40 | CONFIG_MTD_RAM=y |
42 | CONFIG_MTD_ROM=y | 41 | CONFIG_MTD_ROM=y |
43 | CONFIG_MTD_COMPLEX_MAPPINGS=y | 42 | CONFIG_MTD_COMPLEX_MAPPINGS=y |
44 | CONFIG_MTD_M25P80=y | 43 | CONFIG_MTD_M25P80=y |
45 | # CONFIG_M25PXX_USE_FAST_READ is not set | 44 | CONFIG_MTD_SPI_NOR=y |
46 | CONFIG_BLK_DEV_RAM=y | 45 | CONFIG_BLK_DEV_RAM=y |
47 | CONFIG_MISC_DEVICES=y | 46 | CONFIG_MISC_DEVICES=y |
48 | CONFIG_EEPROM_AT25=y | 47 | CONFIG_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 | } |
317 | static inline void enable_dma(unsigned int channel) | 317 | static 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 | } |
321 | int set_dma_callback(unsigned int channel, irq_handler_t callback, void *data); | 323 | int 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> |