diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-10-09 16:31:47 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-10-09 16:31:47 -0400 |
| commit | 79a6f564401f1d47989e706d47053a650f296966 (patch) | |
| tree | 933d892e4a23220e2cadb9d972187c0668684821 | |
| parent | 7f3143702cc0d433c183d7b361b1316f2dcf8464 (diff) | |
| parent | 796dada9f5584a677a0a2a1972090bfc538903ff (diff) | |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vapier/blackfin
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vapier/blackfin:
Blackfin: convert to GENERIC_HARDIRQS_NO__DO_IRQ
Blackfin: drop all simple-gpio board resources
Blackfin: fix framebuffer mmap bug for nommu
Blackfin: includecheck fix: mach-bf548, ezkit.c
Blackfin: drop cs_change_per_word setting
Blackfin: bf533-ezkit: convert to physmap/jedec_probe
Blackfin: convert adv7393 resources to new i2c framework
Blackfin: fix missed cache config renames
Blackfin: cplbinfo: drop d_path() hacks
Blackfin: asm/irq.h: pull in mach/anomaly.h for anomaly defines
Blackfin: BF51x: add PTP MMR defines
Blackfin: mass clean up of copyright/licensing info
Blackfin: convert to use arch_gettimeoffset()
250 files changed, 1078 insertions, 4717 deletions
diff --git a/arch/blackfin/ADI_BSD.txt b/arch/blackfin/ADI_BSD.txt new file mode 100644 index 000000000000..501d0b645943 --- /dev/null +++ b/arch/blackfin/ADI_BSD.txt | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | This BSD-Style License applies to a few files in ./arch/blackfin directory, | ||
| 2 | and is included here, so people understand which code they can use outside | ||
| 3 | the Linux kernel, in non-GPL based projects. | ||
| 4 | |||
| 5 | Using the files released under the "ADI BSD" license, must comply with | ||
| 6 | these license terms. | ||
| 7 | |||
| 8 | -------------------------------------------------------------------------- | ||
| 9 | |||
| 10 | Copyright Analog Devices, Inc. | ||
| 11 | |||
| 12 | All rights reserved. | ||
| 13 | |||
| 14 | Redistribution and use in source and binary forms, with or without | ||
| 15 | modification, are permitted provided that the following conditions | ||
| 16 | are met: | ||
| 17 | - Redistributions of source code must retain the above copyright | ||
| 18 | notice, this list of conditions and the following disclaimer. | ||
| 19 | - Redistributions in binary form must reproduce the above copyright | ||
| 20 | notice, this list of conditions and the following disclaimer in | ||
| 21 | the documentation and/or other materials provided with the | ||
| 22 | distribution. | ||
| 23 | - Neither the name of Analog Devices, Inc. nor the names of its | ||
| 24 | contributors may be used to endorse or promote products derived | ||
| 25 | from this software without specific prior written permission. | ||
| 26 | - The use of this software may or may not infringe the patent rights | ||
| 27 | of one or more patent holders. This license does not release you | ||
| 28 | from the requirement that you obtain separate licenses from these | ||
| 29 | patent holders to use this software. | ||
| 30 | |||
| 31 | THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES "AS IS" AND ANY EXPRESS OR | ||
| 32 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT, | ||
| 33 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | ||
| 34 | IN NO EVENT SHALL ANALOG DEVICES BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| 35 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, | ||
| 36 | BUT NOT LIMITED TO, INTELLECTUAL PROPERTY RIGHTS, PROCUREMENT OF | ||
| 37 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR | ||
| 38 | BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | ||
| 39 | WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR | ||
| 40 | OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF | ||
| 41 | ADVISED OF THE POSSIBILITY OF SUCH DAMAGE | ||
diff --git a/arch/blackfin/Kconfig b/arch/blackfin/Kconfig index 9a01d445eca8..ae6a60f10120 100644 --- a/arch/blackfin/Kconfig +++ b/arch/blackfin/Kconfig | |||
| @@ -47,6 +47,9 @@ config GENERIC_HARDIRQS | |||
| 47 | config GENERIC_IRQ_PROBE | 47 | config GENERIC_IRQ_PROBE |
| 48 | def_bool y | 48 | def_bool y |
| 49 | 49 | ||
| 50 | config GENERIC_HARDIRQS_NO__DO_IRQ | ||
| 51 | def_bool y | ||
| 52 | |||
| 50 | config GENERIC_GPIO | 53 | config GENERIC_GPIO |
| 51 | def_bool y | 54 | def_bool y |
| 52 | 55 | ||
| @@ -229,7 +232,7 @@ endchoice | |||
| 229 | 232 | ||
| 230 | config SMP | 233 | config SMP |
| 231 | depends on BF561 | 234 | depends on BF561 |
| 232 | select GENERIC_TIME | 235 | select GENERIC_CLOCKEVENTS |
| 233 | bool "Symmetric multi-processing support" | 236 | bool "Symmetric multi-processing support" |
| 234 | ---help--- | 237 | ---help--- |
| 235 | This enables support for systems with more than one CPU, | 238 | This enables support for systems with more than one CPU, |
| @@ -613,12 +616,10 @@ comment "Kernel Timer/Scheduler" | |||
| 613 | source kernel/Kconfig.hz | 616 | source kernel/Kconfig.hz |
| 614 | 617 | ||
| 615 | config GENERIC_TIME | 618 | config GENERIC_TIME |
| 616 | bool "Generic time" | 619 | def_bool y |
| 617 | default y | ||
| 618 | 620 | ||
| 619 | config GENERIC_CLOCKEVENTS | 621 | config GENERIC_CLOCKEVENTS |
| 620 | bool "Generic clock events" | 622 | bool "Generic clock events" |
| 621 | depends on GENERIC_TIME | ||
| 622 | default y | 623 | default y |
| 623 | 624 | ||
| 624 | choice | 625 | choice |
| @@ -653,6 +654,10 @@ config GPTMR0_CLOCKSOURCE | |||
| 653 | depends on GENERIC_CLOCKEVENTS | 654 | depends on GENERIC_CLOCKEVENTS |
| 654 | depends on !TICKSOURCE_GPTMR0 | 655 | depends on !TICKSOURCE_GPTMR0 |
| 655 | 656 | ||
| 657 | config ARCH_USES_GETTIMEOFFSET | ||
| 658 | depends on !GENERIC_CLOCKEVENTS | ||
| 659 | def_bool y | ||
| 660 | |||
| 656 | source kernel/time/Kconfig | 661 | source kernel/time/Kconfig |
| 657 | 662 | ||
| 658 | comment "Misc" | 663 | comment "Misc" |
diff --git a/arch/blackfin/include/asm/atomic.h b/arch/blackfin/include/asm/atomic.h index 88f36d599fe8..d27c6274247d 100644 --- a/arch/blackfin/include/asm/atomic.h +++ b/arch/blackfin/include/asm/atomic.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | Â * Copyright 2004-2009 Analog Devices Inc. | ||
| 3 | Â * | ||
| 4 | Â * Licensed under the GPL-2 or later. | ||
| 5 | Â */ | ||
| 6 | |||
| 1 | #ifndef __ARCH_BLACKFIN_ATOMIC__ | 7 | #ifndef __ARCH_BLACKFIN_ATOMIC__ |
| 2 | #define __ARCH_BLACKFIN_ATOMIC__ | 8 | #define __ARCH_BLACKFIN_ATOMIC__ |
| 3 | 9 | ||
diff --git a/arch/blackfin/include/asm/bfin-global.h b/arch/blackfin/include/asm/bfin-global.h index aef0594e7865..10064f902d20 100644 --- a/arch/blackfin/include/asm/bfin-global.h +++ b/arch/blackfin/include/asm/bfin-global.h | |||
| @@ -1,29 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/bfin-global.h | 2 | * Global extern defines for blackfin |
| 3 | * Based on: | ||
| 4 | * Author: * | ||
| 5 | * Created: | ||
| 6 | * Description: Global extern defines for blackfin | ||
| 7 | * | 3 | * |
| 8 | * Modified: | 4 | * Copyright 2006-2009 Analog Devices Inc. |
| 9 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 10 | * | 5 | * |
| 11 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | 6 | * Licensed under the GPL-2 or later. |
| 12 | * | ||
| 13 | * This program is free software; you can redistribute it and/or modify | ||
| 14 | * it under the terms of the GNU General Public License as published by | ||
| 15 | * the Free Software Foundation; either version 2 of the License, or | ||
| 16 | * (at your option) any later version. | ||
| 17 | * | ||
| 18 | * This program is distributed in the hope that it will be useful, | ||
| 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 21 | * GNU General Public License for more details. | ||
| 22 | * | ||
| 23 | * You should have received a copy of the GNU General Public License | ||
| 24 | * along with this program; if not, see the file COPYING, or write | ||
| 25 | * to the Free Software Foundation, Inc., | ||
| 26 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 27 | */ | 7 | */ |
| 28 | 8 | ||
| 29 | #ifndef _BFIN_GLOBAL_H_ | 9 | #ifndef _BFIN_GLOBAL_H_ |
diff --git a/arch/blackfin/include/asm/bfin5xx_spi.h b/arch/blackfin/include/asm/bfin5xx_spi.h index c281c6328276..ed4f8c6db0cd 100644 --- a/arch/blackfin/include/asm/bfin5xx_spi.h +++ b/arch/blackfin/include/asm/bfin5xx_spi.h | |||
| @@ -3,8 +3,6 @@ | |||
| 3 | * | 3 | * |
| 4 | * Copyright 2004-2008 Analog Devices Inc. | 4 | * Copyright 2004-2008 Analog Devices Inc. |
| 5 | * | 5 | * |
| 6 | * Enter bugs at http://blackfin.uclinux.org/ | ||
| 7 | * | ||
| 8 | * Licensed under the GPL-2 or later. | 6 | * Licensed under the GPL-2 or later. |
| 9 | */ | 7 | */ |
| 10 | 8 | ||
diff --git a/arch/blackfin/include/asm/bfin_rotary.h b/arch/blackfin/include/asm/bfin_rotary.h index 425ece64fd5e..abdb2af52902 100644 --- a/arch/blackfin/include/asm/bfin_rotary.h +++ b/arch/blackfin/include/asm/bfin_rotary.h | |||
| @@ -1,6 +1,10 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * board initialization should put one of these structures into platform_data | 2 | * board initialization should put one of these structures into platform_data |
| 3 | * and place the bfin-rotary onto platform_bus named "bfin-rotary". | 3 | * and place the bfin-rotary onto platform_bus named "bfin-rotary". |
| 4 | * | ||
| 5 | * Copyright 2008 Analog Devices Inc. | ||
| 6 | * | ||
| 7 | * Licensed under the GPL-2 or later. | ||
| 4 | */ | 8 | */ |
| 5 | 9 | ||
| 6 | #ifndef _BFIN_ROTARY_H | 10 | #ifndef _BFIN_ROTARY_H |
diff --git a/arch/blackfin/include/asm/bfin_simple_timer.h b/arch/blackfin/include/asm/bfin_simple_timer.h index fccbb595464a..5248c133bc68 100644 --- a/arch/blackfin/include/asm/bfin_simple_timer.h +++ b/arch/blackfin/include/asm/bfin_simple_timer.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2006-2008 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the GPL-2 or later. | ||
| 5 | */ | ||
| 6 | |||
| 1 | #ifndef _bfin_simple_timer_h_ | 7 | #ifndef _bfin_simple_timer_h_ |
| 2 | #define _bfin_simple_timer_h_ | 8 | #define _bfin_simple_timer_h_ |
| 3 | 9 | ||
diff --git a/arch/blackfin/include/asm/bitops.h b/arch/blackfin/include/asm/bitops.h index daffa71576d4..a2ff3fb3568d 100644 --- a/arch/blackfin/include/asm/bitops.h +++ b/arch/blackfin/include/asm/bitops.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2004-2009 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the GPL-2 or later. | ||
| 5 | */ | ||
| 6 | |||
| 1 | #ifndef _BLACKFIN_BITOPS_H | 7 | #ifndef _BLACKFIN_BITOPS_H |
| 2 | #define _BLACKFIN_BITOPS_H | 8 | #define _BLACKFIN_BITOPS_H |
| 3 | 9 | ||
diff --git a/arch/blackfin/include/asm/blackfin.h b/arch/blackfin/include/asm/blackfin.h index 4d4439583396..eb7c1441d8f9 100644 --- a/arch/blackfin/include/asm/blackfin.h +++ b/arch/blackfin/include/asm/blackfin.h | |||
| @@ -1,6 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Common header file for blackfin family of processors. | 2 | * Common header file for Blackfin family of processors. |
| 3 | * | 3 | * |
| 4 | Â * Copyright 2004-2009 Analog Devices Inc. | ||
| 5 | Â * | ||
| 6 | Â * Licensed under the GPL-2 or later. | ||
| 4 | */ | 7 | */ |
| 5 | 8 | ||
| 6 | #ifndef _BLACKFIN_H_ | 9 | #ifndef _BLACKFIN_H_ |
diff --git a/arch/blackfin/include/asm/bug.h b/arch/blackfin/include/asm/bug.h index 655e49540e41..6f4548a13555 100644 --- a/arch/blackfin/include/asm/bug.h +++ b/arch/blackfin/include/asm/bug.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2004-2009 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the GPL-2 or later. | ||
| 5 | */ | ||
| 6 | |||
| 1 | #ifndef _BLACKFIN_BUG_H | 7 | #ifndef _BLACKFIN_BUG_H |
| 2 | #define _BLACKFIN_BUG_H | 8 | #define _BLACKFIN_BUG_H |
| 3 | 9 | ||
diff --git a/arch/blackfin/include/asm/byteorder.h b/arch/blackfin/include/asm/byteorder.h index 3e69106a4d37..9558416d578b 100644 --- a/arch/blackfin/include/asm/byteorder.h +++ b/arch/blackfin/include/asm/byteorder.h | |||
| @@ -1,6 +1 @@ | |||
| 1 | #ifndef _BLACKFIN_BYTEORDER_H | ||
| 2 | #define _BLACKFIN_BYTEORDER_H | ||
| 3 | |||
| 4 | #include <linux/byteorder/little_endian.h> | #include <linux/byteorder/little_endian.h> | |
| 5 | |||
| 6 | #endif /* _BLACKFIN_BYTEORDER_H */ | ||
diff --git a/arch/blackfin/include/asm/cache.h b/arch/blackfin/include/asm/cache.h index 477050ad5c53..8542bc31f63c 100644 --- a/arch/blackfin/include/asm/cache.h +++ b/arch/blackfin/include/asm/cache.h | |||
| @@ -1,6 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * include/asm-blackfin/cache.h | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * | ||
| 4 | * Licensed under the GPL-2 or later. | ||
| 3 | */ | 5 | */ |
| 6 | |||
| 4 | #ifndef __ARCH_BLACKFIN_CACHE_H | 7 | #ifndef __ARCH_BLACKFIN_CACHE_H |
| 5 | #define __ARCH_BLACKFIN_CACHE_H | 8 | #define __ARCH_BLACKFIN_CACHE_H |
| 6 | 9 | ||
| @@ -35,10 +38,10 @@ | |||
| 35 | 38 | ||
| 36 | #if defined(CONFIG_SMP) && \ | 39 | #if defined(CONFIG_SMP) && \ |
| 37 | !defined(CONFIG_BFIN_CACHE_COHERENT) | 40 | !defined(CONFIG_BFIN_CACHE_COHERENT) |
| 38 | # if defined(CONFIG_BFIN_ICACHEABLE) || defined(CONFIG_BFIN_L2_ICACHEABLE) | 41 | # if defined(CONFIG_BFIN_EXTMEM_ICACHEABLE) || defined(CONFIG_BFIN_L2_ICACHEABLE) |
| 39 | # define __ARCH_SYNC_CORE_ICACHE | 42 | # define __ARCH_SYNC_CORE_ICACHE |
| 40 | # endif | 43 | # endif |
| 41 | # if defined(CONFIG_BFIN_DCACHEABLE) || defined(CONFIG_BFIN_L2_DCACHEABLE) | 44 | # if defined(CONFIG_BFIN_EXTMEM_DCACHEABLE) || defined(CONFIG_BFIN_L2_DCACHEABLE) |
| 42 | # define __ARCH_SYNC_CORE_DCACHE | 45 | # define __ARCH_SYNC_CORE_DCACHE |
| 43 | # endif | 46 | # endif |
| 44 | #ifndef __ASSEMBLY__ | 47 | #ifndef __ASSEMBLY__ |
diff --git a/arch/blackfin/include/asm/cacheflush.h b/arch/blackfin/include/asm/cacheflush.h index 7e55549e180f..af03a36c7a4e 100644 --- a/arch/blackfin/include/asm/cacheflush.h +++ b/arch/blackfin/include/asm/cacheflush.h | |||
| @@ -1,30 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/cacheflush.h | 2 | * Blackfin low-level cache routines |
| 3 | * Based on: include/asm-m68knommu/cacheflush.h | ||
| 4 | * Author: LG Soft India | ||
| 5 | * Copyright (C) 2004 Analog Devices Inc. | ||
| 6 | * Created: Tue Sep 21 2004 | ||
| 7 | * Description: Blackfin low-level cache routines adapted from the i386 | ||
| 8 | * and PPC versions by Greg Ungerer (gerg@snapgear.com) | ||
| 9 | * | 3 | * |
| 10 | * Modified: | 4 | * Copyright 2004-2009 Analog Devices Inc. |
| 11 | * | 5 | * |
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | 6 | * Licensed under the GPL-2 or later. |
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 17 | * any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; see the file COPYING. | ||
| 26 | * If not, write to the Free Software Foundation, | ||
| 27 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 28 | */ | 7 | */ |
| 29 | 8 | ||
| 30 | #ifndef _BLACKFIN_CACHEFLUSH_H | 9 | #ifndef _BLACKFIN_CACHEFLUSH_H |
diff --git a/arch/blackfin/include/asm/cdef_LPBlackfin.h b/arch/blackfin/include/asm/cdef_LPBlackfin.h index 35f841bce57d..8778e0f03730 100644 --- a/arch/blackfin/include/asm/cdef_LPBlackfin.h +++ b/arch/blackfin/include/asm/cdef_LPBlackfin.h | |||
| @@ -1,30 +1,8 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-common/cdef_LPBlackfin.h | 2 | * Copyright 2005-2008 Analog Devices Inc. |
| 3 | * Based on: | 3 | * |
| 4 | * Author: unknown | 4 | * Licensed under the GPL-2 or later. |
| 5 | * COPYRIGHT 2005 Analog Devices | 5 | */ |
| 6 | * Created: ? | ||
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * | ||
| 11 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 12 | * | ||
| 13 | * This program is free software; you can redistribute it and/or modify | ||
| 14 | * it under the terms of the GNU General Public License as published by | ||
| 15 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 16 | * any later version. | ||
| 17 | * | ||
| 18 | * This program is distributed in the hope that it will be useful, | ||
| 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 21 | * GNU General Public License for more details. | ||
| 22 | * | ||
| 23 | * You should have received a copy of the GNU General Public License | ||
| 24 | * along with this program; see the file COPYING. | ||
| 25 | * If not, write to the Free Software Foundation, | ||
| 26 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 27 | */ | ||
| 28 | 6 | ||
| 29 | #ifndef _CDEF_LPBLACKFIN_H | 7 | #ifndef _CDEF_LPBLACKFIN_H |
| 30 | #define _CDEF_LPBLACKFIN_H | 8 | #define _CDEF_LPBLACKFIN_H |
diff --git a/arch/blackfin/include/asm/checksum.h b/arch/blackfin/include/asm/checksum.h index 793581fc9556..a23415be0de1 100644 --- a/arch/blackfin/include/asm/checksum.h +++ b/arch/blackfin/include/asm/checksum.h | |||
| @@ -1,9 +1,14 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2004-2009 Analog Devices Inc. | ||
| 3 | * akbar.hussain@lineo.com | ||
| 4 | * | ||
| 5 | * Licensed under the GPL-2 or later. | ||
| 6 | */ | ||
| 7 | |||
| 1 | #ifndef _BFIN_CHECKSUM_H | 8 | #ifndef _BFIN_CHECKSUM_H |
| 2 | #define _BFIN_CHECKSUM_H | 9 | #define _BFIN_CHECKSUM_H |
| 3 | 10 | ||
| 4 | /* | 11 | /* |
| 5 | * MODIFIED FOR BFIN April 30, 2001 akbar.hussain@lineo.com | ||
| 6 | * | ||
| 7 | * computes the checksum of a memory block at buff, length len, | 12 | * computes the checksum of a memory block at buff, length len, |
| 8 | * and adds in "sum" (32-bit) | 13 | * and adds in "sum" (32-bit) |
| 9 | * | 14 | * |
diff --git a/arch/blackfin/include/asm/clocks.h b/arch/blackfin/include/asm/clocks.h index 033bba92d61c..f80dad5ff257 100644 --- a/arch/blackfin/include/asm/clocks.h +++ b/arch/blackfin/include/asm/clocks.h | |||
| @@ -1,30 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-common/clocks.h | 2 | * Common Clock definitions for various kernel files |
| 3 | * Based on: include/asm-blackfin/mach-bf537/bf537.h | ||
| 4 | * Author: Robin Getz <rgetz@blackfin.uclinux.org> | ||
| 5 | * | 3 | * |
| 6 | * Created: 25Jul07 | 4 | * Copyright 2007-2008 Analog Devices Inc. |
| 7 | * Description: Common Clock definitions for various kernel files | ||
| 8 | * | 5 | * |
| 9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
| 10 | * Copyright 2004-2007 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 7 | */ |
| 29 | 8 | ||
| 30 | #ifndef _BFIN_CLOCKS_H | 9 | #ifndef _BFIN_CLOCKS_H |
diff --git a/arch/blackfin/include/asm/context.S b/arch/blackfin/include/asm/context.S index f8a664f022b1..5dffaf582a22 100644 --- a/arch/blackfin/include/asm/context.S +++ b/arch/blackfin/include/asm/context.S | |||
| @@ -1,30 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/kernel/context.S | 2 | * Copyright 2007-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2004-2007 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 5 | */ |
| 29 | 6 | ||
| 30 | /* | 7 | /* |
diff --git a/arch/blackfin/include/asm/cplb.h b/arch/blackfin/include/asm/cplb.h index d18d16837a6d..fda96261ed62 100644 --- a/arch/blackfin/include/asm/cplb.h +++ b/arch/blackfin/include/asm/cplb.h | |||
| @@ -1,30 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/cplb.h | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: include/asm-blackfin/mach-bf537/bf537.h | ||
| 4 | * Author: Robin Getz <rgetz@blackfin.uclinux.org> | ||
| 5 | * | 3 | * |
| 6 | * Created: 2000 | 4 | * Licensed under the GPL-2 or later. |
| 7 | * Description: Common CPLB definitions for CPLB init | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2004-2007 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 5 | */ |
| 29 | 6 | ||
| 30 | #ifndef _CPLB_H | 7 | #ifndef _CPLB_H |
diff --git a/arch/blackfin/include/asm/cplbinit.h b/arch/blackfin/include/asm/cplbinit.h index 05b14a631d0c..f315c83a015d 100644 --- a/arch/blackfin/include/asm/cplbinit.h +++ b/arch/blackfin/include/asm/cplbinit.h | |||
| @@ -1,30 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/cplbinit.h | 2 | * Common CPLB definitions for CPLB init |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Copyright 2006-2008 Analog Devices Inc. |
| 7 | * Description: | ||
| 8 | * | 5 | * |
| 9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
| 10 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 7 | */ |
| 29 | 8 | ||
| 30 | #ifndef __ASM_CPLBINIT_H__ | 9 | #ifndef __ASM_CPLBINIT_H__ |
diff --git a/arch/blackfin/include/asm/cpu.h b/arch/blackfin/include/asm/cpu.h index fadfa82f93b2..b191dc662bd8 100644 --- a/arch/blackfin/include/asm/cpu.h +++ b/arch/blackfin/include/asm/cpu.h | |||
| @@ -1,23 +1,8 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/include/asm/cpu.h. | 2 | * Copyright 2007-2009 Analog Devices Inc. |
| 3 | * Author: Philippe Gerum <rpm@xenomai.org> | 3 | * Philippe Gerum <rpm@xenomai.org> |
| 4 | * | 4 | * |
| 5 | * Copyright 2007 Analog Devices Inc. | 5 | * Licensed under the GPL-2 or later. |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License as published by | ||
| 9 | * the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program; if not, see the file COPYING, or write | ||
| 19 | * to the Free Software Foundation, Inc., | ||
| 20 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 21 | */ | 6 | */ |
| 22 | 7 | ||
| 23 | #ifndef __ASM_BLACKFIN_CPU_H | 8 | #ifndef __ASM_BLACKFIN_CPU_H |
diff --git a/arch/blackfin/include/asm/def_LPBlackfin.h b/arch/blackfin/include/asm/def_LPBlackfin.h index 6341eebff3dc..25906468622f 100644 --- a/arch/blackfin/include/asm/def_LPBlackfin.h +++ b/arch/blackfin/include/asm/def_LPBlackfin.h | |||
| @@ -1,32 +1,10 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-common/def_LPBlackfin.h | 2 | * Blackfin core register bit & address definitions |
| 3 | * Based on: | 3 | * |
| 4 | * Author: unknown | 4 | * Copyright 2005-2008 Analog Devices Inc. |
| 5 | * COPYRIGHT 2005 Analog Devices | 5 | * |
| 6 | * Created: ? | 6 | * Licensed under the ADI BSD license or GPL-2 (or later). |
| 7 | * Description: | 7 | */ |
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * | ||
| 11 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 12 | * | ||
| 13 | * This program is free software; you can redistribute it and/or modify | ||
| 14 | * it under the terms of the GNU General Public License as published by | ||
| 15 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 16 | * any later version. | ||
| 17 | * | ||
| 18 | * This program is distributed in the hope that it will be useful, | ||
| 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 21 | * GNU General Public License for more details. | ||
| 22 | * | ||
| 23 | * You should have received a copy of the GNU General Public License | ||
| 24 | * along with this program; see the file COPYING. | ||
| 25 | * If not, write to the Free Software Foundation, | ||
| 26 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 27 | */ | ||
| 28 | |||
| 29 | /* LP Blackfin CORE REGISTER BIT & ADDRESS DEFINITIONS FOR ADSP-BF532/33 */ | ||
| 30 | 8 | ||
| 31 | #ifndef _DEF_LPBLACKFIN_H | 9 | #ifndef _DEF_LPBLACKFIN_H |
| 32 | #define _DEF_LPBLACKFIN_H | 10 | #define _DEF_LPBLACKFIN_H |
diff --git a/arch/blackfin/include/asm/dma-mapping.h b/arch/blackfin/include/asm/dma-mapping.h index ed6b1f3cccce..7a23d824ac96 100644 --- a/arch/blackfin/include/asm/dma-mapping.h +++ b/arch/blackfin/include/asm/dma-mapping.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2004-2009 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the GPL-2 or later. | ||
| 5 | */ | ||
| 6 | |||
| 1 | #ifndef _BLACKFIN_DMA_MAPPING_H | 7 | #ifndef _BLACKFIN_DMA_MAPPING_H |
| 2 | #define _BLACKFIN_DMA_MAPPING_H | 8 | #define _BLACKFIN_DMA_MAPPING_H |
| 3 | 9 | ||
diff --git a/arch/blackfin/include/asm/dpmc.h b/arch/blackfin/include/asm/dpmc.h index 96e8208f929a..925e66cb2d49 100644 --- a/arch/blackfin/include/asm/dpmc.h +++ b/arch/blackfin/include/asm/dpmc.h | |||
| @@ -1,9 +1,11 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * include/asm-blackfin/dpmc.h - Miscellaneous IOCTL commands for Dynamic Power | 2 | * Miscellaneous IOCTL commands for Dynamic Power Management Controller Driver |
| 3 | * Management Controller Driver. | 3 | * |
| 4 | * Copyright (C) 2004-2008 Analog Device Inc. | 4 | * Copyright (C) 2004-2008 Analog Device Inc. |
| 5 | * | 5 | * |
| 6 | * Licensed under the GPL-2 | ||
| 6 | */ | 7 | */ |
| 8 | |||
| 7 | #ifndef _BLACKFIN_DPMC_H_ | 9 | #ifndef _BLACKFIN_DPMC_H_ |
| 8 | #define _BLACKFIN_DPMC_H_ | 10 | #define _BLACKFIN_DPMC_H_ |
| 9 | 11 | ||
diff --git a/arch/blackfin/include/asm/early_printk.h b/arch/blackfin/include/asm/early_printk.h index 53a762b6fcd2..68a910db8864 100644 --- a/arch/blackfin/include/asm/early_printk.h +++ b/arch/blackfin/include/asm/early_printk.h | |||
| @@ -1,27 +1,11 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/early_printk.h | 2 | * function prototpyes for early printk |
| 3 | * Author: Robin Getz <rgetz@blackfin.uclinux.org | ||
| 4 | * | 3 | * |
| 5 | * Created: 14Aug2007 | 4 | * Copyright 2007-2009 Analog Devices Inc. |
| 6 | * Description: function prototpyes for early printk | ||
| 7 | * | 5 | * |
| 8 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
| 9 | * Copyright 2004-2007 Analog Devices Inc. | ||
| 10 | * | ||
| 11 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 12 | * | ||
| 13 | * This program is free software; you can redistribute it and/or modify | ||
| 14 | * it under the terms of the GNU General Public License as published by | ||
| 15 | * the Free Software Foundation; either version 2 of the License, or | ||
| 16 | * (at your option) any later version. | ||
| 17 | * | ||
| 18 | * This program is distributed in the hope that it will be useful, | ||
| 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 21 | * GNU General Public License for more details. | ||
| 22 | */ | 7 | */ |
| 23 | 8 | ||
| 24 | |||
| 25 | #ifndef __ASM_EARLY_PRINTK_H__ | 9 | #ifndef __ASM_EARLY_PRINTK_H__ |
| 26 | #define __ASM_EARLY_PRINTK_H__ | 10 | #define __ASM_EARLY_PRINTK_H__ |
| 27 | 11 | ||
diff --git a/arch/blackfin/include/asm/elf.h b/arch/blackfin/include/asm/elf.h index c823e8ebbfa1..8e0764c81eaf 100644 --- a/arch/blackfin/include/asm/elf.h +++ b/arch/blackfin/include/asm/elf.h | |||
| @@ -1,4 +1,8 @@ | |||
| 1 | /* Changes made by LG Soft Oct 2004*/ | 1 | /* |
| 2 | * Copyright 2004-2009 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the GPL-2 or later. | ||
| 5 | */ | ||
| 2 | 6 | ||
| 3 | #ifndef __ASMBFIN_ELF_H | 7 | #ifndef __ASMBFIN_ELF_H |
| 4 | #define __ASMBFIN_ELF_H | 8 | #define __ASMBFIN_ELF_H |
diff --git a/arch/blackfin/include/asm/entry.h b/arch/blackfin/include/asm/entry.h index 55b808fced71..a6886f6e4819 100644 --- a/arch/blackfin/include/asm/entry.h +++ b/arch/blackfin/include/asm/entry.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2004-2009 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the GPL-2 or later. | ||
| 5 | */ | ||
| 6 | |||
| 1 | #ifndef __BFIN_ENTRY_H | 7 | #ifndef __BFIN_ENTRY_H |
| 2 | #define __BFIN_ENTRY_H | 8 | #define __BFIN_ENTRY_H |
| 3 | 9 | ||
diff --git a/arch/blackfin/include/asm/fcntl.h b/arch/blackfin/include/asm/fcntl.h index 9c4037127857..8727b2b382f1 100644 --- a/arch/blackfin/include/asm/fcntl.h +++ b/arch/blackfin/include/asm/fcntl.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2004-2008 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the GPL-2 or later. | ||
| 5 | */ | ||
| 6 | |||
| 1 | #ifndef _BFIN_FCNTL_H | 7 | #ifndef _BFIN_FCNTL_H |
| 2 | #define _BFIN_FCNTL_H | 8 | #define _BFIN_FCNTL_H |
| 3 | 9 | ||
diff --git a/arch/blackfin/include/asm/fixed_code.h b/arch/blackfin/include/asm/fixed_code.h index 32c4d495d847..73fe53e7fd24 100644 --- a/arch/blackfin/include/asm/fixed_code.h +++ b/arch/blackfin/include/asm/fixed_code.h | |||
| @@ -1,5 +1,11 @@ | |||
| 1 | /* This file defines the fixed addresses where userspace programs can find | 1 | /* |
| 2 | atomic code sequences. */ | 2 | * This file defines the fixed addresses where userspace programs |
| 3 | * can find atomic code sequences. | ||
| 4 | * | ||
| 5 | * Copyright 2007-2008 Analog Devices Inc. | ||
| 6 | * | ||
| 7 | * Licensed under the GPL-2 or later. | ||
| 8 | */ | ||
| 3 | 9 | ||
| 4 | #ifndef __BFIN_ASM_FIXED_CODE_H__ | 10 | #ifndef __BFIN_ASM_FIXED_CODE_H__ |
| 5 | #define __BFIN_ASM_FIXED_CODE_H__ | 11 | #define __BFIN_ASM_FIXED_CODE_H__ |
diff --git a/arch/blackfin/include/asm/flat.h b/arch/blackfin/include/asm/flat.h index 733a178d782d..c1314c56dd18 100644 --- a/arch/blackfin/include/asm/flat.h +++ b/arch/blackfin/include/asm/flat.h | |||
| @@ -1,8 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * include/asm-blackfin/flat.h -- uClinux flat-format executables | 2 | * uClinux flat-format executables |
| 3 | * | 3 | * |
| 4 | * Copyright (C) 2003, | 4 | * Copyright 2003-2009 Analog Devices Inc. |
| 5 | * | 5 | * |
| 6 | * Licensed under the GPL-2 | ||
| 6 | */ | 7 | */ |
| 7 | 8 | ||
| 8 | #ifndef __BLACKFIN_FLAT_H__ | 9 | #ifndef __BLACKFIN_FLAT_H__ |
diff --git a/arch/blackfin/include/asm/gpio.h b/arch/blackfin/include/asm/gpio.h index fe139619351f..5b44d05ca53e 100644 --- a/arch/blackfin/include/asm/gpio.h +++ b/arch/blackfin/include/asm/gpio.h | |||
| @@ -1,30 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/kernel/bfin_gpio.h | 2 | * Copyright 2006-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: Michael Hennerich (hennerich@blackfin.uclinux.org) | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2004-2008 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 5 | */ |
| 29 | 6 | ||
| 30 | #ifndef __ARCH_BLACKFIN_GPIO_H__ | 7 | #ifndef __ARCH_BLACKFIN_GPIO_H__ |
diff --git a/arch/blackfin/include/asm/hardirq.h b/arch/blackfin/include/asm/hardirq.h index 0b78b873df51..c078dd78d998 100644 --- a/arch/blackfin/include/asm/hardirq.h +++ b/arch/blackfin/include/asm/hardirq.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2004-2009 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the GPL-2 or later. | ||
| 5 | */ | ||
| 6 | |||
| 1 | #ifndef __BFIN_HARDIRQ_H | 7 | #ifndef __BFIN_HARDIRQ_H |
| 2 | #define __BFIN_HARDIRQ_H | 8 | #define __BFIN_HARDIRQ_H |
| 3 | 9 | ||
diff --git a/arch/blackfin/include/asm/io.h b/arch/blackfin/include/asm/io.h index 37053eca200e..d1f5029189a7 100644 --- a/arch/blackfin/include/asm/io.h +++ b/arch/blackfin/include/asm/io.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2004-2009 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the GPL-2 or later. | ||
| 5 | */ | ||
| 6 | |||
| 1 | #ifndef _BFIN_IO_H | 7 | #ifndef _BFIN_IO_H |
| 2 | #define _BFIN_IO_H | 8 | #define _BFIN_IO_H |
| 3 | 9 | ||
diff --git a/arch/blackfin/include/asm/irq.h b/arch/blackfin/include/asm/irq.h index 42a15f5ce0d0..e7c0623f9091 100644 --- a/arch/blackfin/include/asm/irq.h +++ b/arch/blackfin/include/asm/irq.h | |||
| @@ -1,17 +1,10 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * This file is subject to the terms and conditions of the GNU General Public | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * License. See the file COPYING in the main directory of this archive | 3 | * 2003 HuTao |
| 4 | * for more details. | 4 | * 2002 Arcturus Networks Inc. (www.arcturusnetworks.com |
| 5 | * Ted Ma <mated@sympatico.ca> | ||
| 5 | * | 6 | * |
| 6 | * Changed by HuTao Apr18, 2003 | 7 | * Licensed under the GPL-2 |
| 7 | * | ||
| 8 | * Copyright was missing when I got the code so took from MIPS arch ...MaTed--- | ||
| 9 | * Copyright (C) 1994 by Waldorf GMBH, written by Ralf Baechle | ||
| 10 | * Copyright (C) 1995, 96, 97, 98, 99, 2000, 2001 by Ralf Baechle | ||
| 11 | * | ||
| 12 | * Adapted for BlackFin (ADI) by Ted Ma <mated@sympatico.ca> | ||
| 13 | * Copyright (c) 2002 Arcturus Networks Inc. (www.arcturusnetworks.com) | ||
| 14 | * Copyright (c) 2002 Lineo, Inc. <mattw@lineo.com> | ||
| 15 | */ | 8 | */ |
| 16 | 9 | ||
| 17 | #ifndef _BFIN_IRQ_H_ | 10 | #ifndef _BFIN_IRQ_H_ |
| @@ -19,6 +12,8 @@ | |||
| 19 | 12 | ||
| 20 | #include <linux/irqflags.h> | 13 | #include <linux/irqflags.h> |
| 21 | 14 | ||
| 15 | #include <mach/anomaly.h> | ||
| 16 | |||
| 22 | /* SYS_IRQS and NR_IRQS are defined in <mach-bf5xx/irq.h> */ | 17 | /* SYS_IRQS and NR_IRQS are defined in <mach-bf5xx/irq.h> */ |
| 23 | #include <mach/irq.h> | 18 | #include <mach/irq.h> |
| 24 | 19 | ||
diff --git a/arch/blackfin/include/asm/irq_handler.h b/arch/blackfin/include/asm/irq_handler.h index 7d9e2d3bbede..7fbe42307b9a 100644 --- a/arch/blackfin/include/asm/irq_handler.h +++ b/arch/blackfin/include/asm/irq_handler.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2007-2009 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the GPL-2 or later. | ||
| 5 | */ | ||
| 6 | |||
| 1 | #ifndef _IRQ_HANDLER_H | 7 | #ifndef _IRQ_HANDLER_H |
| 2 | #define _IRQ_HANDLER_H | 8 | #define _IRQ_HANDLER_H |
| 3 | 9 | ||
diff --git a/arch/blackfin/include/asm/l1layout.h b/arch/blackfin/include/asm/l1layout.h index 79dbefaa5bef..c87e68647a2b 100644 --- a/arch/blackfin/include/asm/l1layout.h +++ b/arch/blackfin/include/asm/l1layout.h | |||
| @@ -1,6 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * l1layout.h | ||
| 3 | * Defines a layout of L1 scratchpad memory that userspace can rely on. | 2 | * Defines a layout of L1 scratchpad memory that userspace can rely on. |
| 3 | * | ||
| 4 | * Copyright 2006-2008 Analog Devices Inc. | ||
| 5 | * | ||
| 6 | * Licensed under the GPL-2 or later. | ||
| 4 | */ | 7 | */ |
| 5 | 8 | ||
| 6 | #ifndef _L1LAYOUT_H_ | 9 | #ifndef _L1LAYOUT_H_ |
diff --git a/arch/blackfin/include/asm/linkage.h b/arch/blackfin/include/asm/linkage.h index 5a822bb790f7..f7d6d47a048d 100644 --- a/arch/blackfin/include/asm/linkage.h +++ b/arch/blackfin/include/asm/linkage.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2004-2009 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the GPL-2 or later. | ||
| 5 | */ | ||
| 6 | |||
| 1 | #ifndef __ASM_LINKAGE_H | 7 | #ifndef __ASM_LINKAGE_H |
| 2 | #define __ASM_LINKAGE_H | 8 | #define __ASM_LINKAGE_H |
| 3 | 9 | ||
diff --git a/arch/blackfin/include/asm/mmu.h b/arch/blackfin/include/asm/mmu.h index dbfd686360e6..26f6b70b11e2 100644 --- a/arch/blackfin/include/asm/mmu.h +++ b/arch/blackfin/include/asm/mmu.h | |||
| @@ -1,8 +1,13 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2004-2009 Analog Devices Inc. | ||
| 3 | * 2002 David McCullough <davidm@snapgear.com> | ||
| 4 | * | ||
| 5 | * Licensed under the GPL-2. | ||
| 6 | */ | ||
| 7 | |||
| 1 | #ifndef __MMU_H | 8 | #ifndef __MMU_H |
| 2 | #define __MMU_H | 9 | #define __MMU_H |
| 3 | 10 | ||
| 4 | /* Copyright (C) 2002, David McCullough <davidm@snapgear.com> */ | ||
| 5 | |||
| 6 | struct sram_list_struct { | 11 | struct sram_list_struct { |
| 7 | struct sram_list_struct *next; | 12 | struct sram_list_struct *next; |
| 8 | void *addr; | 13 | void *addr; |
diff --git a/arch/blackfin/include/asm/mmu_context.h b/arch/blackfin/include/asm/mmu_context.h index 040410bb07e1..4a3be376ad5b 100644 --- a/arch/blackfin/include/asm/mmu_context.h +++ b/arch/blackfin/include/asm/mmu_context.h | |||
| @@ -1,30 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mmu_context.h | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 5 | */ |
| 29 | 6 | ||
| 30 | #ifndef __BLACKFIN_MMU_CONTEXT_H__ | 7 | #ifndef __BLACKFIN_MMU_CONTEXT_H__ |
diff --git a/arch/blackfin/include/asm/module.h b/arch/blackfin/include/asm/module.h index e3128df139d6..9c1cfffddd9b 100644 --- a/arch/blackfin/include/asm/module.h +++ b/arch/blackfin/include/asm/module.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | Â * Copyright 2004-2008 Analog Devices Inc. | ||
| 3 | Â * | ||
| 4 | Â * Licensed under the GPL-2 or later. | ||
| 5 | Â */ | ||
| 6 | |||
| 1 | #ifndef _ASM_BFIN_MODULE_H | 7 | #ifndef _ASM_BFIN_MODULE_H |
| 2 | #define _ASM_BFIN_MODULE_H | 8 | #define _ASM_BFIN_MODULE_H |
| 3 | 9 | ||
diff --git a/arch/blackfin/include/asm/mutex.h b/arch/blackfin/include/asm/mutex.h index 5cc641c50834..f726e3a80ad0 100644 --- a/arch/blackfin/include/asm/mutex.h +++ b/arch/blackfin/include/asm/mutex.h | |||
| @@ -4,6 +4,10 @@ | |||
| 4 | * TODO: implement optimized primitives instead, or leave the generic | 4 | * TODO: implement optimized primitives instead, or leave the generic |
| 5 | * implementation in place, or pick the atomic_xchg() based generic | 5 | * implementation in place, or pick the atomic_xchg() based generic |
| 6 | * implementation. (see asm-generic/mutex-xchg.h for details) | 6 | * implementation. (see asm-generic/mutex-xchg.h for details) |
| 7 | * | ||
| 8 | * Copyright 2006-2009 Analog Devices Inc. | ||
| 9 | * | ||
| 10 | * Licensed under the GPL-2 or later. | ||
| 7 | */ | 11 | */ |
| 8 | 12 | ||
| 9 | #ifndef _ASM_MUTEX_H | 13 | #ifndef _ASM_MUTEX_H |
diff --git a/arch/blackfin/include/asm/nand.h b/arch/blackfin/include/asm/nand.h index afbaafa793f1..3ae8b569edfc 100644 --- a/arch/blackfin/include/asm/nand.h +++ b/arch/blackfin/include/asm/nand.h | |||
| @@ -1,13 +1,9 @@ | |||
| 1 | /* linux/include/asm-blackfin/nand.h | 1 | /* |
| 2 | * | ||
| 3 | * Copyright (c) 2007 Analog Devices, Inc. | ||
| 4 | * Bryan Wu <bryan.wu@analog.com> | ||
| 5 | * | ||
| 6 | * BF5XX - NAND flash controller platfrom_device info | 2 | * BF5XX - NAND flash controller platfrom_device info |
| 7 | * | 3 | * |
| 8 | * This program is free software; you can redistribute it and/or modify | 4 | * Copyright 2007-2008 Analog Devices, Inc. |
| 9 | * it under the terms of the GNU General Public License version 2 as | 5 | * |
| 10 | * published by the Free Software Foundation. | 6 | * Licensed under the GPL-2 |
| 11 | */ | 7 | */ |
| 12 | 8 | ||
| 13 | /* struct bf5xx_nand_platform | 9 | /* struct bf5xx_nand_platform |
diff --git a/arch/blackfin/include/asm/page.h b/arch/blackfin/include/asm/page.h index 29dcf75c6112..944a07c6cfd6 100644 --- a/arch/blackfin/include/asm/page.h +++ b/arch/blackfin/include/asm/page.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | Â * Copyright 2004-2009 Analog Devices Inc. | ||
| 3 | Â * | ||
| 4 | Â * Licensed under the GPL-2 or later. | ||
| 5 | Â */ | ||
| 6 | |||
| 1 | #ifndef _BLACKFIN_PAGE_H | 7 | #ifndef _BLACKFIN_PAGE_H |
| 2 | #define _BLACKFIN_PAGE_H | 8 | #define _BLACKFIN_PAGE_H |
| 3 | 9 | ||
diff --git a/arch/blackfin/include/asm/page_offset.h b/arch/blackfin/include/asm/page_offset.h index cbaff24b4b25..d06a89b89d20 100644 --- a/arch/blackfin/include/asm/page_offset.h +++ b/arch/blackfin/include/asm/page_offset.h | |||
| @@ -1,5 +1,10 @@ | |||
| 1 | 1 | /* | |
| 2 | /* This handles the memory map.. */ | 2 | * This handles the memory map |
| 3 | * | ||
| 4 | * Copyright 2004-2008 Analog Devices Inc. | ||
| 5 | * | ||
| 6 | * Licensed under the GPL-2 or later. | ||
| 7 | */ | ||
| 3 | 8 | ||
| 4 | #ifdef CONFIG_BLACKFIN | 9 | #ifdef CONFIG_BLACKFIN |
| 5 | #define PAGE_OFFSET_RAW 0x00000000 | 10 | #define PAGE_OFFSET_RAW 0x00000000 |
diff --git a/arch/blackfin/include/asm/pda.h b/arch/blackfin/include/asm/pda.h index a6f95695731d..d49bb261d9b7 100644 --- a/arch/blackfin/include/asm/pda.h +++ b/arch/blackfin/include/asm/pda.h | |||
| @@ -1,23 +1,8 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/include/asm/pda.h | 2 | * Copyright 2007-2009 Analog Devices Inc. |
| 3 | * Author: Philippe Gerum <rpm@xenomai.org> | 3 | * Philippe Gerum <rpm@xenomai.org> |
| 4 | * | 4 | * |
| 5 | * Copyright 2007 Analog Devices Inc. | 5 | * Licensed under the GPL-2 or later. |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License as published by | ||
| 9 | * the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program; if not, see the file COPYING, or write | ||
| 19 | * to the Free Software Foundation, Inc., | ||
| 20 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 21 | */ | 6 | */ |
| 22 | 7 | ||
| 23 | #ifndef _ASM_BLACKFIN_PDA_H | 8 | #ifndef _ASM_BLACKFIN_PDA_H |
diff --git a/arch/blackfin/include/asm/pgtable.h b/arch/blackfin/include/asm/pgtable.h index 783c8f7f8f8c..821c699c2238 100644 --- a/arch/blackfin/include/asm/pgtable.h +++ b/arch/blackfin/include/asm/pgtable.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2004-2009 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the GPL-2 or later. | ||
| 5 | */ | ||
| 6 | |||
| 1 | #ifndef _BLACKFIN_PGTABLE_H | 7 | #ifndef _BLACKFIN_PGTABLE_H |
| 2 | #define _BLACKFIN_PGTABLE_H | 8 | #define _BLACKFIN_PGTABLE_H |
| 3 | 9 | ||
| @@ -92,6 +98,12 @@ extern unsigned int kobjsize(const void *objp); | |||
| 92 | #define VMALLOC_START 0 | 98 | #define VMALLOC_START 0 |
| 93 | #define VMALLOC_END 0xffffffff | 99 | #define VMALLOC_END 0xffffffff |
| 94 | 100 | ||
| 101 | /* provide a special get_unmapped_area for framebuffer mmaps of nommu */ | ||
| 102 | extern unsigned long get_fb_unmapped_area(struct file *filp, unsigned long, | ||
| 103 | unsigned long, unsigned long, | ||
| 104 | unsigned long); | ||
| 105 | #define HAVE_ARCH_FB_UNMAPPED_AREA | ||
| 106 | |||
| 95 | #include <asm-generic/pgtable.h> | 107 | #include <asm-generic/pgtable.h> |
| 96 | 108 | ||
| 97 | #endif /* _BLACKFIN_PGTABLE_H */ | 109 | #endif /* _BLACKFIN_PGTABLE_H */ |
diff --git a/arch/blackfin/include/asm/poll.h b/arch/blackfin/include/asm/poll.h index a0556671357b..072d8966c5c3 100644 --- a/arch/blackfin/include/asm/poll.h +++ b/arch/blackfin/include/asm/poll.h | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2004-2009 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the GPL-2 or later. | ||
| 5 | * | ||
| 6 | */ | ||
| 7 | |||
| 1 | #ifndef __BFIN_POLL_H | 8 | #ifndef __BFIN_POLL_H |
| 2 | #define __BFIN_POLL_H | 9 | #define __BFIN_POLL_H |
| 3 | 10 | ||
diff --git a/arch/blackfin/include/asm/portmux.h b/arch/blackfin/include/asm/portmux.h index 88eb5c07cc24..edd8ef3a3788 100644 --- a/arch/blackfin/include/asm/portmux.h +++ b/arch/blackfin/include/asm/portmux.h | |||
| @@ -1,6 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Common header file for blackfin family of processors. | 2 | * Common header file for Blackfin family of processors |
| 3 | * | 3 | * |
| 4 | Â * Copyright 2007-2008 Analog Devices Inc. | ||
| 5 | Â * | ||
| 6 | Â * Licensed under the GPL-2 or later. | ||
| 4 | */ | 7 | */ |
| 5 | 8 | ||
| 6 | #ifndef _PORTMUX_H_ | 9 | #ifndef _PORTMUX_H_ |
diff --git a/arch/blackfin/include/asm/posix_types.h b/arch/blackfin/include/asm/posix_types.h index 80c9d64eb26c..41bc1875c4d7 100644 --- a/arch/blackfin/include/asm/posix_types.h +++ b/arch/blackfin/include/asm/posix_types.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2004-2009 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the GPL-2 or later. | ||
| 5 | */ | ||
| 6 | |||
| 1 | #ifndef __ARCH_BFIN_POSIX_TYPES_H | 7 | #ifndef __ARCH_BFIN_POSIX_TYPES_H |
| 2 | #define __ARCH_BFIN_POSIX_TYPES_H | 8 | #define __ARCH_BFIN_POSIX_TYPES_H |
| 3 | 9 | ||
diff --git a/arch/blackfin/include/asm/processor.h b/arch/blackfin/include/asm/processor.h index a36ad8dac068..aea880274de7 100644 --- a/arch/blackfin/include/asm/processor.h +++ b/arch/blackfin/include/asm/processor.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2004-2009 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the GPL-2 or later. | ||
| 5 | */ | ||
| 6 | |||
| 1 | #ifndef __ASM_BFIN_PROCESSOR_H | 7 | #ifndef __ASM_BFIN_PROCESSOR_H |
| 2 | #define __ASM_BFIN_PROCESSOR_H | 8 | #define __ASM_BFIN_PROCESSOR_H |
| 3 | 9 | ||
diff --git a/arch/blackfin/include/asm/ptrace.h b/arch/blackfin/include/asm/ptrace.h index e3f086dc7268..27290c955a7a 100644 --- a/arch/blackfin/include/asm/ptrace.h +++ b/arch/blackfin/include/asm/ptrace.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2004-2008 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the GPL-2 or later. | ||
| 5 | */ | ||
| 6 | |||
| 1 | #ifndef _BFIN_PTRACE_H | 7 | #ifndef _BFIN_PTRACE_H |
| 2 | #define _BFIN_PTRACE_H | 8 | #define _BFIN_PTRACE_H |
| 3 | 9 | ||
diff --git a/arch/blackfin/include/asm/sections.h b/arch/blackfin/include/asm/sections.h index ae4dae1e370b..1f5381fbb4a7 100644 --- a/arch/blackfin/include/asm/sections.h +++ b/arch/blackfin/include/asm/sections.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | Â * Copyright 2004-2009 Analog Devices Inc. | ||
| 3 | Â * | ||
| 4 | Â * Licensed under the GPL-2 or later. | ||
| 5 | Â */ | ||
| 6 | |||
| 1 | #ifndef _BLACKFIN_SECTIONS_H | 7 | #ifndef _BLACKFIN_SECTIONS_H |
| 2 | #define _BLACKFIN_SECTIONS_H | 8 | #define _BLACKFIN_SECTIONS_H |
| 3 | 9 | ||
diff --git a/arch/blackfin/include/asm/segment.h b/arch/blackfin/include/asm/segment.h index 02cfd09b5a99..f8e1984ffc7e 100644 --- a/arch/blackfin/include/asm/segment.h +++ b/arch/blackfin/include/asm/segment.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2004-2008 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the GPL-2 or later. | ||
| 5 | */ | ||
| 6 | |||
| 1 | #ifndef _BFIN_SEGMENT_H | 7 | #ifndef _BFIN_SEGMENT_H |
| 2 | #define _BFIN_SEGMENT_H | 8 | #define _BFIN_SEGMENT_H |
| 3 | 9 | ||
diff --git a/arch/blackfin/include/asm/sigcontext.h b/arch/blackfin/include/asm/sigcontext.h index ce00b03c2775..ce4081a4d815 100644 --- a/arch/blackfin/include/asm/sigcontext.h +++ b/arch/blackfin/include/asm/sigcontext.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | Â * Copyright 2004-2008 Analog Devices Inc. | ||
| 3 | Â * | ||
| 4 | Â * Licensed under the GPL-2 or later. | ||
| 5 | Â */ | ||
| 6 | |||
| 1 | #ifndef _ASM_BLACKFIN_SIGCONTEXT_H | 7 | #ifndef _ASM_BLACKFIN_SIGCONTEXT_H |
| 2 | #define _ASM_BLACKFIN_SIGCONTEXT_H | 8 | #define _ASM_BLACKFIN_SIGCONTEXT_H |
| 3 | 9 | ||
diff --git a/arch/blackfin/include/asm/siginfo.h b/arch/blackfin/include/asm/siginfo.h index eca4565cea37..3e81306394e2 100644 --- a/arch/blackfin/include/asm/siginfo.h +++ b/arch/blackfin/include/asm/siginfo.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2004-2008 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the GPL-2 or later. | ||
| 5 | */ | ||
| 6 | |||
| 1 | #ifndef _BFIN_SIGINFO_H | 7 | #ifndef _BFIN_SIGINFO_H |
| 2 | #define _BFIN_SIGINFO_H | 8 | #define _BFIN_SIGINFO_H |
| 3 | 9 | ||
diff --git a/arch/blackfin/include/asm/smp.h b/arch/blackfin/include/asm/smp.h index 118deeeae7c0..6a0fe94b84a6 100644 --- a/arch/blackfin/include/asm/smp.h +++ b/arch/blackfin/include/asm/smp.h | |||
| @@ -1,23 +1,8 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/include/asm/smp.h | 2 | * Copyright 2007-2009 Analog Devices Inc. |
| 3 | * Author: Philippe Gerum <rpm@xenomai.org> | 3 | * Philippe Gerum <rpm@xenomai.org> |
| 4 | * | 4 | * |
| 5 | * Copyright 2007 Analog Devices Inc. | 5 | * Licensed under the GPL-2 or later. |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License as published by | ||
| 9 | * the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program; if not, see the file COPYING, or write | ||
| 19 | * to the Free Software Foundation, Inc., | ||
| 20 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 21 | */ | 6 | */ |
| 22 | 7 | ||
| 23 | #ifndef __ASM_BLACKFIN_SMP_H | 8 | #ifndef __ASM_BLACKFIN_SMP_H |
diff --git a/arch/blackfin/include/asm/spinlock.h b/arch/blackfin/include/asm/spinlock.h index d6ff4b59fcb1..b0c7f0ee4b03 100644 --- a/arch/blackfin/include/asm/spinlock.h +++ b/arch/blackfin/include/asm/spinlock.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | Â * Copyright 2004-2009 Analog Devices Inc. | ||
| 3 | Â * | ||
| 4 | Â * Licensed under the GPL-2 or later. | ||
| 5 | Â */ | ||
| 6 | |||
| 1 | #ifndef __BFIN_SPINLOCK_H | 7 | #ifndef __BFIN_SPINLOCK_H |
| 2 | #define __BFIN_SPINLOCK_H | 8 | #define __BFIN_SPINLOCK_H |
| 3 | 9 | ||
diff --git a/arch/blackfin/include/asm/spinlock_types.h b/arch/blackfin/include/asm/spinlock_types.h index b1e3c4c7b382..be75762c0610 100644 --- a/arch/blackfin/include/asm/spinlock_types.h +++ b/arch/blackfin/include/asm/spinlock_types.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2008 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the GPL-2 or later. | ||
| 5 | */ | ||
| 6 | |||
| 1 | #ifndef __ASM_SPINLOCK_TYPES_H | 7 | #ifndef __ASM_SPINLOCK_TYPES_H |
| 2 | #define __ASM_SPINLOCK_TYPES_H | 8 | #define __ASM_SPINLOCK_TYPES_H |
| 3 | 9 | ||
diff --git a/arch/blackfin/include/asm/stat.h b/arch/blackfin/include/asm/stat.h index d2b6f11ec231..2e27665c4e91 100644 --- a/arch/blackfin/include/asm/stat.h +++ b/arch/blackfin/include/asm/stat.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the GPL-2. | ||
| 5 | */ | ||
| 6 | |||
| 1 | #ifndef _BFIN_STAT_H | 7 | #ifndef _BFIN_STAT_H |
| 2 | #define _BFIN_STAT_H | 8 | #define _BFIN_STAT_H |
| 3 | 9 | ||
diff --git a/arch/blackfin/include/asm/string.h b/arch/blackfin/include/asm/string.h index 321f4d96e4ae..d7f0ccb418c3 100644 --- a/arch/blackfin/include/asm/string.h +++ b/arch/blackfin/include/asm/string.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2004-2008 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the GPL-2 or later. | ||
| 5 | */ | ||
| 6 | |||
| 1 | #ifndef _BLACKFIN_STRING_H_ | 7 | #ifndef _BLACKFIN_STRING_H_ |
| 2 | #define _BLACKFIN_STRING_H_ | 8 | #define _BLACKFIN_STRING_H_ |
| 3 | 9 | ||
diff --git a/arch/blackfin/include/asm/swab.h b/arch/blackfin/include/asm/swab.h index d442113de515..89de6507ca2b 100644 --- a/arch/blackfin/include/asm/swab.h +++ b/arch/blackfin/include/asm/swab.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2009 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the GPL-2 or later. | ||
| 5 | */ | ||
| 6 | |||
| 1 | #ifndef _BLACKFIN_SWAB_H | 7 | #ifndef _BLACKFIN_SWAB_H |
| 2 | #define _BLACKFIN_SWAB_H | 8 | #define _BLACKFIN_SWAB_H |
| 3 | 9 | ||
diff --git a/arch/blackfin/include/asm/system.h b/arch/blackfin/include/asm/system.h index 85e8f16cf8c2..dde19b1d25f5 100644 --- a/arch/blackfin/include/asm/system.h +++ b/arch/blackfin/include/asm/system.h | |||
| @@ -1,34 +1,8 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm/system.h | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: | 3 | * Tony Kou (tonyko@lineo.ca) |
| 4 | * Author: Tony Kou (tonyko@lineo.ca) | ||
| 5 | * Copyright (c) 2002 Arcturus Networks Inc. | ||
| 6 | * (www.arcturusnetworks.com) | ||
| 7 | * Copyright (c) 2003 Metrowerks (www.metrowerks.com) | ||
| 8 | * Copyright (c) 2004 Analog Device Inc. | ||
| 9 | * Created: 25Jan2001 - Tony Kou | ||
| 10 | * Description: system.h include file | ||
| 11 | * | 4 | * |
| 12 | * Modified: 22Sep2006 - Robin Getz | 5 | * Licensed under the GPL-2 or later |
| 13 | * - move include blackfin.h down, so I can get access to | ||
| 14 | * irq functions in other include files. | ||
| 15 | * | ||
| 16 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 17 | * | ||
| 18 | * This program is free software; you can redistribute it and/or modify | ||
| 19 | * it under the terms of the GNU General Public License as published by | ||
| 20 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 21 | * any later version. | ||
| 22 | * | ||
| 23 | * This program is distributed in the hope that it will be useful, | ||
| 24 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 25 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 26 | * GNU General Public License for more details. | ||
| 27 | * | ||
| 28 | * You should have received a copy of the GNU General Public License | ||
| 29 | * along with this program; see the file COPYING. | ||
| 30 | * If not, write to the Free Software Foundation, | ||
| 31 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 32 | */ | 6 | */ |
| 33 | 7 | ||
| 34 | #ifndef _BLACKFIN_SYSTEM_H | 8 | #ifndef _BLACKFIN_SYSTEM_H |
diff --git a/arch/blackfin/include/asm/thread_info.h b/arch/blackfin/include/asm/thread_info.h index 2bbfdd950afc..afb3a8626380 100644 --- a/arch/blackfin/include/asm/thread_info.h +++ b/arch/blackfin/include/asm/thread_info.h | |||
| @@ -1,27 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/thread_info.h | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: include/asm-m68knommu/thread_info.h | ||
| 4 | * Author: LG Soft India | ||
| 5 | * Copyright (C) 2004-2005 Analog Devices Inc. | ||
| 6 | * Created: Tue Sep 21 2004 | ||
| 7 | * Description: Blackfin low-level thread information | ||
| 8 | * Modified: | ||
| 9 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 10 | * | 3 | * |
| 11 | * This program is free software; you can redistribute it and/or modify | 4 | * Licensed under the GPL-2 or later. |
| 12 | * it under the terms of the GNU General Public License as published by | ||
| 13 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 14 | * any later version. | ||
| 15 | * | ||
| 16 | * This program is distributed in the hope that it will be useful, | ||
| 17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 19 | * GNU General Public License for more details. | ||
| 20 | * | ||
| 21 | * You should have received a copy of the GNU General Public License | ||
| 22 | * along with this program; see the file COPYING. | ||
| 23 | * If not, write to the Free Software Foundation, | ||
| 24 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 25 | */ | 5 | */ |
| 26 | 6 | ||
| 27 | #ifndef _ASM_THREAD_INFO_H | 7 | #ifndef _ASM_THREAD_INFO_H |
diff --git a/arch/blackfin/include/asm/tlb.h b/arch/blackfin/include/asm/tlb.h index 89a12ee916d8..a74ae08af1a7 100644 --- a/arch/blackfin/include/asm/tlb.h +++ b/arch/blackfin/include/asm/tlb.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2004-2008 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the GPL-2 or later. | ||
| 5 | */ | ||
| 6 | |||
| 1 | #ifndef _BLACKFIN_TLB_H | 7 | #ifndef _BLACKFIN_TLB_H |
| 2 | #define _BLACKFIN_TLB_H | 8 | #define _BLACKFIN_TLB_H |
| 3 | 9 | ||
diff --git a/arch/blackfin/include/asm/trace.h b/arch/blackfin/include/asm/trace.h index 312b596b9731..609ad3c84189 100644 --- a/arch/blackfin/include/asm/trace.h +++ b/arch/blackfin/include/asm/trace.h | |||
| @@ -1,6 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Common header file for blackfin family of processors. | 2 | * header file for hardware trace functions |
| 3 | * | 3 | * |
| 4 | * Copyright 2007-2008 Analog Devices Inc. | ||
| 5 | * | ||
| 6 | * Licensed under the GPL-2 or later. | ||
| 4 | */ | 7 | */ |
| 5 | 8 | ||
| 6 | #ifndef _BLACKFIN_TRACE_ | 9 | #ifndef _BLACKFIN_TRACE_ |
diff --git a/arch/blackfin/include/asm/traps.h b/arch/blackfin/include/asm/traps.h index 3cdc454cde23..9fe0da612c09 100644 --- a/arch/blackfin/include/asm/traps.h +++ b/arch/blackfin/include/asm/traps.h | |||
| @@ -1,13 +1,10 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * linux/include/asm/traps.h | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * 2001 Lineo, Inc | ||
| 4 | * Tony Kou | ||
| 5 | * 1993 Hamish Macdonald | ||
| 3 | * | 6 | * |
| 4 | * Copyright (C) 1993 Hamish Macdonald | 7 | * Licensed under the GPL-2 |
| 5 | * | ||
| 6 | * Lineo, Inc Jul 2001 Tony Kou | ||
| 7 | * | ||
| 8 | * This file is subject to the terms and conditions of the GNU General Public | ||
| 9 | * License. See the file COPYING in the main directory of this archive | ||
| 10 | * for more details. | ||
| 11 | */ | 8 | */ |
| 12 | 9 | ||
| 13 | #ifndef _BFIN_TRAPS_H | 10 | #ifndef _BFIN_TRAPS_H |
diff --git a/arch/blackfin/include/asm/uaccess.h b/arch/blackfin/include/asm/uaccess.h index 2f469a1f80fb..c03b8532aad3 100644 --- a/arch/blackfin/include/asm/uaccess.h +++ b/arch/blackfin/include/asm/uaccess.h | |||
| @@ -1,4 +1,7 @@ | |||
| 1 | /* Changes made by Lineo Inc. May 2001 | 1 | /* |
| 2 | * Copyright 2004-2009 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the GPL-2 or later. | ||
| 2 | * | 5 | * |
| 3 | * Based on: include/asm-m68knommu/uaccess.h | 6 | * Based on: include/asm-m68knommu/uaccess.h |
| 4 | */ | 7 | */ |
diff --git a/arch/blackfin/include/asm/unistd.h b/arch/blackfin/include/asm/unistd.h index 02b1529dad57..779be02a910a 100644 --- a/arch/blackfin/include/asm/unistd.h +++ b/arch/blackfin/include/asm/unistd.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2004-2009 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the GPL-2 or later. | ||
| 5 | */ | ||
| 6 | |||
| 1 | #ifndef __ASM_BFIN_UNISTD_H | 7 | #ifndef __ASM_BFIN_UNISTD_H |
| 2 | #define __ASM_BFIN_UNISTD_H | 8 | #define __ASM_BFIN_UNISTD_H |
| 3 | /* | 9 | /* |
diff --git a/arch/blackfin/kernel/asm-offsets.c b/arch/blackfin/kernel/asm-offsets.c index f05d1b99b0ef..bd32c09b9349 100644 --- a/arch/blackfin/kernel/asm-offsets.c +++ b/arch/blackfin/kernel/asm-offsets.c | |||
| @@ -1,30 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/kernel/asm-offsets.c | 2 | * generate definitions needed by assembly language modules |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Copyright 2004-2009 Analog Devices Inc. |
| 7 | * Description: generate definitions needed by assembly language modules. | ||
| 8 | * | 5 | * |
| 9 | * Modified: | 6 | * Licensed under the GPL-2 or later |
| 10 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 7 | */ |
| 29 | 8 | ||
| 30 | #include <linux/stddef.h> | 9 | #include <linux/stddef.h> |
diff --git a/arch/blackfin/kernel/bfin_dma_5xx.c b/arch/blackfin/kernel/bfin_dma_5xx.c index 384868dedac3..1f170216d2f9 100644 --- a/arch/blackfin/kernel/bfin_dma_5xx.c +++ b/arch/blackfin/kernel/bfin_dma_5xx.c | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | * bfin_dma_5xx.c - Blackfin DMA implementation | 2 | * bfin_dma_5xx.c - Blackfin DMA implementation |
| 3 | * | 3 | * |
| 4 | * Copyright 2004-2008 Analog Devices Inc. | 4 | * Copyright 2004-2008 Analog Devices Inc. |
| 5 | * | ||
| 5 | * Licensed under the GPL-2 or later. | 6 | * Licensed under the GPL-2 or later. |
| 6 | */ | 7 | */ |
| 7 | 8 | ||
diff --git a/arch/blackfin/kernel/bfin_gpio.c b/arch/blackfin/kernel/bfin_gpio.c index fc4681c0170e..22705eeff34f 100644 --- a/arch/blackfin/kernel/bfin_gpio.c +++ b/arch/blackfin/kernel/bfin_gpio.c | |||
| @@ -1,30 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/kernel/bfin_gpio.c | 2 | * GPIO Abstraction Layer |
| 3 | * Based on: | ||
| 4 | * Author: Michael Hennerich (hennerich@blackfin.uclinux.org) | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Copyright 2006-2009 Analog Devices Inc. |
| 7 | * Description: GPIO Abstraction Layer | ||
| 8 | * | 5 | * |
| 9 | * Modified: | 6 | * Licensed under the GPL-2 or later |
| 10 | * Copyright 2008 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 7 | */ |
| 29 | 8 | ||
| 30 | #include <linux/delay.h> | 9 | #include <linux/delay.h> |
diff --git a/arch/blackfin/kernel/cplb-mpu/cplbinit.c b/arch/blackfin/kernel/cplb-mpu/cplbinit.c index 36193eed9a1f..f7b9cdce8239 100644 --- a/arch/blackfin/kernel/cplb-mpu/cplbinit.c +++ b/arch/blackfin/kernel/cplb-mpu/cplbinit.c | |||
| @@ -1,25 +1,11 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Blackfin CPLB initialization | 2 | * Blackfin CPLB initialization |
| 3 | * | 3 | * |
| 4 | * Copyright 2004-2007 Analog Devices Inc. | 4 | * Copyright 2008-2009 Analog Devices Inc. |
| 5 | * | 5 | * |
| 6 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | 6 | * Licensed under the GPL-2 or later. |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify | ||
| 9 | * it under the terms of the GNU General Public License as published by | ||
| 10 | * the Free Software Foundation; either version 2 of the License, or | ||
| 11 | * (at your option) any later version. | ||
| 12 | * | ||
| 13 | * This program is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program; if not, see the file COPYING, or write | ||
| 20 | * to the Free Software Foundation, Inc., | ||
| 21 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 22 | */ | 7 | */ |
| 8 | |||
| 23 | #include <linux/module.h> | 9 | #include <linux/module.h> |
| 24 | 10 | ||
| 25 | #include <asm/blackfin.h> | 11 | #include <asm/blackfin.h> |
diff --git a/arch/blackfin/kernel/cplb-mpu/cplbmgr.c b/arch/blackfin/kernel/cplb-mpu/cplbmgr.c index 8e1e9e9e9632..69e0e530d70f 100644 --- a/arch/blackfin/kernel/cplb-mpu/cplbmgr.c +++ b/arch/blackfin/kernel/cplb-mpu/cplbmgr.c | |||
| @@ -1,22 +1,11 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Blackfin CPLB exception handling. | 2 | * Blackfin CPLB exception handling for when MPU in on |
| 3 | * Copyright 2004-2007 Analog Devices Inc. | ||
| 4 | * | 3 | * |
| 5 | * This program is free software; you can redistribute it and/or modify | 4 | * Copyright 2008-2009 Analog Devices Inc. |
| 6 | * it under the terms of the GNU General Public License as published by | ||
| 7 | * the Free Software Foundation; either version 2 of the License, or | ||
| 8 | * (at your option) any later version. | ||
| 9 | * | 5 | * |
| 10 | * This program is distributed in the hope that it will be useful, | 6 | * Licensed under the GPL-2 or later. |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | * GNU General Public License for more details. | ||
| 14 | * | ||
| 15 | * You should have received a copy of the GNU General Public License | ||
| 16 | * along with this program; if not, see the file COPYING, or write | ||
| 17 | * to the Free Software Foundation, Inc., | ||
| 18 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 19 | */ | 7 | */ |
| 8 | |||
| 20 | #include <linux/module.h> | 9 | #include <linux/module.h> |
| 21 | #include <linux/mm.h> | 10 | #include <linux/mm.h> |
| 22 | 11 | ||
diff --git a/arch/blackfin/kernel/cplb-nompu/cplbinit.c b/arch/blackfin/kernel/cplb-nompu/cplbinit.c index 5d8ad503f82a..fd9a2f31e686 100644 --- a/arch/blackfin/kernel/cplb-nompu/cplbinit.c +++ b/arch/blackfin/kernel/cplb-nompu/cplbinit.c | |||
| @@ -1,24 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Blackfin CPLB initialization | 2 | * Blackfin CPLB initialization |
| 3 | * | 3 | * |
| 4 | * Copyright 2004-2007 Analog Devices Inc. | 4 | * Copyright 2007-2009 Analog Devices Inc. |
| 5 | * | 5 | * |
| 6 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | 6 | * Licensed under the GPL-2 or later. |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify | ||
| 9 | * it under the terms of the GNU General Public License as published by | ||
| 10 | * the Free Software Foundation; either version 2 of the License, or | ||
| 11 | * (at your option) any later version. | ||
| 12 | * | ||
| 13 | * This program is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program; if not, see the file COPYING, or write | ||
| 20 | * to the Free Software Foundation, Inc., | ||
| 21 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 22 | */ | 7 | */ |
| 23 | 8 | ||
| 24 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/arch/blackfin/kernel/cplb-nompu/cplbmgr.c b/arch/blackfin/kernel/cplb-nompu/cplbmgr.c index d9ea46c6e41a..5b88861d6183 100644 --- a/arch/blackfin/kernel/cplb-nompu/cplbmgr.c +++ b/arch/blackfin/kernel/cplb-nompu/cplbmgr.c | |||
| @@ -1,26 +1,14 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/kernel/cplb-nompu-c/cplbmgr.c | ||
| 3 | * Based on: arch/blackfin/kernel/cplb-mpu/cplbmgr.c | 2 | * Based on: arch/blackfin/kernel/cplb-mpu/cplbmgr.c |
| 4 | * Author: Michael McTernan <mmcternan@airvana.com> | 3 | * Author: Michael McTernan <mmcternan@airvana.com> |
| 5 | * | 4 | * |
| 6 | * Created: 01Nov2008 | ||
| 7 | * Description: CPLB miss handler. | 5 | * Description: CPLB miss handler. |
| 8 | * | 6 | * |
| 9 | * Modified: | 7 | * Modified: |
| 10 | * Copyright 2008 Airvana Inc. | 8 | * Copyright 2008 Airvana Inc. |
| 11 | * Copyright 2004-2007 Analog Devices Inc. | 9 | * Copyright 2008-2009 Analog Devices Inc. |
| 12 | * | 10 | * |
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | 11 | * Licensed under the GPL-2 or later |
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2 of the License, or | ||
| 18 | * (at your option) any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | */ | 12 | */ |
| 25 | 13 | ||
| 26 | #include <linux/kernel.h> | 14 | #include <linux/kernel.h> |
diff --git a/arch/blackfin/kernel/cplbinfo.c b/arch/blackfin/kernel/cplbinfo.c index 64d78300dd08..0bdaa517a501 100644 --- a/arch/blackfin/kernel/cplbinfo.c +++ b/arch/blackfin/kernel/cplbinfo.c | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | * arch/blackfin/kernel/cplbinfo.c - display CPLB status | 2 | * arch/blackfin/kernel/cplbinfo.c - display CPLB status |
| 3 | * | 3 | * |
| 4 | * Copyright 2004-2008 Analog Devices Inc. | 4 | * Copyright 2004-2008 Analog Devices Inc. |
| 5 | * | ||
| 5 | * Licensed under the GPL-2 or later. | 6 | * Licensed under the GPL-2 or later. |
| 6 | */ | 7 | */ |
| 7 | 8 | ||
| @@ -111,24 +112,21 @@ static const struct seq_operations cplbinfo_sops = { | |||
| 111 | .show = cplbinfo_show, | 112 | .show = cplbinfo_show, |
| 112 | }; | 113 | }; |
| 113 | 114 | ||
| 115 | #define CPLBINFO_DCPLB_FLAG 0x80000000 | ||
| 116 | |||
| 114 | static int cplbinfo_open(struct inode *inode, struct file *file) | 117 | static int cplbinfo_open(struct inode *inode, struct file *file) |
| 115 | { | 118 | { |
| 116 | char buf[256], *path, *p; | 119 | struct proc_dir_entry *pde = PDE(file->f_path.dentry->d_inode); |
| 120 | char cplb_type; | ||
| 117 | unsigned int cpu; | 121 | unsigned int cpu; |
| 118 | char *s_cpu, *s_cplb; | ||
| 119 | int ret; | 122 | int ret; |
| 120 | struct seq_file *m; | 123 | struct seq_file *m; |
| 121 | struct cplbinfo_data *cdata; | 124 | struct cplbinfo_data *cdata; |
| 122 | 125 | ||
| 123 | path = d_path(&file->f_path, buf, sizeof(buf)); | 126 | cpu = (unsigned int)pde->data; |
| 124 | if (IS_ERR(path)) | 127 | cplb_type = cpu & CPLBINFO_DCPLB_FLAG ? 'D' : 'I'; |
| 125 | return PTR_ERR(path); | 128 | cpu &= ~CPLBINFO_DCPLB_FLAG; |
| 126 | s_cpu = strstr(path, "/cpu"); | ||
| 127 | s_cplb = strrchr(path, '/'); | ||
| 128 | if (!s_cpu || !s_cplb) | ||
| 129 | return -EINVAL; | ||
| 130 | 129 | ||
| 131 | cpu = simple_strtoul(s_cpu + 4, &p, 10); | ||
| 132 | if (!cpu_online(cpu)) | 130 | if (!cpu_online(cpu)) |
| 133 | return -ENODEV; | 131 | return -ENODEV; |
| 134 | 132 | ||
| @@ -139,7 +137,7 @@ static int cplbinfo_open(struct inode *inode, struct file *file) | |||
| 139 | cdata = m->private; | 137 | cdata = m->private; |
| 140 | 138 | ||
| 141 | cdata->pos = 0; | 139 | cdata->pos = 0; |
| 142 | cdata->cplb_type = toupper(s_cplb[1]); | 140 | cdata->cplb_type = cplb_type; |
| 143 | cplbinfo_seq_init(cdata, cpu); | 141 | cplbinfo_seq_init(cdata, cpu); |
| 144 | 142 | ||
| 145 | return 0; | 143 | return 0; |
| @@ -168,8 +166,10 @@ static int __init cplbinfo_init(void) | |||
| 168 | if (!cpu_dir) | 166 | if (!cpu_dir) |
| 169 | return -ENOMEM; | 167 | return -ENOMEM; |
| 170 | 168 | ||
| 171 | proc_create("icplb", S_IRUGO, cpu_dir, &cplbinfo_fops); | 169 | proc_create_data("icplb", S_IRUGO, cpu_dir, &cplbinfo_fops, |
| 172 | proc_create("dcplb", S_IRUGO, cpu_dir, &cplbinfo_fops); | 170 | (void *)cpu); |
| 171 | proc_create_data("dcplb", S_IRUGO, cpu_dir, &cplbinfo_fops, | ||
| 172 | (void *)(cpu | CPLBINFO_DCPLB_FLAG)); | ||
| 173 | } | 173 | } |
| 174 | 174 | ||
| 175 | return 0; | 175 | return 0; |
diff --git a/arch/blackfin/kernel/dma-mapping.c b/arch/blackfin/kernel/dma-mapping.c index 2f62a9f4058a..e74e74d7733f 100644 --- a/arch/blackfin/kernel/dma-mapping.c +++ b/arch/blackfin/kernel/dma-mapping.c | |||
| @@ -1,30 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/kernel/dma-mapping.c | 2 | * Dynamic DMA mapping support |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Copyright 2005-2009 Analog Devices Inc. |
| 7 | * Description: Dynamic DMA mapping support. | ||
| 8 | * | 5 | * |
| 9 | * Modified: | 6 | * Licensed under the GPL-2 or later |
| 10 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 7 | */ |
| 29 | 8 | ||
| 30 | #include <linux/types.h> | 9 | #include <linux/types.h> |
diff --git a/arch/blackfin/kernel/early_printk.c b/arch/blackfin/kernel/early_printk.c index 931c78b5ea1f..84ed8375113c 100644 --- a/arch/blackfin/kernel/early_printk.c +++ b/arch/blackfin/kernel/early_printk.c | |||
| @@ -1,25 +1,10 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/kernel/early_printk.c | 2 | * allow a console to be used for early printk |
| 3 | * Based on: arch/x86_64/kernel/early_printk.c | 3 | * derived from arch/x86/kernel/early_printk.c |
| 4 | * Author: Robin Getz <rgetz@blackfin.uclinux.org | ||
| 5 | * | 4 | * |
| 6 | * Created: 14Aug2007 | 5 | * Copyright 2007-2009 Analog Devices Inc. |
| 7 | * Description: allow a console to be used for early printk | ||
| 8 | * | 6 | * |
| 9 | * Modified: | 7 | * Licensed under the GPL-2 |
| 10 | * Copyright 2004-2007 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | */ | 8 | */ |
| 24 | 9 | ||
| 25 | #include <linux/kernel.h> | 10 | #include <linux/kernel.h> |
diff --git a/arch/blackfin/kernel/entry.S b/arch/blackfin/kernel/entry.S index 3f8769b7db54..f27dc2292e1b 100644 --- a/arch/blackfin/kernel/entry.S +++ b/arch/blackfin/kernel/entry.S | |||
| @@ -1,30 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/kernel/entry.S | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 5 | */ |
| 29 | 6 | ||
| 30 | #include <linux/linkage.h> | 7 | #include <linux/linkage.h> |
diff --git a/arch/blackfin/kernel/fixed_code.S b/arch/blackfin/kernel/fixed_code.S index 0d2d9e0968c8..0565917f23ba 100644 --- a/arch/blackfin/kernel/fixed_code.S +++ b/arch/blackfin/kernel/fixed_code.S | |||
| @@ -6,7 +6,12 @@ | |||
| 6 | * These are aligned to 16 bytes, so that we have some space to replace | 6 | * These are aligned to 16 bytes, so that we have some space to replace |
| 7 | * these sequences with something else (e.g. kernel traps if we ever do | 7 | * these sequences with something else (e.g. kernel traps if we ever do |
| 8 | * BF561 SMP). | 8 | * BF561 SMP). |
| 9 | * | ||
| 10 | * Copyright 2007-2008 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Licensed under the GPL-2 or later. | ||
| 9 | */ | 13 | */ |
| 14 | |||
| 10 | #include <linux/linkage.h> | 15 | #include <linux/linkage.h> |
| 11 | #include <linux/init.h> | 16 | #include <linux/init.h> |
| 12 | #include <linux/unistd.h> | 17 | #include <linux/unistd.h> |
diff --git a/arch/blackfin/kernel/flat.c b/arch/blackfin/kernel/flat.c index d188b2430536..a88daddbf074 100644 --- a/arch/blackfin/kernel/flat.c +++ b/arch/blackfin/kernel/flat.c | |||
| @@ -1,21 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * arch/blackfin/kernel/flat.c | 2 | * Copyright 2007 Analog Devices Inc. |
| 3 | * | 3 | * |
| 4 | * Copyright (C) 2007 Analog Devices, Inc. | 4 | * Licensed under the GPL-2. |
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License as published by | ||
| 8 | * the Free Software Foundation; either version 2 of the License, or | ||
| 9 | * (at your option) any later version. | ||
| 10 | * | ||
| 11 | * This program is distributed in the hope that it will be useful, | ||
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | * GNU General Public License for more details. | ||
| 15 | * | ||
| 16 | * You should have received a copy of the GNU General Public License | ||
| 17 | * along with this program; if not, write to the Free Software | ||
| 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 19 | */ | 5 | */ |
| 20 | 6 | ||
| 21 | #include <linux/module.h> | 7 | #include <linux/module.h> |
diff --git a/arch/blackfin/kernel/init_task.c b/arch/blackfin/kernel/init_task.c index c26c34de9f3c..118c5b9dedac 100644 --- a/arch/blackfin/kernel/init_task.c +++ b/arch/blackfin/kernel/init_task.c | |||
| @@ -1,30 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/kernel/init_task.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later |
| 7 | * Description: This file contains the simple DMA Implementation for Blackfin | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 5 | */ |
| 29 | 6 | ||
| 30 | #include <linux/mm.h> | 7 | #include <linux/mm.h> |
diff --git a/arch/blackfin/kernel/irqchip.c b/arch/blackfin/kernel/irqchip.c index 4b5fd36187d9..db9f9c91f11f 100644 --- a/arch/blackfin/kernel/irqchip.c +++ b/arch/blackfin/kernel/irqchip.c | |||
| @@ -1,30 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/kernel/irqchip.c | 2 | * Copyright 2005-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later |
| 7 | * Description: This file contains the simple DMA Implementation for Blackfin | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 5 | */ |
| 29 | 6 | ||
| 30 | #include <linux/kernel_stat.h> | 7 | #include <linux/kernel_stat.h> |
diff --git a/arch/blackfin/kernel/module.c b/arch/blackfin/kernel/module.c index 67fc7a56c865..a6dfa6b71e63 100644 --- a/arch/blackfin/kernel/module.c +++ b/arch/blackfin/kernel/module.c | |||
| @@ -1,30 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/kernel/module.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 5 | */ |
| 29 | 6 | ||
| 30 | #define pr_fmt(fmt) "module %s: " fmt | 7 | #define pr_fmt(fmt) "module %s: " fmt |
diff --git a/arch/blackfin/kernel/process.c b/arch/blackfin/kernel/process.c index f5b286189647..430ae39456e8 100644 --- a/arch/blackfin/kernel/process.c +++ b/arch/blackfin/kernel/process.c | |||
| @@ -1,30 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/kernel/process.c | 2 | * Blackfin architecture-dependent process handling |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Copyright 2004-2009 Analog Devices Inc. |
| 7 | * Description: Blackfin architecture-dependent process handling. | ||
| 8 | * | 5 | * |
| 9 | * Modified: | 6 | * Licensed under the GPL-2 or later |
| 10 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 7 | */ |
| 29 | 8 | ||
| 30 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/arch/blackfin/kernel/ptrace.c b/arch/blackfin/kernel/ptrace.c index 30f4828277ad..0982b5d5af10 100644 --- a/arch/blackfin/kernel/ptrace.c +++ b/arch/blackfin/kernel/ptrace.c | |||
| @@ -1,30 +1,8 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/kernel/ptrace.c | 2 | * linux/kernel/ptrace.c is by Ross Biro 1/23/92, edited by Linus Torvalds |
| 3 | * Based on: Taken from linux/kernel/ptrace.c | 3 | * these modifications are Copyright 2004-2009 Analog Devices Inc. |
| 4 | * Author: linux/kernel/ptrace.c is by Ross Biro 1/23/92, edited by Linus Torvalds | ||
| 5 | * | 4 | * |
| 6 | * Created: 1/23/92 | 5 | * Licensed under the GPL-2 |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 6 | */ |
| 29 | 7 | ||
| 30 | #include <linux/kernel.h> | 8 | #include <linux/kernel.h> |
diff --git a/arch/blackfin/kernel/setup.c b/arch/blackfin/kernel/setup.c index 369535b61ed1..c202a44d1416 100644 --- a/arch/blackfin/kernel/setup.c +++ b/arch/blackfin/kernel/setup.c | |||
| @@ -1,9 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * arch/blackfin/kernel/setup.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * | ||
| 4 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 5 | * | ||
| 6 | * Enter bugs at http://blackfin.uclinux.org/ | ||
| 7 | * | 3 | * |
| 8 | * Licensed under the GPL-2 or later. | 4 | * Licensed under the GPL-2 or later. |
| 9 | */ | 5 | */ |
diff --git a/arch/blackfin/kernel/shadow_console.c b/arch/blackfin/kernel/shadow_console.c index 8b8c7107a162..557e9fef406a 100644 --- a/arch/blackfin/kernel/shadow_console.c +++ b/arch/blackfin/kernel/shadow_console.c | |||
| @@ -4,8 +4,6 @@ | |||
| 4 | * | 4 | * |
| 5 | * Copyright 2009 Analog Devices Inc. | 5 | * Copyright 2009 Analog Devices Inc. |
| 6 | * | 6 | * |
| 7 | * Enter bugs at http://blackfin.uclinux.org/ | ||
| 8 | * | ||
| 9 | * Licensed under the GPL-2 or later. | 7 | * Licensed under the GPL-2 or later. |
| 10 | */ | 8 | */ |
| 11 | 9 | ||
diff --git a/arch/blackfin/kernel/signal.c b/arch/blackfin/kernel/signal.c index dbc3bbf846be..9d90c18fab23 100644 --- a/arch/blackfin/kernel/signal.c +++ b/arch/blackfin/kernel/signal.c | |||
| @@ -1,30 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/kernel/signal.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 5 | */ |
| 29 | 6 | ||
| 30 | #include <linux/signal.h> | 7 | #include <linux/signal.h> |
diff --git a/arch/blackfin/kernel/sys_bfin.c b/arch/blackfin/kernel/sys_bfin.c index 3da60fb13ce4..afcef129d4e8 100644 --- a/arch/blackfin/kernel/sys_bfin.c +++ b/arch/blackfin/kernel/sys_bfin.c | |||
| @@ -1,32 +1,10 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/kernel/sys_bfin.c | 2 | * contains various random system calls that have a non-standard |
| 3 | * Based on: | 3 | * calling sequence on the Linux/Blackfin platform. |
| 4 | * Author: | ||
| 5 | * | 4 | * |
| 6 | * Created: | 5 | * Copyright 2004-2009 Analog Devices Inc. |
| 7 | * Description: This file contains various random system calls that | ||
| 8 | * have a non-standard calling sequence on the Linux/bfin | ||
| 9 | * platform. | ||
| 10 | * | 6 | * |
| 11 | * Modified: | 7 | * Licensed under the GPL-2 or later |
| 12 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 13 | * | ||
| 14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 15 | * | ||
| 16 | * This program is free software; you can redistribute it and/or modify | ||
| 17 | * it under the terms of the GNU General Public License as published by | ||
| 18 | * the Free Software Foundation; either version 2 of the License, or | ||
| 19 | * (at your option) any later version. | ||
| 20 | * | ||
| 21 | * This program is distributed in the hope that it will be useful, | ||
| 22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 24 | * GNU General Public License for more details. | ||
| 25 | * | ||
| 26 | * You should have received a copy of the GNU General Public License | ||
| 27 | * along with this program; if not, see the file COPYING, or write | ||
| 28 | * to the Free Software Foundation, Inc., | ||
| 29 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 30 | */ | 8 | */ |
| 31 | 9 | ||
| 32 | #include <linux/spinlock.h> | 10 | #include <linux/spinlock.h> |
| @@ -91,3 +69,14 @@ asmlinkage void *sys_dma_memcpy(void *dest, const void *src, size_t len) | |||
| 91 | { | 69 | { |
| 92 | return safe_dma_memcpy(dest, src, len); | 70 | return safe_dma_memcpy(dest, src, len); |
| 93 | } | 71 | } |
| 72 | |||
| 73 | #if defined(CONFIG_FB) || defined(CONFIG_FB_MODULE) | ||
| 74 | #include <linux/fb.h> | ||
| 75 | unsigned long get_fb_unmapped_area(struct file *filp, unsigned long orig_addr, | ||
| 76 | unsigned long len, unsigned long pgoff, unsigned long flags) | ||
| 77 | { | ||
| 78 | struct fb_info *info = filp->private_data; | ||
| 79 | return (unsigned long)info->screen_base; | ||
| 80 | } | ||
| 81 | EXPORT_SYMBOL(get_fb_unmapped_area); | ||
| 82 | #endif | ||
diff --git a/arch/blackfin/kernel/time-ts.c b/arch/blackfin/kernel/time-ts.c index f9715764383e..359cfb1815ca 100644 --- a/arch/blackfin/kernel/time-ts.c +++ b/arch/blackfin/kernel/time-ts.c | |||
| @@ -1,13 +1,13 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * linux/arch/kernel/time-ts.c | ||
| 3 | * | ||
| 4 | * Based on arm clockevents implementation and old bfin time tick. | 2 | * Based on arm clockevents implementation and old bfin time tick. |
| 5 | * | 3 | * |
| 6 | * Copyright(C) 2008, GeoTechnologies, Vitja Makarov | 4 | * Copyright 2008-2009 Analog Devics Inc. |
| 5 | * 2008 GeoTechnologies | ||
| 6 | * Vitja Makarov | ||
| 7 | * | 7 | * |
| 8 | * This code is licenced under the GPL version 2. For details see | 8 | * Licensed under the GPL-2 |
| 9 | * kernel-base/COPYING. | ||
| 10 | */ | 9 | */ |
| 10 | |||
| 11 | #include <linux/module.h> | 11 | #include <linux/module.h> |
| 12 | #include <linux/profile.h> | 12 | #include <linux/profile.h> |
| 13 | #include <linux/interrupt.h> | 13 | #include <linux/interrupt.h> |
diff --git a/arch/blackfin/kernel/time.c b/arch/blackfin/kernel/time.c index adb54aa7d7c8..e5069fe6861e 100644 --- a/arch/blackfin/kernel/time.c +++ b/arch/blackfin/kernel/time.c | |||
| @@ -81,11 +81,11 @@ time_sched_init(irqreturn_t(*timer_routine) (int, void *)) | |||
| 81 | #endif | 81 | #endif |
| 82 | } | 82 | } |
| 83 | 83 | ||
| 84 | #ifdef CONFIG_ARCH_USES_GETTIMEOFFSET | ||
| 84 | /* | 85 | /* |
| 85 | * Should return useconds since last timer tick | 86 | * Should return useconds since last timer tick |
| 86 | */ | 87 | */ |
| 87 | #ifndef CONFIG_GENERIC_TIME | 88 | u32 arch_gettimeoffset(void) |
| 88 | static unsigned long gettimeoffset(void) | ||
| 89 | { | 89 | { |
| 90 | unsigned long offset; | 90 | unsigned long offset; |
| 91 | unsigned long clocks_per_jiffy; | 91 | unsigned long clocks_per_jiffy; |
| @@ -184,65 +184,6 @@ void __init time_init(void) | |||
| 184 | time_sched_init(timer_interrupt); | 184 | time_sched_init(timer_interrupt); |
| 185 | } | 185 | } |
| 186 | 186 | ||
| 187 | #ifndef CONFIG_GENERIC_TIME | ||
| 188 | void do_gettimeofday(struct timeval *tv) | ||
| 189 | { | ||
| 190 | unsigned long flags; | ||
| 191 | unsigned long seq; | ||
| 192 | unsigned long usec, sec; | ||
| 193 | |||
| 194 | do { | ||
| 195 | seq = read_seqbegin_irqsave(&xtime_lock, flags); | ||
| 196 | usec = gettimeoffset(); | ||
| 197 | sec = xtime.tv_sec; | ||
| 198 | usec += (xtime.tv_nsec / NSEC_PER_USEC); | ||
| 199 | } | ||
| 200 | while (read_seqretry_irqrestore(&xtime_lock, seq, flags)); | ||
| 201 | |||
| 202 | while (usec >= USEC_PER_SEC) { | ||
| 203 | usec -= USEC_PER_SEC; | ||
| 204 | sec++; | ||
| 205 | } | ||
| 206 | |||
| 207 | tv->tv_sec = sec; | ||
| 208 | tv->tv_usec = usec; | ||
| 209 | } | ||
| 210 | EXPORT_SYMBOL(do_gettimeofday); | ||
| 211 | |||
| 212 | int do_settimeofday(struct timespec *tv) | ||
| 213 | { | ||
| 214 | time_t wtm_sec, sec = tv->tv_sec; | ||
| 215 | long wtm_nsec, nsec = tv->tv_nsec; | ||
| 216 | |||
| 217 | if ((unsigned long)tv->tv_nsec >= NSEC_PER_SEC) | ||
| 218 | return -EINVAL; | ||
| 219 | |||
| 220 | write_seqlock_irq(&xtime_lock); | ||
| 221 | /* | ||
| 222 | * This is revolting. We need to set the xtime.tv_usec | ||
| 223 | * correctly. However, the value in this location is | ||
| 224 | * is value at the last tick. | ||
| 225 | * Discover what correction gettimeofday | ||
| 226 | * would have done, and then undo it! | ||
| 227 | */ | ||
| 228 | nsec -= (gettimeoffset() * NSEC_PER_USEC); | ||
| 229 | |||
| 230 | wtm_sec = wall_to_monotonic.tv_sec + (xtime.tv_sec - sec); | ||
| 231 | wtm_nsec = wall_to_monotonic.tv_nsec + (xtime.tv_nsec - nsec); | ||
| 232 | |||
| 233 | set_normalized_timespec(&xtime, sec, nsec); | ||
| 234 | set_normalized_timespec(&wall_to_monotonic, wtm_sec, wtm_nsec); | ||
| 235 | |||
| 236 | ntp_clear(); | ||
| 237 | |||
| 238 | write_sequnlock_irq(&xtime_lock); | ||
| 239 | clock_was_set(); | ||
| 240 | |||
| 241 | return 0; | ||
| 242 | } | ||
| 243 | EXPORT_SYMBOL(do_settimeofday); | ||
| 244 | #endif /* !CONFIG_GENERIC_TIME */ | ||
| 245 | |||
| 246 | /* | 187 | /* |
| 247 | * Scheduler clock - returns current time in nanosec units. | 188 | * Scheduler clock - returns current time in nanosec units. |
| 248 | */ | 189 | */ |
diff --git a/arch/blackfin/kernel/traps.c b/arch/blackfin/kernel/traps.c index 56464cb8edf3..6b7325d634af 100644 --- a/arch/blackfin/kernel/traps.c +++ b/arch/blackfin/kernel/traps.c | |||
| @@ -1,30 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/kernel/traps.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: Hamish Macdonald | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later |
| 7 | * Description: uses S/W interrupt 15 for the system calls | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 5 | */ |
| 29 | 6 | ||
| 30 | #include <linux/bug.h> | 7 | #include <linux/bug.h> |
diff --git a/arch/blackfin/kernel/vmlinux.lds.S b/arch/blackfin/kernel/vmlinux.lds.S index ffd90fbbc8f9..10e12539000e 100644 --- a/arch/blackfin/kernel/vmlinux.lds.S +++ b/arch/blackfin/kernel/vmlinux.lds.S | |||
| @@ -1,30 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/kernel/vmlinux.lds.S | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: none - original work | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: Tue Sep 21 2004 | 4 | * Licensed under the GPL-2 or later |
| 7 | * Description: Master linker script for blackfin architecture | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2004-2007 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 5 | */ |
| 29 | 6 | ||
| 30 | #define VMLINUX_SYMBOL(_sym_) _##_sym_ | 7 | #define VMLINUX_SYMBOL(_sym_) _##_sym_ |
diff --git a/arch/blackfin/lib/ashldi3.c b/arch/blackfin/lib/ashldi3.c index a8c279e9b192..ab69d8768afc 100644 --- a/arch/blackfin/lib/ashldi3.c +++ b/arch/blackfin/lib/ashldi3.c | |||
| @@ -1,30 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/lib/ashldi3.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 5 | */ |
| 29 | 6 | ||
| 30 | #include "gcclib.h" | 7 | #include "gcclib.h" |
diff --git a/arch/blackfin/lib/ashrdi3.c b/arch/blackfin/lib/ashrdi3.c index a0d3419329ca..b5b351e82e10 100644 --- a/arch/blackfin/lib/ashrdi3.c +++ b/arch/blackfin/lib/ashrdi3.c | |||
| @@ -1,30 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/lib/ashrdi3.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 5 | */ |
| 29 | 6 | ||
| 30 | #include "gcclib.h" | 7 | #include "gcclib.h" |
diff --git a/arch/blackfin/lib/checksum.c b/arch/blackfin/lib/checksum.c index cd605e7d8518..c62969dc1bbb 100644 --- a/arch/blackfin/lib/checksum.c +++ b/arch/blackfin/lib/checksum.c | |||
| @@ -1,32 +1,12 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/lib/checksum.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: none - original work | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
| 7 | * Description: An implementation of the TCP/IP protocol suite for the LINUX | ||
| 8 | * operating system. INET is implemented using the BSD Socket | ||
| 9 | * interface as the means of communication with the user level. | ||
| 10 | * | 5 | * |
| 11 | * Modified: | 6 | * An implementation of the TCP/IP protocol suite for the LINUX operating |
| 12 | * Copyright 2004-2006 Analog Devices Inc. | 7 | * system. INET is implemented using the BSD Socket interface as the |
| 8 | * means of communication with the user level. | ||
| 13 | * | 9 | * |
| 14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 15 | * | ||
| 16 | * This program is free software; you can redistribute it and/or modify | ||
| 17 | * it under the terms of the GNU General Public License as published by | ||
| 18 | * the Free Software Foundation; either version 2 of the License, or | ||
| 19 | * (at your option) any later version. | ||
| 20 | * | ||
| 21 | * This program is distributed in the hope that it will be useful, | ||
| 22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 24 | * GNU General Public License for more details. | ||
| 25 | * | ||
| 26 | * You should have received a copy of the GNU General Public License | ||
| 27 | * along with this program; if not, see the file COPYING, or write | ||
| 28 | * to the Free Software Foundation, Inc., | ||
| 29 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 30 | */ | 10 | */ |
| 31 | 11 | ||
| 32 | #include <linux/module.h> | 12 | #include <linux/module.h> |
diff --git a/arch/blackfin/lib/divsi3.S b/arch/blackfin/lib/divsi3.S index 2ac59c70dd94..f89c5a49c47b 100644 --- a/arch/blackfin/lib/divsi3.S +++ b/arch/blackfin/lib/divsi3.S | |||
| @@ -1,10 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/lib/divsi3.S | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
| 7 | * Description: 16 / 32 bit signed division. | 5 | * |
| 6 | * 16 / 32 bit signed division. | ||
| 8 | * Special cases : | 7 | * Special cases : |
| 9 | * 1) If(numerator == 0) | 8 | * 1) If(numerator == 0) |
| 10 | * return 0 | 9 | * return 0 |
| @@ -22,25 +21,6 @@ | |||
| 22 | * R0 - Quotient (o) | 21 | * R0 - Quotient (o) |
| 23 | * Registers Used : R2-R7,P0-P2 | 22 | * Registers Used : R2-R7,P0-P2 |
| 24 | * | 23 | * |
| 25 | * Modified: | ||
| 26 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 27 | * | ||
| 28 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 29 | * | ||
| 30 | * This program is free software; you can redistribute it and/or modify | ||
| 31 | * it under the terms of the GNU General Public License as published by | ||
| 32 | * the Free Software Foundation; either version 2 of the License, or | ||
| 33 | * (at your option) any later version. | ||
| 34 | * | ||
| 35 | * This program is distributed in the hope that it will be useful, | ||
| 36 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 37 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 38 | * GNU General Public License for more details. | ||
| 39 | * | ||
| 40 | * You should have received a copy of the GNU General Public License | ||
| 41 | * along with this program; if not, see the file COPYING, or write | ||
| 42 | * to the Free Software Foundation, Inc., | ||
| 43 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 44 | */ | 24 | */ |
| 45 | 25 | ||
| 46 | .global ___divsi3; | 26 | .global ___divsi3; |
diff --git a/arch/blackfin/lib/gcclib.h b/arch/blackfin/lib/gcclib.h index 9ccd39a135ee..724f07f14f8d 100644 --- a/arch/blackfin/lib/gcclib.h +++ b/arch/blackfin/lib/gcclib.h | |||
| @@ -1,30 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/lib/gcclib.h | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 5 | */ |
| 29 | 6 | ||
| 30 | #define BITS_PER_UNIT 8 | 7 | #define BITS_PER_UNIT 8 |
diff --git a/arch/blackfin/lib/lshrdi3.c b/arch/blackfin/lib/lshrdi3.c index e57bf6fbdf3f..53f1741047e5 100644 --- a/arch/blackfin/lib/lshrdi3.c +++ b/arch/blackfin/lib/lshrdi3.c | |||
| @@ -1,30 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/lib/lshrdi3.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 5 | */ |
| 29 | 6 | ||
| 30 | #include "gcclib.h" | 7 | #include "gcclib.h" |
diff --git a/arch/blackfin/lib/memchr.S b/arch/blackfin/lib/memchr.S index 5da428134d32..542e40f8775f 100644 --- a/arch/blackfin/lib/memchr.S +++ b/arch/blackfin/lib/memchr.S | |||
| @@ -1,30 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/lib/memchr.S | 2 | * Copyright 2005-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 5 | */ |
| 29 | 6 | ||
| 30 | #include <linux/linkage.h> | 7 | #include <linux/linkage.h> |
diff --git a/arch/blackfin/lib/memcmp.S b/arch/blackfin/lib/memcmp.S index 219fa2877c62..ce5b9f1a8267 100644 --- a/arch/blackfin/lib/memcmp.S +++ b/arch/blackfin/lib/memcmp.S | |||
| @@ -1,30 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/lib/memcmp.S | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 5 | */ |
| 29 | 6 | ||
| 30 | #include <linux/linkage.h> | 7 | #include <linux/linkage.h> |
diff --git a/arch/blackfin/lib/memcpy.S b/arch/blackfin/lib/memcpy.S index e654a18a0754..c31bf22aab19 100644 --- a/arch/blackfin/lib/memcpy.S +++ b/arch/blackfin/lib/memcpy.S | |||
| @@ -1,36 +1,13 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/lib/memcpy.S | 2 | * internal version of memcpy(), issued by the compiler to copy blocks of |
| 3 | * Based on: | 3 | * data around. This is really memmove() - it has to be able to deal with |
| 4 | * Author: | 4 | * possible overlaps, because that ambiguity is when the compiler gives up |
| 5 | * and calls a function. We have our own, internal version so that we get | ||
| 6 | * something we trust, even if the user has redefined the normal symbol. | ||
| 5 | * | 7 | * |
| 6 | * Created: | 8 | * Copyright 2004-2009 Analog Devices Inc. |
| 7 | * Description: internal version of memcpy(), issued by the compiler | ||
| 8 | * to copy blocks of data around. | ||
| 9 | * This is really memmove() - it has to be able to deal with | ||
| 10 | * possible overlaps, because that ambiguity is when the compiler | ||
| 11 | * gives up and calls a function. We have our own, internal version | ||
| 12 | * so that we get something we trust, even if the user has redefined | ||
| 13 | * the normal symbol. | ||
| 14 | * | 9 | * |
| 15 | * Modified: | 10 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
| 16 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 17 | * | ||
| 18 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 19 | * | ||
| 20 | * This program is free software; you can redistribute it and/or modify | ||
| 21 | * it under the terms of the GNU General Public License as published by | ||
| 22 | * the Free Software Foundation; either version 2 of the License, or | ||
| 23 | * (at your option) any later version. | ||
| 24 | * | ||
| 25 | * This program is distributed in the hope that it will be useful, | ||
| 26 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 27 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 28 | * GNU General Public License for more details. | ||
| 29 | * | ||
| 30 | * You should have received a copy of the GNU General Public License | ||
| 31 | * along with this program; if not, see the file COPYING, or write | ||
| 32 | * to the Free Software Foundation, Inc., | ||
| 33 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 34 | */ | 11 | */ |
| 35 | 12 | ||
| 36 | #include <linux/linkage.h> | 13 | #include <linux/linkage.h> |
diff --git a/arch/blackfin/lib/memmove.S b/arch/blackfin/lib/memmove.S index 33f8653145b7..80c240acac60 100644 --- a/arch/blackfin/lib/memmove.S +++ b/arch/blackfin/lib/memmove.S | |||
| @@ -1,30 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/lib/memmove.S | 2 | * Copyright 2005-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 5 | */ |
| 29 | 6 | ||
| 30 | #include <linux/linkage.h> | 7 | #include <linux/linkage.h> |
diff --git a/arch/blackfin/lib/memset.S b/arch/blackfin/lib/memset.S index 8159136a29ea..c30d99b10969 100644 --- a/arch/blackfin/lib/memset.S +++ b/arch/blackfin/lib/memset.S | |||
| @@ -1,30 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/lib/memset.S | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 5 | */ |
| 29 | 6 | ||
| 30 | #include <linux/linkage.h> | 7 | #include <linux/linkage.h> |
diff --git a/arch/blackfin/lib/modsi3.S b/arch/blackfin/lib/modsi3.S index ca1dd3973b39..8b0c7d4052af 100644 --- a/arch/blackfin/lib/modsi3.S +++ b/arch/blackfin/lib/modsi3.S | |||
| @@ -1,36 +1,12 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/lib/modsi3.S | 2 | * This program computes 32 bit signed remainder. It calls div32 function |
| 3 | * Based on: | 3 | * for quotient estimation. |
| 4 | * Author: | 4 | * Registers in: R0, R1 = Numerator/ Denominator |
| 5 | * Registers out: R0 = Remainder | ||
| 5 | * | 6 | * |
| 6 | * Created: | 7 | * Copyright 2004-2009 Analog Devices Inc. |
| 7 | * Description: This program computes 32 bit signed remainder. It calls div32 function | ||
| 8 | * for quotient estimation. | ||
| 9 | * | 8 | * |
| 10 | * Registers used : | 9 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
| 11 | * Numerator/ Denominator in R0, R1 | ||
| 12 | * R0 - returns remainder. | ||
| 13 | * R2-R7 | ||
| 14 | * | ||
| 15 | * Modified: | ||
| 16 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 17 | * | ||
| 18 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 19 | * | ||
| 20 | * This program is free software; you can redistribute it and/or modify | ||
| 21 | * it under the terms of the GNU General Public License as published by | ||
| 22 | * the Free Software Foundation; either version 2 of the License, or | ||
| 23 | * (at your option) any later version. | ||
| 24 | * | ||
| 25 | * This program is distributed in the hope that it will be useful, | ||
| 26 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 27 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 28 | * GNU General Public License for more details. | ||
| 29 | * | ||
| 30 | * You should have received a copy of the GNU General Public License | ||
| 31 | * along with this program; if not, see the file COPYING, or write | ||
| 32 | * to the Free Software Foundation, Inc., | ||
| 33 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 34 | */ | 10 | */ |
| 35 | 11 | ||
| 36 | .global ___modsi3; | 12 | .global ___modsi3; |
diff --git a/arch/blackfin/lib/muldi3.S b/arch/blackfin/lib/muldi3.S index abde120ee230..953a38a1d1d1 100644 --- a/arch/blackfin/lib/muldi3.S +++ b/arch/blackfin/lib/muldi3.S | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2008 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) | ||
| 5 | */ | ||
| 6 | |||
| 1 | .align 2 | 7 | .align 2 |
| 2 | .global ___muldi3; | 8 | .global ___muldi3; |
| 3 | .type ___muldi3, STT_FUNC; | 9 | .type ___muldi3, STT_FUNC; |
diff --git a/arch/blackfin/lib/outs.S b/arch/blackfin/lib/outs.S index 4685b7aa0080..250f4d4b9436 100644 --- a/arch/blackfin/lib/outs.S +++ b/arch/blackfin/lib/outs.S | |||
| @@ -1,30 +1,11 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/lib/outs.S | 2 | * Implementation of outs{bwl} for BlackFin processors using zero overhead loops. |
| 3 | * Based on: | ||
| 4 | * Author: Bas Vermeulen <bas@buyways.nl> | ||
| 5 | * | 3 | * |
| 6 | * Created: Tue Mar 22 15:27:24 CEST 2005 | 4 | * Copyright 2005-2009 Analog Devices Inc. |
| 7 | * Description: Implementation of outs{bwl} for BlackFin processors using zero overhead loops. | 5 | * 2005 BuyWays BV |
| 6 | * Bas Vermeulen <bas@buyways.nl> | ||
| 8 | * | 7 | * |
| 9 | * Modified: Copyright (C) 2005 Bas Vermeulen, BuyWays BV <bas@buyways.nl> | 8 | * Licensed under the GPL-2. |
| 10 | * Copyright 2004-2008 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 9 | */ |
| 29 | 10 | ||
| 30 | #include <linux/linkage.h> | 11 | #include <linux/linkage.h> |
diff --git a/arch/blackfin/lib/smulsi3_highpart.S b/arch/blackfin/lib/smulsi3_highpart.S index e383cd3eca5d..99ee8c5de38b 100644 --- a/arch/blackfin/lib/smulsi3_highpart.S +++ b/arch/blackfin/lib/smulsi3_highpart.S | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2007 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) | ||
| 5 | */ | ||
| 6 | |||
| 1 | .align 2 | 7 | .align 2 |
| 2 | .global ___smulsi3_highpart; | 8 | .global ___smulsi3_highpart; |
| 3 | .type ___smulsi3_highpart, STT_FUNC; | 9 | .type ___smulsi3_highpart, STT_FUNC; |
diff --git a/arch/blackfin/lib/udivsi3.S b/arch/blackfin/lib/udivsi3.S index 58fd96d74766..97e904315ec6 100644 --- a/arch/blackfin/lib/udivsi3.S +++ b/arch/blackfin/lib/udivsi3.S | |||
| @@ -1,30 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/lib/udivsi3.S | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 5 | */ |
| 29 | 6 | ||
| 30 | #include <linux/linkage.h> | 7 | #include <linux/linkage.h> |
diff --git a/arch/blackfin/lib/umodsi3.S b/arch/blackfin/lib/umodsi3.S index 4f2b76ee7626..168eba7c64c8 100644 --- a/arch/blackfin/lib/umodsi3.S +++ b/arch/blackfin/lib/umodsi3.S | |||
| @@ -1,30 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/lib/umodsi3.S | 2 | * libgcc1 routines for Blackfin 5xx |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Copyright 2004-2009 Analog Devices Inc. |
| 7 | * Description: libgcc1 routines for Blackfin 5xx | ||
| 8 | * | 5 | * |
| 9 | * Modified: | 6 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
| 10 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 7 | */ |
| 29 | 8 | ||
| 30 | #ifdef CONFIG_ARITHMETIC_OPS_L1 | 9 | #ifdef CONFIG_ARITHMETIC_OPS_L1 |
diff --git a/arch/blackfin/lib/umulsi3_highpart.S b/arch/blackfin/lib/umulsi3_highpart.S index 67b799351e3e..051824a6ed00 100644 --- a/arch/blackfin/lib/umulsi3_highpart.S +++ b/arch/blackfin/lib/umulsi3_highpart.S | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2007 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) | ||
| 5 | */ | ||
| 6 | |||
| 1 | .align 2 | 7 | .align 2 |
| 2 | .global ___umulsi3_highpart; | 8 | .global ___umulsi3_highpart; |
| 3 | .type ___umulsi3_highpart, STT_FUNC; | 9 | .type ___umulsi3_highpart, STT_FUNC; |
diff --git a/arch/blackfin/mach-bf518/boards/ezbrd.c b/arch/blackfin/mach-bf518/boards/ezbrd.c index 03e4a9941f01..01975c017116 100644 --- a/arch/blackfin/mach-bf518/boards/ezbrd.c +++ b/arch/blackfin/mach-bf518/boards/ezbrd.c | |||
| @@ -1,31 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf518/boards/ezbrd.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: arch/blackfin/mach-bf527/boards/ezbrd.c | 3 | * 2005 National ICT Australia (NICTA) |
| 4 | * Author: Bryan Wu <cooloney@kernel.org> | 4 | * Aidan Williams <aidan@nicta.com.au> |
| 5 | * | 5 | * |
| 6 | * Created: | 6 | * Licensed under the GPL-2 or later. |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2005 National ICT Australia (NICTA) | ||
| 11 | * Copyright 2004-2008 Analog Devices Inc. | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2 of the License, or | ||
| 18 | * (at your option) any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; if not, see the file COPYING, or write | ||
| 27 | * to the Free Software Foundation, Inc., | ||
| 28 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 29 | */ | 7 | */ |
| 30 | 8 | ||
| 31 | #include <linux/device.h> | 9 | #include <linux/device.h> |
| @@ -571,19 +549,6 @@ static struct platform_device bf51x_sdh_device = { | |||
| 571 | }; | 549 | }; |
| 572 | #endif | 550 | #endif |
| 573 | 551 | ||
| 574 | static struct resource bfin_gpios_resources = { | ||
| 575 | .start = 0, | ||
| 576 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
| 577 | .flags = IORESOURCE_IRQ, | ||
| 578 | }; | ||
| 579 | |||
| 580 | static struct platform_device bfin_gpios_device = { | ||
| 581 | .name = "simple-gpio", | ||
| 582 | .id = -1, | ||
| 583 | .num_resources = 1, | ||
| 584 | .resource = &bfin_gpios_resources, | ||
| 585 | }; | ||
| 586 | |||
| 587 | static const unsigned int cclk_vlev_datasheet[] = | 552 | static const unsigned int cclk_vlev_datasheet[] = |
| 588 | { | 553 | { |
| 589 | VRPAIR(VLEV_100, 400000000), | 554 | VRPAIR(VLEV_100, 400000000), |
| @@ -660,8 +625,6 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
| 660 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) | 625 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) |
| 661 | &ezbrd_flash_device, | 626 | &ezbrd_flash_device, |
| 662 | #endif | 627 | #endif |
| 663 | |||
| 664 | &bfin_gpios_device, | ||
| 665 | }; | 628 | }; |
| 666 | 629 | ||
| 667 | static int __init ezbrd_init(void) | 630 | static int __init ezbrd_init(void) |
diff --git a/arch/blackfin/mach-bf518/dma.c b/arch/blackfin/mach-bf518/dma.c index 698e88ca5104..78b43605a0b5 100644 --- a/arch/blackfin/mach-bf518/dma.c +++ b/arch/blackfin/mach-bf518/dma.c | |||
| @@ -1,31 +1,11 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf518/dma.c | 2 | * the simple DMA Implementation for Blackfin |
| 3 | * Based on: | ||
| 4 | * Author: Bryan Wu <cooloney@kernel.org> | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Copyright 2008 Analog Devices Inc. |
| 7 | * Description: This file contains the simple DMA Implementation for Blackfin | ||
| 8 | * | 5 | * |
| 9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
| 10 | * Copyright 2004-2008 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 7 | */ |
| 8 | |||
| 29 | #include <linux/module.h> | 9 | #include <linux/module.h> |
| 30 | 10 | ||
| 31 | #include <asm/blackfin.h> | 11 | #include <asm/blackfin.h> |
diff --git a/arch/blackfin/mach-bf518/include/mach/bf518.h b/arch/blackfin/mach-bf518/include/mach/bf518.h index 78da1a07ee73..856b330ecf0b 100644 --- a/arch/blackfin/mach-bf518/include/mach/bf518.h +++ b/arch/blackfin/mach-bf518/include/mach/bf518.h | |||
| @@ -1,30 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf518/bf518.h | 2 | * Copyright 2008 Analog Devices Inc. |
| 3 | * Based on: include/asm-blackfin/mach-bf527/bf527.h | ||
| 4 | * Author: Michael Hennerich (michael.hennerich@analog.com) | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
| 7 | * Description: SYSTEM MMR REGISTER AND MEMORY MAP FOR ADSP-BF518 | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2004-2007 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 5 | */ |
| 29 | 6 | ||
| 30 | #ifndef __MACH_BF518_H__ | 7 | #ifndef __MACH_BF518_H__ |
diff --git a/arch/blackfin/mach-bf518/include/mach/bfin_serial_5xx.h b/arch/blackfin/mach-bf518/include/mach/bfin_serial_5xx.h index dbade93395eb..970d310021e7 100644 --- a/arch/blackfin/mach-bf518/include/mach/bfin_serial_5xx.h +++ b/arch/blackfin/mach-bf518/include/mach/bfin_serial_5xx.h | |||
| @@ -1,32 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * file: include/asm-blackfin/mach-bf518/bfin_serial_5xx.h | 2 | * Copyright 2008-2009 Analog Devices Inc. |
| 3 | * based on: | ||
| 4 | * author: | ||
| 5 | * | 3 | * |
| 6 | * created: | 4 | * Licensed under the GPL-2 or later |
| 7 | * description: | ||
| 8 | * blackfin serial driver head file | ||
| 9 | * rev: | ||
| 10 | * | ||
| 11 | * modified: | ||
| 12 | * | ||
| 13 | * | ||
| 14 | * bugs: enter bugs at http://blackfin.uclinux.org/ | ||
| 15 | * | ||
| 16 | * this program is free software; you can redistribute it and/or modify | ||
| 17 | * it under the terms of the gnu general public license as published by | ||
| 18 | * the free software foundation; either version 2, or (at your option) | ||
| 19 | * any later version. | ||
| 20 | * | ||
| 21 | * this program is distributed in the hope that it will be useful, | ||
| 22 | * but without any warranty; without even the implied warranty of | ||
| 23 | * merchantability or fitness for a particular purpose. see the | ||
| 24 | * gnu general public license for more details. | ||
| 25 | * | ||
| 26 | * you should have received a copy of the gnu general public license | ||
| 27 | * along with this program; see the file copying. | ||
| 28 | * if not, write to the free software foundation, | ||
| 29 | * 59 temple place - suite 330, boston, ma 02111-1307, usa. | ||
| 30 | */ | 5 | */ |
| 31 | 6 | ||
| 32 | #include <linux/serial.h> | 7 | #include <linux/serial.h> |
diff --git a/arch/blackfin/mach-bf518/include/mach/blackfin.h b/arch/blackfin/mach-bf518/include/mach/blackfin.h index 83421d393148..6cfb246aebec 100644 --- a/arch/blackfin/mach-bf518/include/mach/blackfin.h +++ b/arch/blackfin/mach-bf518/include/mach/blackfin.h | |||
| @@ -1,32 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf518/blackfin.h | 2 | * Copyright 2008-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * | ||
| 14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 15 | * | ||
| 16 | * This program is free software; you can redistribute it and/or modify | ||
| 17 | * it under the terms of the GNU General Public License as published by | ||
| 18 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 19 | * any later version. | ||
| 20 | * | ||
| 21 | * This program is distributed in the hope that it will be useful, | ||
| 22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 24 | * GNU General Public License for more details. | ||
| 25 | * | ||
| 26 | * You should have received a copy of the GNU General Public License | ||
| 27 | * along with this program; see the file COPYING. | ||
| 28 | * If not, write to the Free Software Foundation, | ||
| 29 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 30 | */ | 5 | */ |
| 31 | 6 | ||
| 32 | #ifndef _MACH_BLACKFIN_H_ | 7 | #ifndef _MACH_BLACKFIN_H_ |
diff --git a/arch/blackfin/mach-bf518/include/mach/cdefBF512.h b/arch/blackfin/mach-bf518/include/mach/cdefBF512.h index 820c13c4daaa..493020d0a65a 100644 --- a/arch/blackfin/mach-bf518/include/mach/cdefBF512.h +++ b/arch/blackfin/mach-bf518/include/mach/cdefBF512.h | |||
| @@ -1,32 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf518/cdefbf512.h | 2 | * Copyright 2008-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
| 7 | * Description: system mmr register map | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * | ||
| 14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 15 | * | ||
| 16 | * This program is free software; you can redistribute it and/or modify | ||
| 17 | * it under the terms of the GNU General Public License as published by | ||
| 18 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 19 | * any later version. | ||
| 20 | * | ||
| 21 | * This program is distributed in the hope that it will be useful, | ||
| 22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 24 | * GNU General Public License for more details. | ||
| 25 | * | ||
| 26 | * You should have received a copy of the GNU General Public License | ||
| 27 | * along with this program; see the file COPYING. | ||
| 28 | * If not, write to the Free Software Foundation, | ||
| 29 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 30 | */ | 5 | */ |
| 31 | 6 | ||
| 32 | #ifndef _CDEF_BF512_H | 7 | #ifndef _CDEF_BF512_H |
diff --git a/arch/blackfin/mach-bf518/include/mach/cdefBF514.h b/arch/blackfin/mach-bf518/include/mach/cdefBF514.h index dfe492dfe54e..e1d99911025d 100644 --- a/arch/blackfin/mach-bf518/include/mach/cdefBF514.h +++ b/arch/blackfin/mach-bf518/include/mach/cdefBF514.h | |||
| @@ -1,32 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf518/cdefbf514.h | 2 | * Copyright 2008-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later |
| 7 | * Description: system mmr register map | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * | ||
| 14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 15 | * | ||
| 16 | * This program is free software; you can redistribute it and/or modify | ||
| 17 | * it under the terms of the GNU General Public License as published by | ||
| 18 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 19 | * any later version. | ||
| 20 | * | ||
| 21 | * This program is distributed in the hope that it will be useful, | ||
| 22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 24 | * GNU General Public License for more details. | ||
| 25 | * | ||
| 26 | * You should have received a copy of the GNU General Public License | ||
| 27 | * along with this program; see the file COPYING. | ||
| 28 | * If not, write to the Free Software Foundation, | ||
| 29 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 30 | */ | 5 | */ |
| 31 | 6 | ||
| 32 | #ifndef _CDEF_BF514_H | 7 | #ifndef _CDEF_BF514_H |
diff --git a/arch/blackfin/mach-bf518/include/mach/cdefBF516.h b/arch/blackfin/mach-bf518/include/mach/cdefBF516.h index 14df43d4677a..6b364eda4947 100644 --- a/arch/blackfin/mach-bf518/include/mach/cdefBF516.h +++ b/arch/blackfin/mach-bf518/include/mach/cdefBF516.h | |||
| @@ -1,32 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf518/cdefbf516.h | 2 | * Copyright 2008-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later |
| 7 | * Description: system mmr register map | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * | ||
| 14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 15 | * | ||
| 16 | * This program is free software; you can redistribute it and/or modify | ||
| 17 | * it under the terms of the GNU General Public License as published by | ||
| 18 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 19 | * any later version. | ||
| 20 | * | ||
| 21 | * This program is distributed in the hope that it will be useful, | ||
| 22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 24 | * GNU General Public License for more details. | ||
| 25 | * | ||
| 26 | * You should have received a copy of the GNU General Public License | ||
| 27 | * along with this program; see the file COPYING. | ||
| 28 | * If not, write to the Free Software Foundation, | ||
| 29 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 30 | */ | 5 | */ |
| 31 | 6 | ||
| 32 | #ifndef _CDEF_BF516_H | 7 | #ifndef _CDEF_BF516_H |
diff --git a/arch/blackfin/mach-bf518/include/mach/cdefBF518.h b/arch/blackfin/mach-bf518/include/mach/cdefBF518.h index bafb370cfb3c..929b90650bd4 100644 --- a/arch/blackfin/mach-bf518/include/mach/cdefBF518.h +++ b/arch/blackfin/mach-bf518/include/mach/cdefBF518.h | |||
| @@ -1,32 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf518/cdefbf518.h | 2 | * Copyright 2008-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later |
| 7 | * Description: system mmr register map | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * | ||
| 14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 15 | * | ||
| 16 | * This program is free software; you can redistribute it and/or modify | ||
| 17 | * it under the terms of the GNU General Public License as published by | ||
| 18 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 19 | * any later version. | ||
| 20 | * | ||
| 21 | * This program is distributed in the hope that it will be useful, | ||
| 22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 24 | * GNU General Public License for more details. | ||
| 25 | * | ||
| 26 | * You should have received a copy of the GNU General Public License | ||
| 27 | * along with this program; see the file COPYING. | ||
| 28 | * If not, write to the Free Software Foundation, | ||
| 29 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 30 | */ | 5 | */ |
| 31 | 6 | ||
| 32 | #ifndef _CDEF_BF518_H | 7 | #ifndef _CDEF_BF518_H |
| @@ -211,6 +186,47 @@ | |||
| 211 | #define bfin_read_EMAC_TXC_ABORT() bfin_read32(EMAC_TXC_ABORT) | 186 | #define bfin_read_EMAC_TXC_ABORT() bfin_read32(EMAC_TXC_ABORT) |
| 212 | #define bfin_write_EMAC_TXC_ABORT(val) bfin_write32(EMAC_TXC_ABORT, val) | 187 | #define bfin_write_EMAC_TXC_ABORT(val) bfin_write32(EMAC_TXC_ABORT, val) |
| 213 | 188 | ||
| 189 | #define bfin_read_EMAC_PTP_CTL() bfin_read16(EMAC_PTP_CTL) | ||
| 190 | #define bfin_write_EMAC_PTP_CTL(val) bfin_write16(EMAC_PTP_CTL, val) | ||
| 191 | #define bfin_read_EMAC_PTP_IE() bfin_read16(EMAC_PTP_IE) | ||
| 192 | #define bfin_write_EMAC_PTP_IE(val) bfin_write16(EMAC_PTP_IE, val) | ||
| 193 | #define bfin_read_EMAC_PTP_ISTAT() bfin_read16(EMAC_PTP_ISTAT) | ||
| 194 | #define bfin_write_EMAC_PTP_ISTAT(val) bfin_write16(EMAC_PTP_ISTAT, val) | ||
| 195 | #define bfin_read_EMAC_PTP_FOFF() bfin_read32(EMAC_PTP_FOFF) | ||
| 196 | #define bfin_write_EMAC_PTP_FOFF(val) bfin_write32(EMAC_PTP_FOFF, val) | ||
| 197 | #define bfin_read_EMAC_PTP_FV1() bfin_read32(EMAC_PTP_FV1) | ||
| 198 | #define bfin_write_EMAC_PTP_FV1(val) bfin_write32(EMAC_PTP_FV1, val) | ||
| 199 | #define bfin_read_EMAC_PTP_FV2() bfin_read32(EMAC_PTP_FV2) | ||
| 200 | #define bfin_write_EMAC_PTP_FV2(val) bfin_write32(EMAC_PTP_FV2, val) | ||
| 201 | #define bfin_read_EMAC_PTP_FV3() bfin_read32(EMAC_PTP_FV3) | ||
| 202 | #define bfin_write_EMAC_PTP_FV3(val) bfin_write32(EMAC_PTP_FV3, val) | ||
| 203 | #define bfin_read_EMAC_PTP_ADDEND() bfin_read32(EMAC_PTP_ADDEND) | ||
| 204 | #define bfin_write_EMAC_PTP_ADDEND(val) bfin_write32(EMAC_PTP_ADDEND, val) | ||
| 205 | #define bfin_read_EMAC_PTP_ACCR() bfin_read32(EMAC_PTP_ACCR) | ||
| 206 | #define bfin_write_EMAC_PTP_ACCR(val) bfin_write32(EMAC_PTP_ACCR, val) | ||
| 207 | #define bfin_read_EMAC_PTP_OFFSET() bfin_read32(EMAC_PTP_OFFSET) | ||
| 208 | #define bfin_write_EMAC_PTP_OFFSET(val) bfin_write32(EMAC_PTP_OFFSET, val) | ||
| 209 | #define bfin_read_EMAC_PTP_TIMELO() bfin_read32(EMAC_PTP_TIMELO) | ||
| 210 | #define bfin_write_EMAC_PTP_TIMELO(val) bfin_write32(EMAC_PTP_TIMELO, val) | ||
| 211 | #define bfin_read_EMAC_PTP_TIMEHI() bfin_read32(EMAC_PTP_TIMEHI) | ||
| 212 | #define bfin_write_EMAC_PTP_TIMEHI(val) bfin_write32(EMAC_PTP_TIMEHI, val) | ||
| 213 | #define bfin_read_EMAC_PTP_RXSNAPLO() bfin_read32(EMAC_PTP_RXSNAPLO) | ||
| 214 | #define bfin_read_EMAC_PTP_RXSNAPHI() bfin_read32(EMAC_PTP_RXSNAPHI) | ||
| 215 | #define bfin_read_EMAC_PTP_TXSNAPLO() bfin_read32(EMAC_PTP_TXSNAPLO) | ||
| 216 | #define bfin_read_EMAC_PTP_TXSNAPHI() bfin_read32(EMAC_PTP_TXSNAPHI) | ||
| 217 | #define bfin_read_EMAC_PTP_ALARMLO() bfin_read32(EMAC_PTP_ALARMLO) | ||
| 218 | #define bfin_write_EMAC_PTP_ALARMLO(val) bfin_write32(EMAC_PTP_ALARMLO, val) | ||
| 219 | #define bfin_read_EMAC_PTP_ALARMHI() bfin_read32(EMAC_PTP_ALARMHI) | ||
| 220 | #define bfin_write_EMAC_PTP_ALARMHI(val) bfin_write32(EMAC_PTP_ALARMHI, val) | ||
| 221 | #define bfin_read_EMAC_PTP_ID_OFF() bfin_read16(EMAC_PTP_ID_OFF) | ||
| 222 | #define bfin_write_EMAC_PTP_ID_OFF(val) bfin_write16(EMAC_PTP_ID_OFF, val) | ||
| 223 | #define bfin_read_EMAC_PTP_ID_SNAP() bfin_read32(EMAC_PTP_ID_SNAP) | ||
| 224 | #define bfin_write_EMAC_PTP_ID_SNAP(val) bfin_write32(EMAC_PTP_ID_SNAP, val) | ||
| 225 | #define bfin_read_EMAC_PTP_PPS_STARTHI() bfin_read32(EMAC_PTP_PPS_STARTHI) | ||
| 226 | #define bfin_write_EMAC_PTP_PPS_STARTHI(val) bfin_write32(EMAC_PTP_PPS_STARTHI, val) | ||
| 227 | #define bfin_read_EMAC_PTP_PPS_PERIOD() bfin_read32(EMAC_PTP_PPS_PERIOD) | ||
| 228 | #define bfin_write_EMAC_PTP_PPS_PERIOD(val) bfin_write32(EMAC_PTP_PPS_PERIOD, val) | ||
| 229 | |||
| 214 | /* Removable Storage Interface Registers */ | 230 | /* Removable Storage Interface Registers */ |
| 215 | 231 | ||
| 216 | #define bfin_read_RSI_PWR_CTL() bfin_read16(RSI_PWR_CONTROL) | 232 | #define bfin_read_RSI_PWR_CTL() bfin_read16(RSI_PWR_CONTROL) |
diff --git a/arch/blackfin/mach-bf518/include/mach/cdefBF51x_base.h b/arch/blackfin/mach-bf518/include/mach/cdefBF51x_base.h index ee3d4733369c..1d970df7aee9 100644 --- a/arch/blackfin/mach-bf518/include/mach/cdefBF51x_base.h +++ b/arch/blackfin/mach-bf518/include/mach/cdefBF51x_base.h | |||
| @@ -1,31 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf518/cdefBF51x_base.h | 2 | * Copyright 2008 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 18 | * any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; see the file COPYING. | ||
| 27 | * If not, write to the Free Software Foundation, | ||
| 28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 29 | */ | 5 | */ |
| 30 | 6 | ||
| 31 | #ifndef _CDEF_BF52X_H | 7 | #ifndef _CDEF_BF52X_H |
diff --git a/arch/blackfin/mach-bf518/include/mach/defBF512.h b/arch/blackfin/mach-bf518/include/mach/defBF512.h index a96ca90154dd..9b505bb0cb2d 100644 --- a/arch/blackfin/mach-bf518/include/mach/defBF512.h +++ b/arch/blackfin/mach-bf518/include/mach/defBF512.h | |||
| @@ -1,31 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf518/defBF512.h | 2 | * Copyright 2008 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 18 | * any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; see the file COPYING. | ||
| 27 | * If not, write to the Free Software Foundation, | ||
| 28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 29 | */ | 5 | */ |
| 30 | 6 | ||
| 31 | #ifndef _DEF_BF512_H | 7 | #ifndef _DEF_BF512_H |
diff --git a/arch/blackfin/mach-bf518/include/mach/defBF514.h b/arch/blackfin/mach-bf518/include/mach/defBF514.h index 56ee5a7c2007..b5adca23a788 100644 --- a/arch/blackfin/mach-bf518/include/mach/defBF514.h +++ b/arch/blackfin/mach-bf518/include/mach/defBF514.h | |||
| @@ -1,31 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf518/defBF514.h | 2 | * Copyright 2008-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 18 | * any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; see the file COPYING. | ||
| 27 | * If not, write to the Free Software Foundation, | ||
| 28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 29 | */ | 5 | */ |
| 30 | 6 | ||
| 31 | #ifndef _DEF_BF514_H | 7 | #ifndef _DEF_BF514_H |
diff --git a/arch/blackfin/mach-bf518/include/mach/defBF516.h b/arch/blackfin/mach-bf518/include/mach/defBF516.h index dfc93843517d..7eb18774d727 100644 --- a/arch/blackfin/mach-bf518/include/mach/defBF516.h +++ b/arch/blackfin/mach-bf518/include/mach/defBF516.h | |||
| @@ -1,31 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf518/defBF516.h | 2 | * Copyright 2008-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 18 | * any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; see the file COPYING. | ||
| 27 | * If not, write to the Free Software Foundation, | ||
| 28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 29 | */ | 5 | */ |
| 30 | 6 | ||
| 31 | #ifndef _DEF_BF516_H | 7 | #ifndef _DEF_BF516_H |
diff --git a/arch/blackfin/mach-bf518/include/mach/defBF518.h b/arch/blackfin/mach-bf518/include/mach/defBF518.h index 6e982abf4ede..794cf06eb5ba 100644 --- a/arch/blackfin/mach-bf518/include/mach/defBF518.h +++ b/arch/blackfin/mach-bf518/include/mach/defBF518.h | |||
| @@ -1,31 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf518/defBF518.h | 2 | * Copyright 2008-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 18 | * any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; see the file COPYING. | ||
| 27 | * If not, write to the Free Software Foundation, | ||
| 28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 29 | */ | 5 | */ |
| 30 | 6 | ||
| 31 | #ifndef _DEF_BF518_H | 7 | #ifndef _DEF_BF518_H |
| @@ -648,4 +624,32 @@ | |||
| 648 | 624 | ||
| 649 | #define RWR 0x1 /* Read Wait Request */ | 625 | #define RWR 0x1 /* Read Wait Request */ |
| 650 | 626 | ||
| 627 | /* Bit masks for EMAC_PTP_CTL */ | ||
| 628 | |||
| 629 | #define PTP_EN 0x1 /* Enable the PTP_TSYNC module */ | ||
| 630 | #define TL 0x2 /* Timestamp lock control */ | ||
| 631 | #define ASEN 0x10 /* Auxiliary snapshot control */ | ||
| 632 | #define PPSEN 0x80 /* Pulse-per-second (PPS) control */ | ||
| 633 | #define CKOEN 0x2000 /* Clock output control */ | ||
| 634 | |||
| 635 | /* Bit masks for EMAC_PTP_IE */ | ||
| 636 | |||
| 637 | #define ALIE 0x1 /* Alarm interrupt enable */ | ||
| 638 | #define RXEIE 0x2 /* Receive event interrupt enable */ | ||
| 639 | #define RXGIE 0x4 /* Receive general interrupt enable */ | ||
| 640 | #define TXIE 0x8 /* Transmit interrupt enable */ | ||
| 641 | #define RXOVE 0x10 /* Receive overrun error interrupt enable */ | ||
| 642 | #define TXOVE 0x20 /* Transmit overrun error interrupt enable */ | ||
| 643 | #define ASIE 0x40 /* Auxiliary snapshot interrupt enable */ | ||
| 644 | |||
| 645 | /* Bit masks for EMAC_PTP_ISTAT */ | ||
| 646 | |||
| 647 | #define ALS 0x1 /* Alarm status */ | ||
| 648 | #define RXEL 0x2 /* Receive event interrupt status */ | ||
| 649 | #define RXGL 0x4 /* Receive general interrupt status */ | ||
| 650 | #define TXTL 0x8 /* Transmit snapshot status */ | ||
| 651 | #define RXOV 0x10 /* Receive snapshot overrun status */ | ||
| 652 | #define TXOV 0x20 /* Transmit snapshot overrun status */ | ||
| 653 | #define ASL 0x40 /* Auxiliary snapshot interrupt status */ | ||
| 654 | |||
| 651 | #endif /* _DEF_BF518_H */ | 655 | #endif /* _DEF_BF518_H */ |
diff --git a/arch/blackfin/mach-bf518/include/mach/defBF51x_base.h b/arch/blackfin/mach-bf518/include/mach/defBF51x_base.h index 1bec8d1c2a73..e06f4112c695 100644 --- a/arch/blackfin/mach-bf518/include/mach/defBF51x_base.h +++ b/arch/blackfin/mach-bf518/include/mach/defBF51x_base.h | |||
| @@ -1,31 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf518/defBF51x_base.h | 2 | * Copyright 2008 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 18 | * any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; see the file COPYING. | ||
| 27 | * If not, write to the Free Software Foundation, | ||
| 28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 29 | */ | 5 | */ |
| 30 | 6 | ||
| 31 | #ifndef _DEF_BF51X_H | 7 | #ifndef _DEF_BF51X_H |
diff --git a/arch/blackfin/mach-bf518/include/mach/gpio.h b/arch/blackfin/mach-bf518/include/mach/gpio.h index 9757683c3948..bbab2d76499c 100644 --- a/arch/blackfin/mach-bf518/include/mach/gpio.h +++ b/arch/blackfin/mach-bf518/include/mach/gpio.h | |||
| @@ -1,7 +1,4 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf518/include/mach/gpio.h | ||
| 3 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 4 | * | ||
| 5 | * Copyright (C) 2008 Analog Devices Inc. | 2 | * Copyright (C) 2008 Analog Devices Inc. |
| 6 | * Licensed under the GPL-2 or later. | 3 | * Licensed under the GPL-2 or later. |
| 7 | */ | 4 | */ |
diff --git a/arch/blackfin/mach-bf518/include/mach/irq.h b/arch/blackfin/mach-bf518/include/mach/irq.h index 3ff0f093313d..14e52ec7afa5 100644 --- a/arch/blackfin/mach-bf518/include/mach/irq.h +++ b/arch/blackfin/mach-bf518/include/mach/irq.h | |||
| @@ -1,32 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * file: include/asm-blackfin/mach-bf518/irq.h | 2 | * Copyright 2008 Analog Devices Inc. |
| 3 | * based on: include/asm-blackfin/mach-bf527/irq.h | ||
| 4 | * author: Michael Hennerich (michael.hennerich@analog.com) | ||
| 5 | * | 3 | * |
| 6 | * created: | 4 | * Licensed under the GPL-2 or later |
| 7 | * description: | ||
| 8 | * system mmr register map | ||
| 9 | * rev: | ||
| 10 | * | ||
| 11 | * modified: | ||
| 12 | * | ||
| 13 | * | ||
| 14 | * bugs: enter bugs at http://blackfin.uclinux.org/ | ||
| 15 | * | ||
| 16 | * this program is free software; you can redistribute it and/or modify | ||
| 17 | * it under the terms of the gnu general public license as published by | ||
| 18 | * the free software foundation; either version 2, or (at your option) | ||
| 19 | * any later version. | ||
| 20 | * | ||
| 21 | * this program is distributed in the hope that it will be useful, | ||
| 22 | * but without any warranty; without even the implied warranty of | ||
| 23 | * merchantability or fitness for a particular purpose. see the | ||
| 24 | * gnu general public license for more details. | ||
| 25 | * | ||
| 26 | * you should have received a copy of the gnu general public license | ||
| 27 | * along with this program; see the file copying. | ||
| 28 | * if not, write to the free software foundation, | ||
| 29 | * 59 temple place - suite 330, boston, ma 02111-1307, usa. | ||
| 30 | */ | 5 | */ |
| 31 | 6 | ||
| 32 | #ifndef _BF518_IRQ_H_ | 7 | #ifndef _BF518_IRQ_H_ |
diff --git a/arch/blackfin/mach-bf518/include/mach/portmux.h b/arch/blackfin/mach-bf518/include/mach/portmux.h index a0fc77fd3315..e352910f7f99 100644 --- a/arch/blackfin/mach-bf518/include/mach/portmux.h +++ b/arch/blackfin/mach-bf518/include/mach/portmux.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2008-2009 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the GPL-2 or later | ||
| 5 | */ | ||
| 6 | |||
| 1 | #ifndef _MACH_PORTMUX_H_ | 7 | #ifndef _MACH_PORTMUX_H_ |
| 2 | #define _MACH_PORTMUX_H_ | 8 | #define _MACH_PORTMUX_H_ |
| 3 | 9 | ||
diff --git a/arch/blackfin/mach-bf518/ints-priority.c b/arch/blackfin/mach-bf518/ints-priority.c index 3151fd5501ca..bb05bef34ec0 100644 --- a/arch/blackfin/mach-bf518/ints-priority.c +++ b/arch/blackfin/mach-bf518/ints-priority.c | |||
| @@ -1,30 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf518/ints-priority.c | 2 | * Set up the interrupt priorities |
| 3 | * Based on: arch/blackfin/mach-bf527/ints-priority.c | ||
| 4 | * Author: Bryan Wu <cooloney@kernel.org> | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Copyright 2008 Analog Devices Inc. |
| 7 | * Description: Set up the interrupt priorities | ||
| 8 | * | 5 | * |
| 9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
| 10 | * Copyright 2004-2007 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 7 | */ |
| 29 | 8 | ||
| 30 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/arch/blackfin/mach-bf527/boards/cm_bf527.c b/arch/blackfin/mach-bf527/boards/cm_bf527.c index 08a3f01c9886..f1996b13a3da 100644 --- a/arch/blackfin/mach-bf527/boards/cm_bf527.c +++ b/arch/blackfin/mach-bf527/boards/cm_bf527.c | |||
| @@ -1,31 +1,10 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf527/boards/cm-bf527.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: arch/blackfin/mach-bf537/boards/stamp.c | 3 | * 2008-2009 Bluetechnix |
| 4 | * Author: Aidan Williams <aidan@nicta.com.au> | 4 | * 2005 National ICT Australia (NICTA) |
| 5 | * Aidan Williams <aidan@nicta.com.au> | ||
| 5 | * | 6 | * |
| 6 | * Created: | 7 | * Licensed under the GPL-2 or later. |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2005 National ICT Australia (NICTA) | ||
| 11 | * Copyright 2004-2008 Analog Devices Inc. | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2 of the License, or | ||
| 18 | * (at your option) any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; if not, see the file COPYING, or write | ||
| 27 | * to the Free Software Foundation, Inc., | ||
| 28 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 29 | */ | 8 | */ |
| 30 | 9 | ||
| 31 | #include <linux/device.h> | 10 | #include <linux/device.h> |
| @@ -616,12 +595,6 @@ static struct platform_device bfin_spi0_device = { | |||
| 616 | }; | 595 | }; |
| 617 | #endif /* spi master and devices */ | 596 | #endif /* spi master and devices */ |
| 618 | 597 | ||
| 619 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
| 620 | static struct platform_device bfin_fb_adv7393_device = { | ||
| 621 | .name = "bfin-adv7393", | ||
| 622 | }; | ||
| 623 | #endif | ||
| 624 | |||
| 625 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) | 598 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) |
| 626 | static struct mtd_partition cm_partitions[] = { | 599 | static struct mtd_partition cm_partitions[] = { |
| 627 | { | 600 | { |
| @@ -786,6 +759,11 @@ static struct i2c_board_info __initdata bfin_i2c_board_info[] = { | |||
| 786 | .irq = IRQ_PF8, | 759 | .irq = IRQ_PF8, |
| 787 | }, | 760 | }, |
| 788 | #endif | 761 | #endif |
| 762 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
| 763 | { | ||
| 764 | I2C_BOARD_INFO("bfin-adv7393", 0x2B), | ||
| 765 | }, | ||
| 766 | #endif | ||
| 789 | }; | 767 | }; |
| 790 | 768 | ||
| 791 | #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) | 769 | #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) |
| @@ -821,19 +799,6 @@ static struct platform_device bfin_device_gpiokeys = { | |||
| 821 | }; | 799 | }; |
| 822 | #endif | 800 | #endif |
| 823 | 801 | ||
| 824 | static struct resource bfin_gpios_resources = { | ||
| 825 | .start = 0, | ||
| 826 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
| 827 | .flags = IORESOURCE_IRQ, | ||
| 828 | }; | ||
| 829 | |||
| 830 | static struct platform_device bfin_gpios_device = { | ||
| 831 | .name = "simple-gpio", | ||
| 832 | .id = -1, | ||
| 833 | .num_resources = 1, | ||
| 834 | .resource = &bfin_gpios_resources, | ||
| 835 | }; | ||
| 836 | |||
| 837 | static const unsigned int cclk_vlev_datasheet[] = | 802 | static const unsigned int cclk_vlev_datasheet[] = |
| 838 | { | 803 | { |
| 839 | VRPAIR(VLEV_100, 400000000), | 804 | VRPAIR(VLEV_100, 400000000), |
| @@ -909,10 +874,6 @@ static struct platform_device *cmbf527_devices[] __initdata = { | |||
| 909 | &bfin_spi0_device, | 874 | &bfin_spi0_device, |
| 910 | #endif | 875 | #endif |
| 911 | 876 | ||
| 912 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
| 913 | &bfin_fb_adv7393_device, | ||
| 914 | #endif | ||
| 915 | |||
| 916 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | 877 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) |
| 917 | &bfin_uart_device, | 878 | &bfin_uart_device, |
| 918 | #endif | 879 | #endif |
| @@ -942,8 +903,6 @@ static struct platform_device *cmbf527_devices[] __initdata = { | |||
| 942 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) | 903 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) |
| 943 | &cm_flash_device, | 904 | &cm_flash_device, |
| 944 | #endif | 905 | #endif |
| 945 | |||
| 946 | &bfin_gpios_device, | ||
| 947 | }; | 906 | }; |
| 948 | 907 | ||
| 949 | static int __init cm_init(void) | 908 | static int __init cm_init(void) |
diff --git a/arch/blackfin/mach-bf527/boards/ezbrd.c b/arch/blackfin/mach-bf527/boards/ezbrd.c index 68b4c804364c..cad23b15d83c 100644 --- a/arch/blackfin/mach-bf527/boards/ezbrd.c +++ b/arch/blackfin/mach-bf527/boards/ezbrd.c | |||
| @@ -1,31 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf527/boards/ezbrd.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: arch/blackfin/mach-bf537/boards/stamp.c | 3 | * 2005 National ICT Australia (NICTA) |
| 4 | * Author: Aidan Williams <aidan@nicta.com.au> | 4 | * Aidan Williams <aidan@nicta.com.au> |
| 5 | * | 5 | * |
| 6 | * Created: | 6 | * Licensed under the GPL-2 or later. |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2005 National ICT Australia (NICTA) | ||
| 11 | * Copyright 2004-2008 Analog Devices Inc. | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2 of the License, or | ||
| 18 | * (at your option) any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; if not, see the file COPYING, or write | ||
| 27 | * to the Free Software Foundation, Inc., | ||
| 28 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 29 | */ | 7 | */ |
| 30 | 8 | ||
| 31 | #include <linux/device.h> | 9 | #include <linux/device.h> |
| @@ -611,19 +589,6 @@ static struct platform_device bfin_device_gpiokeys = { | |||
| 611 | }; | 589 | }; |
| 612 | #endif | 590 | #endif |
| 613 | 591 | ||
| 614 | static struct resource bfin_gpios_resources = { | ||
| 615 | .start = 0, | ||
| 616 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
| 617 | .flags = IORESOURCE_IRQ, | ||
| 618 | }; | ||
| 619 | |||
| 620 | static struct platform_device bfin_gpios_device = { | ||
| 621 | .name = "simple-gpio", | ||
| 622 | .id = -1, | ||
| 623 | .num_resources = 1, | ||
| 624 | .resource = &bfin_gpios_resources, | ||
| 625 | }; | ||
| 626 | |||
| 627 | static const unsigned int cclk_vlev_datasheet[] = | 592 | static const unsigned int cclk_vlev_datasheet[] = |
| 628 | { | 593 | { |
| 629 | VRPAIR(VLEV_100, 400000000), | 594 | VRPAIR(VLEV_100, 400000000), |
| @@ -732,8 +697,6 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
| 732 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) | 697 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) |
| 733 | &ezbrd_flash_device, | 698 | &ezbrd_flash_device, |
| 734 | #endif | 699 | #endif |
| 735 | |||
| 736 | &bfin_gpios_device, | ||
| 737 | }; | 700 | }; |
| 738 | 701 | ||
| 739 | static int __init ezbrd_init(void) | 702 | static int __init ezbrd_init(void) |
diff --git a/arch/blackfin/mach-bf527/boards/ezkit.c b/arch/blackfin/mach-bf527/boards/ezkit.c index 2849b09abe99..f09665f74ba0 100644 --- a/arch/blackfin/mach-bf527/boards/ezkit.c +++ b/arch/blackfin/mach-bf527/boards/ezkit.c | |||
| @@ -1,31 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf527/boards/ezkit.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: arch/blackfin/mach-bf537/boards/stamp.c | 3 | * 2005 National ICT Australia (NICTA) |
| 4 | * Author: Aidan Williams <aidan@nicta.com.au> | 4 | * Aidan Williams <aidan@nicta.com.au> |
| 5 | * | 5 | * |
| 6 | * Created: | 6 | * Licensed under the GPL-2 or later. |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2005 National ICT Australia (NICTA) | ||
| 11 | * Copyright 2004-2008 Analog Devices Inc. | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2 of the License, or | ||
| 18 | * (at your option) any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; if not, see the file COPYING, or write | ||
| 27 | * to the Free Software Foundation, Inc., | ||
| 28 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 29 | */ | 7 | */ |
| 30 | 8 | ||
| 31 | #include <linux/device.h> | 9 | #include <linux/device.h> |
| @@ -716,12 +694,6 @@ static struct platform_device bfin_fb_device = { | |||
| 716 | }; | 694 | }; |
| 717 | #endif | 695 | #endif |
| 718 | 696 | ||
| 719 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
| 720 | static struct platform_device bfin_fb_adv7393_device = { | ||
| 721 | .name = "bfin-adv7393", | ||
| 722 | }; | ||
| 723 | #endif | ||
| 724 | |||
| 725 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | 697 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) |
| 726 | static struct resource bfin_uart_resources[] = { | 698 | static struct resource bfin_uart_resources[] = { |
| 727 | #ifdef CONFIG_SERIAL_BFIN_UART0 | 699 | #ifdef CONFIG_SERIAL_BFIN_UART0 |
| @@ -837,6 +809,11 @@ static struct i2c_board_info __initdata bfin_i2c_board_info[] = { | |||
| 837 | .irq = IRQ_PF8, | 809 | .irq = IRQ_PF8, |
| 838 | }, | 810 | }, |
| 839 | #endif | 811 | #endif |
| 812 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
| 813 | { | ||
| 814 | I2C_BOARD_INFO("bfin-adv7393", 0x2B), | ||
| 815 | }, | ||
| 816 | #endif | ||
| 840 | }; | 817 | }; |
| 841 | 818 | ||
| 842 | #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) | 819 | #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) |
| @@ -905,19 +882,6 @@ static struct platform_device bfin_rotary_device = { | |||
| 905 | }; | 882 | }; |
| 906 | #endif | 883 | #endif |
| 907 | 884 | ||
| 908 | static struct resource bfin_gpios_resources = { | ||
| 909 | .start = 0, | ||
| 910 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
| 911 | .flags = IORESOURCE_IRQ, | ||
| 912 | }; | ||
| 913 | |||
| 914 | static struct platform_device bfin_gpios_device = { | ||
| 915 | .name = "simple-gpio", | ||
| 916 | .id = -1, | ||
| 917 | .num_resources = 1, | ||
| 918 | .resource = &bfin_gpios_resources, | ||
| 919 | }; | ||
| 920 | |||
| 921 | static const unsigned int cclk_vlev_datasheet[] = | 885 | static const unsigned int cclk_vlev_datasheet[] = |
| 922 | { | 886 | { |
| 923 | VRPAIR(VLEV_100, 400000000), | 887 | VRPAIR(VLEV_100, 400000000), |
| @@ -1001,10 +965,6 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
| 1001 | &bf52x_t350mcqb_device, | 965 | &bf52x_t350mcqb_device, |
| 1002 | #endif | 966 | #endif |
| 1003 | 967 | ||
| 1004 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
| 1005 | &bfin_fb_adv7393_device, | ||
| 1006 | #endif | ||
| 1007 | |||
| 1008 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | 968 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) |
| 1009 | &bfin_uart_device, | 969 | &bfin_uart_device, |
| 1010 | #endif | 970 | #endif |
| @@ -1038,8 +998,6 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
| 1038 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) | 998 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) |
| 1039 | &ezkit_flash_device, | 999 | &ezkit_flash_device, |
| 1040 | #endif | 1000 | #endif |
| 1041 | |||
| 1042 | &bfin_gpios_device, | ||
| 1043 | }; | 1001 | }; |
| 1044 | 1002 | ||
| 1045 | static int __init ezkit_init(void) | 1003 | static int __init ezkit_init(void) |
diff --git a/arch/blackfin/mach-bf527/dma.c b/arch/blackfin/mach-bf527/dma.c index 231877578243..7bc7577d6c4f 100644 --- a/arch/blackfin/mach-bf527/dma.c +++ b/arch/blackfin/mach-bf527/dma.c | |||
| @@ -1,31 +1,11 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf527/dma.c | 2 | * This file contains the simple DMA Implementation for Blackfin |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Copyright 2007-2008 Analog Devices Inc. |
| 7 | * Description: This file contains the simple DMA Implementation for Blackfin | ||
| 8 | * | 5 | * |
| 9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
| 10 | * Copyright 2004-2007 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 7 | */ |
| 8 | |||
| 29 | #include <linux/module.h> | 9 | #include <linux/module.h> |
| 30 | 10 | ||
| 31 | #include <asm/blackfin.h> | 11 | #include <asm/blackfin.h> |
diff --git a/arch/blackfin/mach-bf527/include/mach/bf527.h b/arch/blackfin/mach-bf527/include/mach/bf527.h index 3832aab11e9a..ff68c8897087 100644 --- a/arch/blackfin/mach-bf527/include/mach/bf527.h +++ b/arch/blackfin/mach-bf527/include/mach/bf527.h | |||
| @@ -1,30 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf527/bf527.h | 2 | * Copyright 2007-2009 Analog Devices Inc. |
| 3 | * Based on: include/asm-blackfin/mach-bf537/bf537.h | ||
| 4 | * Author: Michael Hennerich (michael.hennerich@analog.com) | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
| 7 | * Description: SYSTEM MMR REGISTER AND MEMORY MAP FOR ADSP-BF527 | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2004-2007 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 5 | */ |
| 29 | 6 | ||
| 30 | #ifndef __MACH_BF527_H__ | 7 | #ifndef __MACH_BF527_H__ |
diff --git a/arch/blackfin/mach-bf527/include/mach/bfin_serial_5xx.h b/arch/blackfin/mach-bf527/include/mach/bfin_serial_5xx.h index ebd6cebc1fbc..c1d55b878b45 100644 --- a/arch/blackfin/mach-bf527/include/mach/bfin_serial_5xx.h +++ b/arch/blackfin/mach-bf527/include/mach/bfin_serial_5xx.h | |||
| @@ -1,32 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * file: include/asm-blackfin/mach-bf527/bfin_serial_5xx.h | 2 | * Copyright 2007-2009 Analog Devices Inc. |
| 3 | * based on: | ||
| 4 | * author: | ||
| 5 | * | 3 | * |
| 6 | * created: | 4 | * Licensed under the GPL-2 or later |
| 7 | * description: | ||
| 8 | * blackfin serial driver head file | ||
| 9 | * rev: | ||
| 10 | * | ||
| 11 | * modified: | ||
| 12 | * | ||
| 13 | * | ||
| 14 | * bugs: enter bugs at http://blackfin.uclinux.org/ | ||
| 15 | * | ||
| 16 | * this program is free software; you can redistribute it and/or modify | ||
| 17 | * it under the terms of the gnu general public license as published by | ||
| 18 | * the free software foundation; either version 2, or (at your option) | ||
| 19 | * any later version. | ||
| 20 | * | ||
| 21 | * this program is distributed in the hope that it will be useful, | ||
| 22 | * but without any warranty; without even the implied warranty of | ||
| 23 | * merchantability or fitness for a particular purpose. see the | ||
| 24 | * gnu general public license for more details. | ||
| 25 | * | ||
| 26 | * you should have received a copy of the gnu general public license | ||
| 27 | * along with this program; see the file copying. | ||
| 28 | * if not, write to the free software foundation, | ||
| 29 | * 59 temple place - suite 330, boston, ma 02111-1307, usa. | ||
| 30 | */ | 5 | */ |
| 31 | 6 | ||
| 32 | #include <linux/serial.h> | 7 | #include <linux/serial.h> |
diff --git a/arch/blackfin/mach-bf527/include/mach/blackfin.h b/arch/blackfin/mach-bf527/include/mach/blackfin.h index ea9cb0fef8bc..e7d6034f268f 100644 --- a/arch/blackfin/mach-bf527/include/mach/blackfin.h +++ b/arch/blackfin/mach-bf527/include/mach/blackfin.h | |||
| @@ -1,32 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf527/blackfin.h | 2 | * Copyright 2007-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * | ||
| 14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 15 | * | ||
| 16 | * This program is free software; you can redistribute it and/or modify | ||
| 17 | * it under the terms of the GNU General Public License as published by | ||
| 18 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 19 | * any later version. | ||
| 20 | * | ||
| 21 | * This program is distributed in the hope that it will be useful, | ||
| 22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 24 | * GNU General Public License for more details. | ||
| 25 | * | ||
| 26 | * You should have received a copy of the GNU General Public License | ||
| 27 | * along with this program; see the file COPYING. | ||
| 28 | * If not, write to the Free Software Foundation, | ||
| 29 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 30 | */ | 5 | */ |
| 31 | 6 | ||
| 32 | #ifndef _MACH_BLACKFIN_H_ | 7 | #ifndef _MACH_BLACKFIN_H_ |
diff --git a/arch/blackfin/mach-bf527/include/mach/cdefBF522.h b/arch/blackfin/mach-bf527/include/mach/cdefBF522.h index 663c2bbdfd91..1079af8c7aef 100644 --- a/arch/blackfin/mach-bf527/include/mach/cdefBF522.h +++ b/arch/blackfin/mach-bf527/include/mach/cdefBF522.h | |||
| @@ -1,32 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf527/cdefbf522.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later |
| 7 | * Description: system mmr register map | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * | ||
| 14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 15 | * | ||
| 16 | * This program is free software; you can redistribute it and/or modify | ||
| 17 | * it under the terms of the GNU General Public License as published by | ||
| 18 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 19 | * any later version. | ||
| 20 | * | ||
| 21 | * This program is distributed in the hope that it will be useful, | ||
| 22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 24 | * GNU General Public License for more details. | ||
| 25 | * | ||
| 26 | * You should have received a copy of the GNU General Public License | ||
| 27 | * along with this program; see the file COPYING. | ||
| 28 | * If not, write to the Free Software Foundation, | ||
| 29 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 30 | */ | 5 | */ |
| 31 | 6 | ||
| 32 | #ifndef _CDEF_BF522_H | 7 | #ifndef _CDEF_BF522_H |
diff --git a/arch/blackfin/mach-bf527/include/mach/cdefBF525.h b/arch/blackfin/mach-bf527/include/mach/cdefBF525.h index 00377eb59b75..dc3119e9f663 100644 --- a/arch/blackfin/mach-bf527/include/mach/cdefBF525.h +++ b/arch/blackfin/mach-bf527/include/mach/cdefBF525.h | |||
| @@ -1,32 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf527/cdefbf525.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later |
| 7 | * Description: system mmr register map | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * | ||
| 14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 15 | * | ||
| 16 | * This program is free software; you can redistribute it and/or modify | ||
| 17 | * it under the terms of the GNU General Public License as published by | ||
| 18 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 19 | * any later version. | ||
| 20 | * | ||
| 21 | * This program is distributed in the hope that it will be useful, | ||
| 22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 24 | * GNU General Public License for more details. | ||
| 25 | * | ||
| 26 | * You should have received a copy of the GNU General Public License | ||
| 27 | * along with this program; see the file COPYING. | ||
| 28 | * If not, write to the Free Software Foundation, | ||
| 29 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 30 | */ | 5 | */ |
| 31 | 6 | ||
| 32 | #ifndef _CDEF_BF525_H | 7 | #ifndef _CDEF_BF525_H |
diff --git a/arch/blackfin/mach-bf527/include/mach/cdefBF527.h b/arch/blackfin/mach-bf527/include/mach/cdefBF527.h index fca8db708119..d6579449ee46 100644 --- a/arch/blackfin/mach-bf527/include/mach/cdefBF527.h +++ b/arch/blackfin/mach-bf527/include/mach/cdefBF527.h | |||
| @@ -1,32 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf527/cdefbf527.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later |
| 7 | * Description: system mmr register map | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * | ||
| 14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 15 | * | ||
| 16 | * This program is free software; you can redistribute it and/or modify | ||
| 17 | * it under the terms of the GNU General Public License as published by | ||
| 18 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 19 | * any later version. | ||
| 20 | * | ||
| 21 | * This program is distributed in the hope that it will be useful, | ||
| 22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 24 | * GNU General Public License for more details. | ||
| 25 | * | ||
| 26 | * You should have received a copy of the GNU General Public License | ||
| 27 | * along with this program; see the file COPYING. | ||
| 28 | * If not, write to the Free Software Foundation, | ||
| 29 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 30 | */ | 5 | */ |
| 31 | 6 | ||
| 32 | #ifndef _CDEF_BF527_H | 7 | #ifndef _CDEF_BF527_H |
diff --git a/arch/blackfin/mach-bf527/include/mach/cdefBF52x_base.h b/arch/blackfin/mach-bf527/include/mach/cdefBF52x_base.h index 1fe76d8e0403..7014dde10dd6 100644 --- a/arch/blackfin/mach-bf527/include/mach/cdefBF52x_base.h +++ b/arch/blackfin/mach-bf527/include/mach/cdefBF52x_base.h | |||
| @@ -1,31 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf527/cdefBF52x_base.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 18 | * any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; see the file COPYING. | ||
| 27 | * If not, write to the Free Software Foundation, | ||
| 28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 29 | */ | 5 | */ |
| 30 | 6 | ||
| 31 | #ifndef _CDEF_BF52X_H | 7 | #ifndef _CDEF_BF52X_H |
diff --git a/arch/blackfin/mach-bf527/include/mach/defBF522.h b/arch/blackfin/mach-bf527/include/mach/defBF522.h index 0a8cdcdf0b49..cb139a254810 100644 --- a/arch/blackfin/mach-bf527/include/mach/defBF522.h +++ b/arch/blackfin/mach-bf527/include/mach/defBF522.h | |||
| @@ -1,31 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf527/defBF522.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 18 | * any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; see the file COPYING. | ||
| 27 | * If not, write to the Free Software Foundation, | ||
| 28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 29 | */ | 5 | */ |
| 30 | 6 | ||
| 31 | #ifndef _DEF_BF522_H | 7 | #ifndef _DEF_BF522_H |
diff --git a/arch/blackfin/mach-bf527/include/mach/defBF525.h b/arch/blackfin/mach-bf527/include/mach/defBF525.h index 5cd7576fef76..82abefc1ef6c 100644 --- a/arch/blackfin/mach-bf527/include/mach/defBF525.h +++ b/arch/blackfin/mach-bf527/include/mach/defBF525.h | |||
| @@ -1,31 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf527/defBF525.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 18 | * any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; see the file COPYING. | ||
| 27 | * If not, write to the Free Software Foundation, | ||
| 28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 29 | */ | 5 | */ |
| 30 | 6 | ||
| 31 | #ifndef _DEF_BF525_H | 7 | #ifndef _DEF_BF525_H |
diff --git a/arch/blackfin/mach-bf527/include/mach/defBF527.h b/arch/blackfin/mach-bf527/include/mach/defBF527.h index f040f364afa3..570a125df025 100644 --- a/arch/blackfin/mach-bf527/include/mach/defBF527.h +++ b/arch/blackfin/mach-bf527/include/mach/defBF527.h | |||
| @@ -1,31 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf527/defBF527.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 18 | * any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; see the file COPYING. | ||
| 27 | * If not, write to the Free Software Foundation, | ||
| 28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 29 | */ | 5 | */ |
| 30 | 6 | ||
| 31 | #ifndef _DEF_BF527_H | 7 | #ifndef _DEF_BF527_H |
diff --git a/arch/blackfin/mach-bf527/include/mach/defBF52x_base.h b/arch/blackfin/mach-bf527/include/mach/defBF52x_base.h index 68b55d03fedf..f821700716ee 100644 --- a/arch/blackfin/mach-bf527/include/mach/defBF52x_base.h +++ b/arch/blackfin/mach-bf527/include/mach/defBF52x_base.h | |||
| @@ -1,31 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf527/defBF52x_base.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 18 | * any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; see the file COPYING. | ||
| 27 | * If not, write to the Free Software Foundation, | ||
| 28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 29 | */ | 5 | */ |
| 30 | 6 | ||
| 31 | #ifndef _DEF_BF52X_H | 7 | #ifndef _DEF_BF52X_H |
diff --git a/arch/blackfin/mach-bf527/include/mach/gpio.h b/arch/blackfin/mach-bf527/include/mach/gpio.h index 06b6eebf0d49..104bff85290d 100644 --- a/arch/blackfin/mach-bf527/include/mach/gpio.h +++ b/arch/blackfin/mach-bf527/include/mach/gpio.h | |||
| @@ -1,7 +1,4 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf527/include/mach/gpio.h | ||
| 3 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 4 | * | ||
| 5 | * Copyright (C) 2008 Analog Devices Inc. | 2 | * Copyright (C) 2008 Analog Devices Inc. |
| 6 | * Licensed under the GPL-2 or later. | 3 | * Licensed under the GPL-2 or later. |
| 7 | */ | 4 | */ |
diff --git a/arch/blackfin/mach-bf527/include/mach/irq.h b/arch/blackfin/mach-bf527/include/mach/irq.h index 8ea660d8151f..aa6579a64a2f 100644 --- a/arch/blackfin/mach-bf527/include/mach/irq.h +++ b/arch/blackfin/mach-bf527/include/mach/irq.h | |||
| @@ -1,32 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * file: include/asm-blackfin/mach-bf527/irq.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
| 3 | * based on: include/asm-blackfin/mach-bf537/irq.h | ||
| 4 | * author: Michael Hennerich (michael.hennerich@analog.com) | ||
| 5 | * | 3 | * |
| 6 | * created: | 4 | * Licensed under the GPL-2 or later |
| 7 | * description: | ||
| 8 | * system mmr register map | ||
| 9 | * rev: | ||
| 10 | * | ||
| 11 | * modified: | ||
| 12 | * | ||
| 13 | * | ||
| 14 | * bugs: enter bugs at http://blackfin.uclinux.org/ | ||
| 15 | * | ||
| 16 | * this program is free software; you can redistribute it and/or modify | ||
| 17 | * it under the terms of the gnu general public license as published by | ||
| 18 | * the free software foundation; either version 2, or (at your option) | ||
| 19 | * any later version. | ||
| 20 | * | ||
| 21 | * this program is distributed in the hope that it will be useful, | ||
| 22 | * but without any warranty; without even the implied warranty of | ||
| 23 | * merchantability or fitness for a particular purpose. see the | ||
| 24 | * gnu general public license for more details. | ||
| 25 | * | ||
| 26 | * you should have received a copy of the gnu general public license | ||
| 27 | * along with this program; see the file copying. | ||
| 28 | * if not, write to the free software foundation, | ||
| 29 | * 59 temple place - suite 330, boston, ma 02111-1307, usa. | ||
| 30 | */ | 5 | */ |
| 31 | 6 | ||
| 32 | #ifndef _BF527_IRQ_H_ | 7 | #ifndef _BF527_IRQ_H_ |
diff --git a/arch/blackfin/mach-bf527/include/mach/portmux.h b/arch/blackfin/mach-bf527/include/mach/portmux.h index 72b1652be4da..d4518b6f4adf 100644 --- a/arch/blackfin/mach-bf527/include/mach/portmux.h +++ b/arch/blackfin/mach-bf527/include/mach/portmux.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2007-2009 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the GPL-2 or later | ||
| 5 | */ | ||
| 6 | |||
| 1 | #ifndef _MACH_PORTMUX_H_ | 7 | #ifndef _MACH_PORTMUX_H_ |
| 2 | #define _MACH_PORTMUX_H_ | 8 | #define _MACH_PORTMUX_H_ |
| 3 | 9 | ||
diff --git a/arch/blackfin/mach-bf527/ints-priority.c b/arch/blackfin/mach-bf527/ints-priority.c index f8c8acd73e30..44ca215bf164 100644 --- a/arch/blackfin/mach-bf527/ints-priority.c +++ b/arch/blackfin/mach-bf527/ints-priority.c | |||
| @@ -1,30 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf537/ints-priority.c | 2 | * Set up the interrupt priorities |
| 3 | * Based on: arch/blackfin/mach-bf533/ints-priority.c | ||
| 4 | * Author: Michael Hennerich (michael.hennerich@analog.com) | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Copyright 2007-2008 Analog Devices Inc. |
| 7 | * Description: Set up the interrupt priorities | ||
| 8 | * | 5 | * |
| 9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
| 10 | * Copyright 2004-2007 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 7 | */ |
| 29 | 8 | ||
| 30 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/arch/blackfin/mach-bf533/boards/H8606.c b/arch/blackfin/mach-bf533/boards/H8606.c index 6c2b47fe4fe4..43f43a095a99 100644 --- a/arch/blackfin/mach-bf533/boards/H8606.c +++ b/arch/blackfin/mach-bf533/boards/H8606.c | |||
| @@ -1,32 +1,11 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf533/H8606.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: arch/blackfin/mach-bf533/stamp.c | 3 | * 2007-2008 HV Sistemas S.L. |
| 4 | * Author: Javier Herrero <jherrero@hvsistemas.es> | 4 | * Javier Herrero <jherrero@hvsistemas.es> |
| 5 | * 2005 National ICT Australia (NICTA) | ||
| 6 | * Aidan Williams <aidan@nicta.com.au> | ||
| 5 | * | 7 | * |
| 6 | * Created: 2007 | 8 | * Licensed under the GPL-2 or later. |
| 7 | * Description: Board Info File for the HV Sistemas H8606 board | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2005 National ICT Australia (NICTA) | ||
| 11 | * Copyright 2004-2006 Analog Devices Inc | ||
| 12 | * Copyright 2007,2008 HV Sistemas S.L. | ||
| 13 | * | ||
| 14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 15 | * | ||
| 16 | * This program is free software; you can redistribute it and/or modify | ||
| 17 | * it under the terms of the GNU General Public License as published by | ||
| 18 | * the Free Software Foundation; either version 2 of the License, or | ||
| 19 | * (at your option) any later version. | ||
| 20 | * | ||
| 21 | * This program is distributed in the hope that it will be useful, | ||
| 22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 24 | * GNU General Public License for more details. | ||
| 25 | * | ||
| 26 | * You should have received a copy of the GNU General Public License | ||
| 27 | * along with this program; if not, see the file COPYING, or write | ||
| 28 | * to the Free Software Foundation, Inc., | ||
| 29 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 30 | */ | 9 | */ |
| 31 | 10 | ||
| 32 | #include <linux/device.h> | 11 | #include <linux/device.h> |
diff --git a/arch/blackfin/mach-bf533/boards/blackstamp.c b/arch/blackfin/mach-bf533/boards/blackstamp.c index 8208d67e2c97..b580884848d4 100644 --- a/arch/blackfin/mach-bf533/boards/blackstamp.c +++ b/arch/blackfin/mach-bf533/boards/blackstamp.c | |||
| @@ -1,16 +1,10 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf533/blackstamp.c | 2 | * Board Info File for the BlackStamp |
| 3 | * Based on: arch/blackfin/mach-bf533/stamp.c | ||
| 4 | * Author: Benjamin Matthews <bmat@lle.rochester.edu> | ||
| 5 | * Aidan Williams <aidan@nicta.com.au> | ||
| 6 | * | 3 | * |
| 7 | * Created: 2008 | ||
| 8 | * Description: Board Info File for the BlackStamp | ||
| 9 | * | ||
| 10 | * Copyright 2005 National ICT Australia (NICTA) | ||
| 11 | * Copyright 2004-2008 Analog Devices Inc. | 4 | * Copyright 2004-2008 Analog Devices Inc. |
| 12 | * | 5 | * 2008 Benjamin Matthews <bmat@lle.rochester.edu> |
| 13 | * Enter bugs at http://blackfin.uclinux.org/ | 6 | * 2005 National ICT Australia (NICTA) |
| 7 | * Aidan Williams <aidan@nicta.com.au> | ||
| 14 | * | 8 | * |
| 15 | * More info about the BlackStamp at: | 9 | * More info about the BlackStamp at: |
| 16 | * http://blackfin.uclinux.org/gf/project/blackstamp/ | 10 | * http://blackfin.uclinux.org/gf/project/blackstamp/ |
| @@ -281,19 +275,6 @@ static struct platform_device bfin_device_gpiokeys = { | |||
| 281 | }; | 275 | }; |
| 282 | #endif | 276 | #endif |
| 283 | 277 | ||
| 284 | static struct resource bfin_gpios_resources = { | ||
| 285 | .start = 0, | ||
| 286 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
| 287 | .flags = IORESOURCE_IRQ, | ||
| 288 | }; | ||
| 289 | |||
| 290 | static struct platform_device bfin_gpios_device = { | ||
| 291 | .name = "simple-gpio", | ||
| 292 | .id = -1, | ||
| 293 | .num_resources = 1, | ||
| 294 | .resource = &bfin_gpios_resources, | ||
| 295 | }; | ||
| 296 | |||
| 297 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) | 278 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) |
| 298 | #include <linux/i2c-gpio.h> | 279 | #include <linux/i2c-gpio.h> |
| 299 | 280 | ||
| @@ -384,8 +365,6 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
| 384 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) | 365 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) |
| 385 | &i2c_gpio_device, | 366 | &i2c_gpio_device, |
| 386 | #endif | 367 | #endif |
| 387 | |||
| 388 | &bfin_gpios_device, | ||
| 389 | }; | 368 | }; |
| 390 | 369 | ||
| 391 | static int __init blackstamp_init(void) | 370 | static int __init blackstamp_init(void) |
diff --git a/arch/blackfin/mach-bf533/boards/cm_bf533.c b/arch/blackfin/mach-bf533/boards/cm_bf533.c index 7443b26c80c5..7fc3b860d4ae 100644 --- a/arch/blackfin/mach-bf533/boards/cm_bf533.c +++ b/arch/blackfin/mach-bf533/boards/cm_bf533.c | |||
| @@ -1,30 +1,10 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf533/boards/cm_bf533.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: arch/blackfin/mach-bf533/boards/ezkit.c | 3 | * 2008-2009 Bluetechnix |
| 4 | * Author: Aidan Williams <aidan@nicta.com.au> Copyright 2005 | 4 | * 2005 National ICT Australia (NICTA) |
| 5 | * Aidan Williams <aidan@nicta.com.au> | ||
| 5 | * | 6 | * |
| 6 | * Created: 2005 | 7 | * Licensed under the GPL-2 or later. |
| 7 | * Description: Board description file | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 8 | */ |
| 29 | 9 | ||
| 30 | #include <linux/device.h> | 10 | #include <linux/device.h> |
| @@ -261,19 +241,6 @@ static struct platform_device smsc911x_device = { | |||
| 261 | }; | 241 | }; |
| 262 | #endif | 242 | #endif |
| 263 | 243 | ||
| 264 | static struct resource bfin_gpios_resources = { | ||
| 265 | .start = 0, | ||
| 266 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
| 267 | .flags = IORESOURCE_IRQ, | ||
| 268 | }; | ||
| 269 | |||
| 270 | static struct platform_device bfin_gpios_device = { | ||
| 271 | .name = "simple-gpio", | ||
| 272 | .id = -1, | ||
| 273 | .num_resources = 1, | ||
| 274 | .resource = &bfin_gpios_resources, | ||
| 275 | }; | ||
| 276 | |||
| 277 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | 244 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) |
| 278 | static struct resource bfin_uart_resources[] = { | 245 | static struct resource bfin_uart_resources[] = { |
| 279 | { | 246 | { |
| @@ -506,8 +473,6 @@ static struct platform_device *cm_bf533_devices[] __initdata = { | |||
| 506 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) | 473 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) |
| 507 | ¶_flash_device, | 474 | ¶_flash_device, |
| 508 | #endif | 475 | #endif |
| 509 | |||
| 510 | &bfin_gpios_device, | ||
| 511 | }; | 476 | }; |
| 512 | 477 | ||
| 513 | static int __init cm_bf533_init(void) | 478 | static int __init cm_bf533_init(void) |
diff --git a/arch/blackfin/mach-bf533/boards/ezkit.c b/arch/blackfin/mach-bf533/boards/ezkit.c index fd518e383b79..d4689dcc198e 100644 --- a/arch/blackfin/mach-bf533/boards/ezkit.c +++ b/arch/blackfin/mach-bf533/boards/ezkit.c | |||
| @@ -1,31 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf533/ezkit.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: Original Work | 3 | * 2005 National ICT Australia (NICTA) |
| 4 | * Author: Aidan Williams <aidan@nicta.com.au> | 4 | * Aidan Williams <aidan@nicta.com.au> |
| 5 | * | 5 | * |
| 6 | * Created: 2005 | 6 | * Licensed under the GPL-2 or later. |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Modified: Robin Getz <rgetz@blackfin.uclinux.org> - Named the boards | ||
| 10 | * Copyright 2005 National ICT Australia (NICTA) | ||
| 11 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2 of the License, or | ||
| 18 | * (at your option) any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; if not, see the file COPYING, or write | ||
| 27 | * to the Free Software Foundation, Inc., | ||
| 28 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 29 | */ | 7 | */ |
| 30 | 8 | ||
| 31 | #include <linux/device.h> | 9 | #include <linux/device.h> |
| @@ -33,12 +11,14 @@ | |||
| 33 | #include <linux/mtd/mtd.h> | 11 | #include <linux/mtd/mtd.h> |
| 34 | #include <linux/mtd/partitions.h> | 12 | #include <linux/mtd/partitions.h> |
| 35 | #include <linux/mtd/plat-ram.h> | 13 | #include <linux/mtd/plat-ram.h> |
| 14 | #include <linux/mtd/physmap.h> | ||
| 36 | #include <linux/spi/spi.h> | 15 | #include <linux/spi/spi.h> |
| 37 | #include <linux/spi/flash.h> | 16 | #include <linux/spi/flash.h> |
| 38 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) | 17 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) |
| 39 | #include <linux/usb/isp1362.h> | 18 | #include <linux/usb/isp1362.h> |
| 40 | #endif | 19 | #endif |
| 41 | #include <linux/irq.h> | 20 | #include <linux/irq.h> |
| 21 | #include <linux/i2c.h> | ||
| 42 | #include <asm/dma.h> | 22 | #include <asm/dma.h> |
| 43 | #include <asm/bfin5xx_spi.h> | 23 | #include <asm/bfin5xx_spi.h> |
| 44 | #include <asm/portmux.h> | 24 | #include <asm/portmux.h> |
| @@ -56,12 +36,6 @@ static struct platform_device rtc_device = { | |||
| 56 | }; | 36 | }; |
| 57 | #endif | 37 | #endif |
| 58 | 38 | ||
| 59 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
| 60 | static struct platform_device bfin_fb_adv7393_device = { | ||
| 61 | .name = "bfin-adv7393", | ||
| 62 | }; | ||
| 63 | #endif | ||
| 64 | |||
| 65 | /* | 39 | /* |
| 66 | * USB-LAN EzExtender board | 40 | * USB-LAN EzExtender board |
| 67 | * Driver needs to know address, irq and flag pin. | 41 | * Driver needs to know address, irq and flag pin. |
| @@ -98,54 +72,69 @@ static struct platform_device smc91x_device = { | |||
| 98 | }; | 72 | }; |
| 99 | #endif | 73 | #endif |
| 100 | 74 | ||
| 101 | #if defined(CONFIG_MTD_PSD4256G) || defined(CONFIG_MTD_PSD4256G_MODULE) | 75 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) |
| 102 | static const char *map_probes[] = { | 76 | static struct mtd_partition ezkit_partitions_a[] = { |
| 103 | "stm_flash", | 77 | { |
| 104 | NULL, | 78 | .name = "bootloader(nor a)", |
| 79 | .size = 0x40000, | ||
| 80 | .offset = 0, | ||
| 81 | }, { | ||
| 82 | .name = "linux kernel(nor a)", | ||
| 83 | .size = MTDPART_SIZ_FULL, | ||
| 84 | .offset = MTDPART_OFS_APPEND, | ||
| 85 | }, | ||
| 105 | }; | 86 | }; |
| 106 | 87 | ||
| 107 | static struct platdata_mtd_ram stm_pri_data_a = { | 88 | static struct physmap_flash_data ezkit_flash_data_a = { |
| 108 | .mapname = "Flash A Primary", | 89 | .width = 2, |
| 109 | .map_probes = map_probes, | 90 | .parts = ezkit_partitions_a, |
| 110 | .bankwidth = 2, | 91 | .nr_parts = ARRAY_SIZE(ezkit_partitions_a), |
| 111 | }; | 92 | }; |
| 112 | 93 | ||
| 113 | static struct resource stm_pri_resource_a = { | 94 | static struct resource ezkit_flash_resource_a = { |
| 114 | .start = 0x20000000, | 95 | .start = 0x20000000, |
| 115 | .end = 0x200fffff, | 96 | .end = 0x200fffff, |
| 116 | .flags = IORESOURCE_MEM, | 97 | .flags = IORESOURCE_MEM, |
| 117 | }; | 98 | }; |
| 118 | 99 | ||
| 119 | static struct platform_device stm_pri_device_a = { | 100 | static struct platform_device ezkit_flash_device_a = { |
| 120 | .name = "mtd-ram", | 101 | .name = "physmap-flash", |
| 121 | .id = 0, | 102 | .id = 0, |
| 122 | .dev = { | 103 | .dev = { |
| 123 | .platform_data = &stm_pri_data_a, | 104 | .platform_data = &ezkit_flash_data_a, |
| 124 | }, | 105 | }, |
| 125 | .num_resources = 1, | 106 | .num_resources = 1, |
| 126 | .resource = &stm_pri_resource_a, | 107 | .resource = &ezkit_flash_resource_a, |
| 108 | }; | ||
| 109 | |||
| 110 | static struct mtd_partition ezkit_partitions_b[] = { | ||
| 111 | { | ||
| 112 | .name = "file system(nor b)", | ||
| 113 | .size = MTDPART_SIZ_FULL, | ||
| 114 | .offset = MTDPART_OFS_APPEND, | ||
| 115 | }, | ||
| 127 | }; | 116 | }; |
| 128 | 117 | ||
| 129 | static struct platdata_mtd_ram stm_pri_data_b = { | 118 | static struct physmap_flash_data ezkit_flash_data_b = { |
| 130 | .mapname = "Flash B Primary", | 119 | .width = 2, |
| 131 | .map_probes = map_probes, | 120 | .parts = ezkit_partitions_b, |
| 132 | .bankwidth = 2, | 121 | .nr_parts = ARRAY_SIZE(ezkit_partitions_b), |
| 133 | }; | 122 | }; |
| 134 | 123 | ||
| 135 | static struct resource stm_pri_resource_b = { | 124 | static struct resource ezkit_flash_resource_b = { |
| 136 | .start = 0x20100000, | 125 | .start = 0x20100000, |
| 137 | .end = 0x201fffff, | 126 | .end = 0x201fffff, |
| 138 | .flags = IORESOURCE_MEM, | 127 | .flags = IORESOURCE_MEM, |
| 139 | }; | 128 | }; |
| 140 | 129 | ||
| 141 | static struct platform_device stm_pri_device_b = { | 130 | static struct platform_device ezkit_flash_device_b = { |
| 142 | .name = "mtd-ram", | 131 | .name = "physmap-flash", |
| 143 | .id = 4, | 132 | .id = 4, |
| 144 | .dev = { | 133 | .dev = { |
| 145 | .platform_data = &stm_pri_data_b, | 134 | .platform_data = &ezkit_flash_data_b, |
| 146 | }, | 135 | }, |
| 147 | .num_resources = 1, | 136 | .num_resources = 1, |
| 148 | .resource = &stm_pri_resource_b, | 137 | .resource = &ezkit_flash_resource_b, |
| 149 | }; | 138 | }; |
| 150 | #endif | 139 | #endif |
| 151 | 140 | ||
| @@ -400,19 +389,6 @@ static struct platform_device bfin_device_gpiokeys = { | |||
| 400 | }; | 389 | }; |
| 401 | #endif | 390 | #endif |
| 402 | 391 | ||
| 403 | static struct resource bfin_gpios_resources = { | ||
| 404 | .start = 0, | ||
| 405 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
| 406 | .flags = IORESOURCE_IRQ, | ||
| 407 | }; | ||
| 408 | |||
| 409 | static struct platform_device bfin_gpios_device = { | ||
| 410 | .name = "simple-gpio", | ||
| 411 | .id = -1, | ||
| 412 | .num_resources = 1, | ||
| 413 | .resource = &bfin_gpios_resources, | ||
| 414 | }; | ||
| 415 | |||
| 416 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) | 392 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) |
| 417 | #include <linux/i2c-gpio.h> | 393 | #include <linux/i2c-gpio.h> |
| 418 | 394 | ||
| @@ -460,13 +436,21 @@ static struct platform_device bfin_dpmc = { | |||
| 460 | }, | 436 | }, |
| 461 | }; | 437 | }; |
| 462 | 438 | ||
| 439 | static struct i2c_board_info __initdata bfin_i2c_board_info[] = { | ||
| 440 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
| 441 | { | ||
| 442 | I2C_BOARD_INFO("bfin-adv7393", 0x2B), | ||
| 443 | }, | ||
| 444 | #endif | ||
| 445 | }; | ||
| 446 | |||
| 463 | static struct platform_device *ezkit_devices[] __initdata = { | 447 | static struct platform_device *ezkit_devices[] __initdata = { |
| 464 | 448 | ||
| 465 | &bfin_dpmc, | 449 | &bfin_dpmc, |
| 466 | 450 | ||
| 467 | #if defined(CONFIG_MTD_PSD4256G) || defined(CONFIG_MTD_PSD4256G_MODULE) | 451 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) |
| 468 | &stm_pri_device_a, | 452 | &ezkit_flash_device_a, |
| 469 | &stm_pri_device_b, | 453 | &ezkit_flash_device_b, |
| 470 | #endif | 454 | #endif |
| 471 | 455 | ||
| 472 | #if defined(CONFIG_MTD_PLATRAM) || defined(CONFIG_MTD_PLATRAM_MODULE) | 456 | #if defined(CONFIG_MTD_PLATRAM) || defined(CONFIG_MTD_PLATRAM_MODULE) |
| @@ -482,10 +466,6 @@ static struct platform_device *ezkit_devices[] __initdata = { | |||
| 482 | &bfin_spi0_device, | 466 | &bfin_spi0_device, |
| 483 | #endif | 467 | #endif |
| 484 | 468 | ||
| 485 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
| 486 | &bfin_fb_adv7393_device, | ||
| 487 | #endif | ||
| 488 | |||
| 489 | #if defined(CONFIG_RTC_DRV_BFIN) || defined(CONFIG_RTC_DRV_BFIN_MODULE) | 469 | #if defined(CONFIG_RTC_DRV_BFIN) || defined(CONFIG_RTC_DRV_BFIN_MODULE) |
| 490 | &rtc_device, | 470 | &rtc_device, |
| 491 | #endif | 471 | #endif |
| @@ -507,8 +487,6 @@ static struct platform_device *ezkit_devices[] __initdata = { | |||
| 507 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) | 487 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) |
| 508 | &i2c_gpio_device, | 488 | &i2c_gpio_device, |
| 509 | #endif | 489 | #endif |
| 510 | |||
| 511 | &bfin_gpios_device, | ||
| 512 | }; | 490 | }; |
| 513 | 491 | ||
| 514 | static int __init ezkit_init(void) | 492 | static int __init ezkit_init(void) |
| @@ -516,6 +494,8 @@ static int __init ezkit_init(void) | |||
| 516 | printk(KERN_INFO "%s(): registering device resources\n", __func__); | 494 | printk(KERN_INFO "%s(): registering device resources\n", __func__); |
| 517 | platform_add_devices(ezkit_devices, ARRAY_SIZE(ezkit_devices)); | 495 | platform_add_devices(ezkit_devices, ARRAY_SIZE(ezkit_devices)); |
| 518 | spi_register_board_info(bfin_spi_board_info, ARRAY_SIZE(bfin_spi_board_info)); | 496 | spi_register_board_info(bfin_spi_board_info, ARRAY_SIZE(bfin_spi_board_info)); |
| 497 | i2c_register_board_info(0, bfin_i2c_board_info, | ||
| 498 | ARRAY_SIZE(bfin_i2c_board_info)); | ||
| 519 | return 0; | 499 | return 0; |
| 520 | } | 500 | } |
| 521 | 501 | ||
diff --git a/arch/blackfin/mach-bf533/boards/ip0x.c b/arch/blackfin/mach-bf533/boards/ip0x.c index f19b63378b12..644be5e5ab6f 100644 --- a/arch/blackfin/mach-bf533/boards/ip0x.c +++ b/arch/blackfin/mach-bf533/boards/ip0x.c | |||
| @@ -1,34 +1,12 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf533/ip0x.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: arch/blackfin/mach-bf533/bf1.c | 3 | * 2007 David Rowe |
| 4 | * Based on: arch/blackfin/mach-bf533/stamp.c | 4 | * 2006 Intratrade Ltd. |
| 5 | * Author: Ivan Danov <idanov@gmail.com> | 5 | * Ivan Danov <idanov@gmail.com> |
| 6 | * Modified for IP0X David Rowe | 6 | * 2005 National ICT Australia (NICTA) |
| 7 | * Aidan Williams <aidan@nicta.com.au> | ||
| 7 | * | 8 | * |
| 8 | * Created: 2007 | 9 | * Licensed under the GPL-2 or later. |
| 9 | * Description: Board info file for the IP04/IP08 boards, which | ||
| 10 | * are derived from the BlackfinOne V2.0 boards. | ||
| 11 | * | ||
| 12 | * Modified: | ||
| 13 | * COpyright 2007 David Rowe | ||
| 14 | * Copyright 2006 Intratrade Ltd. | ||
| 15 | * Copyright 2005 National ICT Australia (NICTA) | ||
| 16 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 17 | * | ||
| 18 | * This program is free software; you can redistribute it and/or modify | ||
| 19 | * it under the terms of the GNU General Public License as published by | ||
| 20 | * the Free Software Foundation; either version 2 of the License, or | ||
| 21 | * (at your option) any later version. | ||
| 22 | * | ||
| 23 | * This program is distributed in the hope that it will be useful, | ||
| 24 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 25 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 26 | * GNU General Public License for more details. | ||
| 27 | * | ||
| 28 | * You should have received a copy of the GNU General Public License | ||
| 29 | * along with this program; if not, see the file COPYING, or write | ||
| 30 | * to the Free Software Foundation, Inc., | ||
| 31 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 32 | */ | 10 | */ |
| 33 | 11 | ||
| 34 | #include <linux/device.h> | 12 | #include <linux/device.h> |
| @@ -145,7 +123,6 @@ static struct bfin5xx_spi_chip mmc_spi_chip_info = { | |||
| 145 | .ctl_reg = 0x1000, /* CPOL=0,CPHA=0,Sandisk 1G work */ | 123 | .ctl_reg = 0x1000, /* CPOL=0,CPHA=0,Sandisk 1G work */ |
| 146 | .enable_dma = 0, /* if 1 - block!!! */ | 124 | .enable_dma = 0, /* if 1 - block!!! */ |
| 147 | .bits_per_word = 8, | 125 | .bits_per_word = 8, |
| 148 | .cs_change_per_word = 0, | ||
| 149 | }; | 126 | }; |
| 150 | #endif | 127 | #endif |
| 151 | 128 | ||
diff --git a/arch/blackfin/mach-bf533/boards/stamp.c b/arch/blackfin/mach-bf533/boards/stamp.c index 729fd7c26336..82f70efd66e7 100644 --- a/arch/blackfin/mach-bf533/boards/stamp.c +++ b/arch/blackfin/mach-bf533/boards/stamp.c | |||
| @@ -1,31 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf533/stamp.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: arch/blackfin/mach-bf533/ezkit.c | 3 | * 2005 National ICT Australia (NICTA) |
| 4 | * Author: Aidan Williams <aidan@nicta.com.au> | 4 | * Aidan Williams <aidan@nicta.com.au> |
| 5 | * | 5 | * |
| 6 | * Created: 2005 | 6 | * Licensed under the GPL-2 or later. |
| 7 | * Description: Board Info File for the BF533-STAMP | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2005 National ICT Australia (NICTA) | ||
| 11 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2 of the License, or | ||
| 18 | * (at your option) any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; if not, see the file COPYING, or write | ||
| 27 | * to the Free Software Foundation, Inc., | ||
| 28 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 29 | */ | 7 | */ |
| 30 | 8 | ||
| 31 | #include <linux/device.h> | 9 | #include <linux/device.h> |
| @@ -95,12 +73,6 @@ static struct platform_device smc91x_device = { | |||
| 95 | }; | 73 | }; |
| 96 | #endif | 74 | #endif |
| 97 | 75 | ||
| 98 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
| 99 | static struct platform_device bfin_fb_adv7393_device = { | ||
| 100 | .name = "bfin-adv7393", | ||
| 101 | }; | ||
| 102 | #endif | ||
| 103 | |||
| 104 | #if defined(CONFIG_USB_NET2272) || defined(CONFIG_USB_NET2272_MODULE) | 76 | #if defined(CONFIG_USB_NET2272) || defined(CONFIG_USB_NET2272_MODULE) |
| 105 | static struct resource net2272_bfin_resources[] = { | 77 | static struct resource net2272_bfin_resources[] = { |
| 106 | { | 78 | { |
| @@ -436,19 +408,6 @@ static struct platform_device bfin_device_gpiokeys = { | |||
| 436 | }; | 408 | }; |
| 437 | #endif | 409 | #endif |
| 438 | 410 | ||
| 439 | static struct resource bfin_gpios_resources = { | ||
| 440 | .start = 0, | ||
| 441 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
| 442 | .flags = IORESOURCE_IRQ, | ||
| 443 | }; | ||
| 444 | |||
| 445 | static struct platform_device bfin_gpios_device = { | ||
| 446 | .name = "simple-gpio", | ||
| 447 | .id = -1, | ||
| 448 | .num_resources = 1, | ||
| 449 | .resource = &bfin_gpios_resources, | ||
| 450 | }; | ||
| 451 | |||
| 452 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) | 411 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) |
| 453 | #include <linux/i2c-gpio.h> | 412 | #include <linux/i2c-gpio.h> |
| 454 | 413 | ||
| @@ -487,6 +446,11 @@ static struct i2c_board_info __initdata bfin_i2c_board_info[] = { | |||
| 487 | .irq = 39, | 446 | .irq = 39, |
| 488 | }, | 447 | }, |
| 489 | #endif | 448 | #endif |
| 449 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
| 450 | { | ||
| 451 | I2C_BOARD_INFO("bfin-adv7393", 0x2B), | ||
| 452 | }, | ||
| 453 | #endif | ||
| 490 | }; | 454 | }; |
| 491 | 455 | ||
| 492 | static const unsigned int cclk_vlev_datasheet[] = | 456 | static const unsigned int cclk_vlev_datasheet[] = |
| @@ -528,10 +492,6 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
| 528 | &smc91x_device, | 492 | &smc91x_device, |
| 529 | #endif | 493 | #endif |
| 530 | 494 | ||
| 531 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
| 532 | &bfin_fb_adv7393_device, | ||
| 533 | #endif | ||
| 534 | |||
| 535 | #if defined(CONFIG_USB_NET2272) || defined(CONFIG_USB_NET2272_MODULE) | 495 | #if defined(CONFIG_USB_NET2272) || defined(CONFIG_USB_NET2272_MODULE) |
| 536 | &net2272_bfin_device, | 496 | &net2272_bfin_device, |
| 537 | #endif | 497 | #endif |
| @@ -563,8 +523,6 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
| 563 | &i2c_gpio_device, | 523 | &i2c_gpio_device, |
| 564 | #endif | 524 | #endif |
| 565 | 525 | ||
| 566 | &bfin_gpios_device, | ||
| 567 | |||
| 568 | #if defined(CONFIG_MTD_BFIN_ASYNC) || defined(CONFIG_MTD_BFIN_ASYNC_MODULE) | 526 | #if defined(CONFIG_MTD_BFIN_ASYNC) || defined(CONFIG_MTD_BFIN_ASYNC_MODULE) |
| 569 | &stamp_flash_device, | 527 | &stamp_flash_device, |
| 570 | #endif | 528 | #endif |
diff --git a/arch/blackfin/mach-bf533/dma.c b/arch/blackfin/mach-bf533/dma.c index 7a443c37fb9f..4a14a46a9a68 100644 --- a/arch/blackfin/mach-bf533/dma.c +++ b/arch/blackfin/mach-bf533/dma.c | |||
| @@ -1,31 +1,11 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf533/dma.c | 2 | * simple DMA Implementation for Blackfin |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Copyright 2007-2009 Analog Devices Inc. |
| 7 | * Description: This file contains the simple DMA Implementation for Blackfin | ||
| 8 | * | 5 | * |
| 9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
| 10 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 7 | */ |
| 8 | |||
| 29 | #include <linux/module.h> | 9 | #include <linux/module.h> |
| 30 | 10 | ||
| 31 | #include <asm/blackfin.h> | 11 | #include <asm/blackfin.h> |
diff --git a/arch/blackfin/mach-bf533/include/mach/bf533.h b/arch/blackfin/mach-bf533/include/mach/bf533.h index cf4427cd3f72..e3e05f8f7af9 100644 --- a/arch/blackfin/mach-bf533/include/mach/bf533.h +++ b/arch/blackfin/mach-bf533/include/mach/bf533.h | |||
| @@ -1,30 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf533/bf533.h | 2 | * SYSTEM MMR REGISTER AND MEMORY MAP FOR ADSP-BF561 |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Copyright 2005-2008 Analog Devices Inc. |
| 7 | * Description: SYSTEM MMR REGISTER AND MEMORY MAP FOR ADSP-BF561 | ||
| 8 | * | 5 | * |
| 9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
| 10 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 7 | */ |
| 29 | 8 | ||
| 30 | #ifndef __MACH_BF533_H__ | 9 | #ifndef __MACH_BF533_H__ |
diff --git a/arch/blackfin/mach-bf533/include/mach/bfin_serial_5xx.h b/arch/blackfin/mach-bf533/include/mach/bfin_serial_5xx.h index 6965b4088c44..9e1f3defb6bc 100644 --- a/arch/blackfin/mach-bf533/include/mach/bfin_serial_5xx.h +++ b/arch/blackfin/mach-bf533/include/mach/bfin_serial_5xx.h | |||
| @@ -1,32 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * file: include/asm-blackfin/mach-bf533/bfin_serial_5xx.h | 2 | * Copyright 2006-2009 Analog Devices Inc. |
| 3 | * based on: | ||
| 4 | * author: | ||
| 5 | * | 3 | * |
| 6 | * created: | 4 | * Licensed under the GPL-2 or later |
| 7 | * description: | ||
| 8 | * blackfin serial driver head file | ||
| 9 | * rev: | ||
| 10 | * | ||
| 11 | * modified: | ||
| 12 | * | ||
| 13 | * | ||
| 14 | * bugs: enter bugs at http://blackfin.uclinux.org/ | ||
| 15 | * | ||
| 16 | * this program is free software; you can redistribute it and/or modify | ||
| 17 | * it under the terms of the gnu general public license as published by | ||
| 18 | * the free software foundation; either version 2, or (at your option) | ||
| 19 | * any later version. | ||
| 20 | * | ||
| 21 | * this program is distributed in the hope that it will be useful, | ||
| 22 | * but without any warranty; without even the implied warranty of | ||
| 23 | * merchantability or fitness for a particular purpose. see the | ||
| 24 | * gnu general public license for more details. | ||
| 25 | * | ||
| 26 | * you should have received a copy of the gnu general public license | ||
| 27 | * along with this program; see the file copying. | ||
| 28 | * if not, write to the free software foundation, | ||
| 29 | * 59 temple place - suite 330, boston, ma 02111-1307, usa. | ||
| 30 | */ | 5 | */ |
| 31 | 6 | ||
| 32 | #include <linux/serial.h> | 7 | #include <linux/serial.h> |
diff --git a/arch/blackfin/mach-bf533/include/mach/blackfin.h b/arch/blackfin/mach-bf533/include/mach/blackfin.h index 499e897a4f4f..f4bd6df5d968 100644 --- a/arch/blackfin/mach-bf533/include/mach/blackfin.h +++ b/arch/blackfin/mach-bf533/include/mach/blackfin.h | |||
| @@ -1,31 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf533/blackfin.h | 2 | * Copyright 2005-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 18 | * any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; see the file COPYING. | ||
| 27 | * If not, write to the Free Software Foundation, | ||
| 28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 29 | */ | 5 | */ |
| 30 | 6 | ||
| 31 | #ifndef _MACH_BLACKFIN_H_ | 7 | #ifndef _MACH_BLACKFIN_H_ |
diff --git a/arch/blackfin/mach-bf533/include/mach/cdefBF532.h b/arch/blackfin/mach-bf533/include/mach/cdefBF532.h index bbc3c8386d48..feb2392c43ea 100644 --- a/arch/blackfin/mach-bf533/include/mach/cdefBF532.h +++ b/arch/blackfin/mach-bf533/include/mach/cdefBF532.h | |||
| @@ -1,31 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf533/cdefBF532.h | 2 | * Copyright 2005-2008 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 18 | * any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; see the file COPYING. | ||
| 27 | * If not, write to the Free Software Foundation, | ||
| 28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 29 | */ | 5 | */ |
| 30 | 6 | ||
| 31 | #ifndef _CDEF_BF532_H | 7 | #ifndef _CDEF_BF532_H |
diff --git a/arch/blackfin/mach-bf533/include/mach/defBF532.h b/arch/blackfin/mach-bf533/include/mach/defBF532.h index 7f4633223e6d..02b328eb0e07 100644 --- a/arch/blackfin/mach-bf533/include/mach/defBF532.h +++ b/arch/blackfin/mach-bf533/include/mach/defBF532.h | |||
| @@ -1,48 +1,10 @@ | |||
| 1 | /************************************************************************ | ||
| 2 | * | ||
| 3 | * This file is subject to the terms and conditions of the GNU Public | ||
| 4 | * License. See the file "COPYING" in the main directory of this archive | ||
| 5 | * for more details. | ||
| 6 | * | ||
| 7 | * Non-GPL License also available as part of VisualDSP++ | ||
| 8 | * http://www.analog.com/processors/resources/crosscore/visualDspDevSoftware.html | ||
| 9 | * | ||
| 10 | * (c) Copyright 2001-2005 Analog Devices, Inc. All rights reserved | ||
| 11 | * | ||
| 12 | * This file under source code control, please send bugs or changes to: | ||
| 13 | * dsptools.support@analog.com | ||
| 14 | * | ||
| 15 | ************************************************************************/ | ||
| 16 | /* | 1 | /* |
| 17 | * File: include/asm-blackfin/mach-bf533/defBF532.h | 2 | * System & MMR bit and Address definitions for ADSP-BF532 |
| 18 | * Based on: | ||
| 19 | * Author: | ||
| 20 | * | ||
| 21 | * Created: | ||
| 22 | * Description: | ||
| 23 | * | ||
| 24 | * Rev: | ||
| 25 | * | ||
| 26 | * Modified: | ||
| 27 | * | ||
| 28 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 29 | * | ||
| 30 | * This program is free software; you can redistribute it and/or modify | ||
| 31 | * it under the terms of the GNU General Public License as published by | ||
| 32 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 33 | * any later version. | ||
| 34 | * | 3 | * |
| 35 | * This program is distributed in the hope that it will be useful, | 4 | * Copyright 2005-2008 Analog Devices Inc. |
| 36 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 37 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 38 | * GNU General Public License for more details. | ||
| 39 | * | 5 | * |
| 40 | * You should have received a copy of the GNU General Public License | 6 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
| 41 | * along with this program; see the file COPYING. | ||
| 42 | * If not, write to the Free Software Foundation, | ||
| 43 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 44 | */ | 7 | */ |
| 45 | /* SYSTEM & MM REGISTER BIT & ADDRESS DEFINITIONS FOR ADSP-BF532 */ | ||
| 46 | 8 | ||
| 47 | #ifndef _DEF_BF532_H | 9 | #ifndef _DEF_BF532_H |
| 48 | #define _DEF_BF532_H | 10 | #define _DEF_BF532_H |
diff --git a/arch/blackfin/mach-bf533/include/mach/gpio.h b/arch/blackfin/mach-bf533/include/mach/gpio.h index e45c17077aff..2af19d69a7a7 100644 --- a/arch/blackfin/mach-bf533/include/mach/gpio.h +++ b/arch/blackfin/mach-bf533/include/mach/gpio.h | |||
| @@ -1,7 +1,4 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf533/include/mach/gpio.h | ||
| 3 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 4 | * | ||
| 5 | * Copyright (C) 2008 Analog Devices Inc. | 2 | * Copyright (C) 2008 Analog Devices Inc. |
| 6 | * Licensed under the GPL-2 or later. | 3 | * Licensed under the GPL-2 or later. |
| 7 | */ | 4 | */ |
diff --git a/arch/blackfin/mach-bf533/include/mach/irq.h b/arch/blackfin/mach-bf533/include/mach/irq.h index db1e346cd1aa..c31498be0bbb 100644 --- a/arch/blackfin/mach-bf533/include/mach/irq.h +++ b/arch/blackfin/mach-bf533/include/mach/irq.h | |||
| @@ -1,31 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf533/defBF532.h | 2 | * Copyright 2005-2008 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 18 | * any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; see the file COPYING. | ||
| 27 | * If not, write to the Free Software Foundation, | ||
| 28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 29 | */ | 5 | */ |
| 30 | 6 | ||
| 31 | #ifndef _BF533_IRQ_H_ | 7 | #ifndef _BF533_IRQ_H_ |
diff --git a/arch/blackfin/mach-bf533/include/mach/portmux.h b/arch/blackfin/mach-bf533/include/mach/portmux.h index 2f59ce0b0cb5..075dae1af164 100644 --- a/arch/blackfin/mach-bf533/include/mach/portmux.h +++ b/arch/blackfin/mach-bf533/include/mach/portmux.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2007-2009 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the GPL-2 or later | ||
| 5 | */ | ||
| 6 | |||
| 1 | #ifndef _MACH_PORTMUX_H_ | 7 | #ifndef _MACH_PORTMUX_H_ |
| 2 | #define _MACH_PORTMUX_H_ | 8 | #define _MACH_PORTMUX_H_ |
| 3 | 9 | ||
diff --git a/arch/blackfin/mach-bf533/ints-priority.c b/arch/blackfin/mach-bf533/ints-priority.c index f51994b7a2b9..8f714cf8135b 100644 --- a/arch/blackfin/mach-bf533/ints-priority.c +++ b/arch/blackfin/mach-bf533/ints-priority.c | |||
| @@ -1,30 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf533/ints-priority.c | 2 | * Set up the interrupt priorities |
| 3 | * Based on: | ||
| 4 | * Author: Michael Hennerich | ||
| 5 | * | 3 | * |
| 6 | * Created: ? | 4 | * Copyright 2005-2009 Analog Devices Inc. |
| 7 | * Description: Set up the interrupt priorities | ||
| 8 | * | 5 | * |
| 9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
| 10 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 7 | */ |
| 29 | 8 | ||
| 30 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/arch/blackfin/mach-bf537/boards/cm_bf537e.c b/arch/blackfin/mach-bf537/boards/cm_bf537e.c index 87acb7dd2df3..c85f4d770535 100644 --- a/arch/blackfin/mach-bf537/boards/cm_bf537e.c +++ b/arch/blackfin/mach-bf537/boards/cm_bf537e.c | |||
| @@ -1,31 +1,10 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf537/boards/cm_bf537.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: arch/blackfin/mach-bf533/boards/ezkit.c | 3 | * 2008-2009 Bluetechnix |
| 4 | * Author: Aidan Williams <aidan@nicta.com.au> | 4 | * 2005 National ICT Australia (NICTA) |
| 5 | * Aidan Williams <aidan@nicta.com.au> | ||
| 5 | * | 6 | * |
| 6 | * Created: 2005 | 7 | * Licensed under the GPL-2 or later. |
| 7 | * Description: Board description file | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2005 National ICT Australia (NICTA) | ||
| 11 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2 of the License, or | ||
| 18 | * (at your option) any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; if not, see the file COPYING, or write | ||
| 27 | * to the Free Software Foundation, Inc., | ||
| 28 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 29 | */ | 8 | */ |
| 30 | 9 | ||
| 31 | #include <linux/device.h> | 10 | #include <linux/device.h> |
| @@ -297,19 +276,6 @@ static struct platform_device net2272_bfin_device = { | |||
| 297 | }; | 276 | }; |
| 298 | #endif | 277 | #endif |
| 299 | 278 | ||
| 300 | static struct resource bfin_gpios_resources = { | ||
| 301 | .start = 0, | ||
| 302 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
| 303 | .flags = IORESOURCE_IRQ, | ||
| 304 | }; | ||
| 305 | |||
| 306 | static struct platform_device bfin_gpios_device = { | ||
| 307 | .name = "simple-gpio", | ||
| 308 | .id = -1, | ||
| 309 | .num_resources = 1, | ||
| 310 | .resource = &bfin_gpios_resources, | ||
| 311 | }; | ||
| 312 | |||
| 313 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) | 279 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) |
| 314 | static struct mtd_partition cm_partitions[] = { | 280 | static struct mtd_partition cm_partitions[] = { |
| 315 | { | 281 | { |
| @@ -699,8 +665,6 @@ static struct platform_device *cm_bf537e_devices[] __initdata = { | |||
| 699 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) | 665 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) |
| 700 | &cm_flash_device, | 666 | &cm_flash_device, |
| 701 | #endif | 667 | #endif |
| 702 | |||
| 703 | &bfin_gpios_device, | ||
| 704 | }; | 668 | }; |
| 705 | 669 | ||
| 706 | static int __init cm_bf537e_init(void) | 670 | static int __init cm_bf537e_init(void) |
diff --git a/arch/blackfin/mach-bf537/boards/cm_bf537u.c b/arch/blackfin/mach-bf537/boards/cm_bf537u.c index 8219dc3d65bd..ea11aa81340d 100644 --- a/arch/blackfin/mach-bf537/boards/cm_bf537u.c +++ b/arch/blackfin/mach-bf537/boards/cm_bf537u.c | |||
| @@ -1,31 +1,10 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf537/boards/cm_bf537u.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: arch/blackfin/mach-bf533/boards/ezkit.c | 3 | * 2008-2009 Bluetechnix |
| 4 | * Author: Aidan Williams <aidan@nicta.com.au> | 4 | * 2005 National ICT Australia (NICTA) |
| 5 | * Aidan Williams <aidan@nicta.com.au> | ||
| 5 | * | 6 | * |
| 6 | * Created: 2005 | 7 | * Licensed under the GPL-2 or later. |
| 7 | * Description: Board description file | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2005 National ICT Australia (NICTA) | ||
| 11 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2 of the License, or | ||
| 18 | * (at your option) any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; if not, see the file COPYING, or write | ||
| 27 | * to the Free Software Foundation, Inc., | ||
| 28 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 29 | */ | 8 | */ |
| 30 | 9 | ||
| 31 | #include <linux/device.h> | 10 | #include <linux/device.h> |
| @@ -298,19 +277,6 @@ static struct platform_device net2272_bfin_device = { | |||
| 298 | }; | 277 | }; |
| 299 | #endif | 278 | #endif |
| 300 | 279 | ||
| 301 | static struct resource bfin_gpios_resources = { | ||
| 302 | .start = 0, | ||
| 303 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
| 304 | .flags = IORESOURCE_IRQ, | ||
| 305 | }; | ||
| 306 | |||
| 307 | static struct platform_device bfin_gpios_device = { | ||
| 308 | .name = "simple-gpio", | ||
| 309 | .id = -1, | ||
| 310 | .num_resources = 1, | ||
| 311 | .resource = &bfin_gpios_resources, | ||
| 312 | }; | ||
| 313 | |||
| 314 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) | 280 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) |
| 315 | static struct mtd_partition cm_partitions[] = { | 281 | static struct mtd_partition cm_partitions[] = { |
| 316 | { | 282 | { |
| @@ -605,8 +571,6 @@ static struct platform_device *cm_bf537u_devices[] __initdata = { | |||
| 605 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) | 571 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) |
| 606 | &cm_flash_device, | 572 | &cm_flash_device, |
| 607 | #endif | 573 | #endif |
| 608 | |||
| 609 | &bfin_gpios_device, | ||
| 610 | }; | 574 | }; |
| 611 | 575 | ||
| 612 | static int __init cm_bf537u_init(void) | 576 | static int __init cm_bf537u_init(void) |
diff --git a/arch/blackfin/mach-bf537/boards/minotaur.c b/arch/blackfin/mach-bf537/boards/minotaur.c index 399f81da7b93..0da927252701 100644 --- a/arch/blackfin/mach-bf537/boards/minotaur.c +++ b/arch/blackfin/mach-bf537/boards/minotaur.c | |||
| @@ -1,4 +1,10 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Copyright 2004-2009 Analog Devices Inc. | ||
| 3 | * 2008-2009 Cambridge Signal Processing | ||
| 4 | * 2005 National ICT Australia (NICTA) | ||
| 5 | * Aidan Williams <aidan@nicta.com.au> | ||
| 6 | * | ||
| 7 | * Licensed under the GPL-2 or later. | ||
| 2 | */ | 8 | */ |
| 3 | 9 | ||
| 4 | #include <linux/device.h> | 10 | #include <linux/device.h> |
diff --git a/arch/blackfin/mach-bf537/boards/pnav10.c b/arch/blackfin/mach-bf537/boards/pnav10.c index 10b35b838bac..9ba290466b56 100644 --- a/arch/blackfin/mach-bf537/boards/pnav10.c +++ b/arch/blackfin/mach-bf537/boards/pnav10.c | |||
| @@ -1,31 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf537/boards/stamp.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: arch/blackfin/mach-bf533/boards/ezkit.c | 3 | * 2005 National ICT Australia (NICTA) |
| 4 | * Author: Aidan Williams <aidan@nicta.com.au> | 4 | * Aidan Williams <aidan@nicta.com.au> |
| 5 | * | 5 | * |
| 6 | * Created: | 6 | * Licensed under the GPL-2 or later. |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2005 National ICT Australia (NICTA) | ||
| 11 | * Copyright 2004-2008 Analog Devices Inc. | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2 of the License, or | ||
| 18 | * (at your option) any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; if not, see the file COPYING, or write | ||
| 27 | * to the Free Software Foundation, Inc., | ||
| 28 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 29 | */ | 7 | */ |
| 30 | 8 | ||
| 31 | #include <linux/device.h> | 9 | #include <linux/device.h> |
| @@ -302,7 +280,6 @@ static struct bfin5xx_spi_chip mmc_spi_chip_info = { | |||
| 302 | 280 | ||
| 303 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) | 281 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) |
| 304 | static struct bfin5xx_spi_chip spi_ad7877_chip_info = { | 282 | static struct bfin5xx_spi_chip spi_ad7877_chip_info = { |
| 305 | .cs_change_per_word = 0, | ||
| 306 | .enable_dma = 0, | 283 | .enable_dma = 0, |
| 307 | .bits_per_word = 16, | 284 | .bits_per_word = 16, |
| 308 | }; | 285 | }; |
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c index 9db6b40743e0..c46baa5e6d9b 100644 --- a/arch/blackfin/mach-bf537/boards/stamp.c +++ b/arch/blackfin/mach-bf537/boards/stamp.c | |||
| @@ -1,31 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf537/boards/stamp.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: arch/blackfin/mach-bf533/boards/ezkit.c | 3 | * 2005 National ICT Australia (NICTA) |
| 4 | * Author: Aidan Williams <aidan@nicta.com.au> | 4 | * Aidan Williams <aidan@nicta.com.au> |
| 5 | * | 5 | * |
| 6 | * Created: | 6 | * Licensed under the GPL-2 or later. |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2005 National ICT Australia (NICTA) | ||
| 11 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2 of the License, or | ||
| 18 | * (at your option) any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; if not, see the file COPYING, or write | ||
| 27 | * to the Free Software Foundation, Inc., | ||
| 28 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 29 | */ | 7 | */ |
| 30 | 8 | ||
| 31 | #include <linux/device.h> | 9 | #include <linux/device.h> |
| @@ -121,19 +99,6 @@ static struct platform_device bfin_device_gpiokeys = { | |||
| 121 | }; | 99 | }; |
| 122 | #endif | 100 | #endif |
| 123 | 101 | ||
| 124 | static struct resource bfin_gpios_resources = { | ||
| 125 | .start = 0, | ||
| 126 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
| 127 | .flags = IORESOURCE_IRQ, | ||
| 128 | }; | ||
| 129 | |||
| 130 | static struct platform_device bfin_gpios_device = { | ||
| 131 | .name = "simple-gpio", | ||
| 132 | .id = -1, | ||
| 133 | .num_resources = 1, | ||
| 134 | .resource = &bfin_gpios_resources, | ||
| 135 | }; | ||
| 136 | |||
| 137 | #if defined(CONFIG_BFIN_CFPCMCIA) || defined(CONFIG_BFIN_CFPCMCIA_MODULE) | 102 | #if defined(CONFIG_BFIN_CFPCMCIA) || defined(CONFIG_BFIN_CFPCMCIA_MODULE) |
| 138 | static struct resource bfin_pcmcia_cf_resources[] = { | 103 | static struct resource bfin_pcmcia_cf_resources[] = { |
| 139 | { | 104 | { |
| @@ -1078,12 +1043,6 @@ static struct platform_device bfin_fb_device = { | |||
| 1078 | }; | 1043 | }; |
| 1079 | #endif | 1044 | #endif |
| 1080 | 1045 | ||
| 1081 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
| 1082 | static struct platform_device bfin_fb_adv7393_device = { | ||
| 1083 | .name = "bfin-adv7393", | ||
| 1084 | }; | ||
| 1085 | #endif | ||
| 1086 | |||
| 1087 | #if defined(CONFIG_FB_BFIN_LQ035Q1) || defined(CONFIG_FB_BFIN_LQ035Q1_MODULE) | 1046 | #if defined(CONFIG_FB_BFIN_LQ035Q1) || defined(CONFIG_FB_BFIN_LQ035Q1_MODULE) |
| 1088 | #include <asm/bfin-lq035q1.h> | 1047 | #include <asm/bfin-lq035q1.h> |
| 1089 | 1048 | ||
| @@ -1498,6 +1457,11 @@ static struct i2c_board_info __initdata bfin_i2c_board_info[] = { | |||
| 1498 | .platform_data = (void *)&adp5588_gpio_data, | 1457 | .platform_data = (void *)&adp5588_gpio_data, |
| 1499 | }, | 1458 | }, |
| 1500 | #endif | 1459 | #endif |
| 1460 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
| 1461 | { | ||
| 1462 | I2C_BOARD_INFO("bfin-adv7393", 0x2B), | ||
| 1463 | }, | ||
| 1464 | #endif | ||
| 1501 | }; | 1465 | }; |
| 1502 | 1466 | ||
| 1503 | #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) | 1467 | #if defined(CONFIG_SERIAL_BFIN_SPORT) || defined(CONFIG_SERIAL_BFIN_SPORT_MODULE) |
| @@ -1668,10 +1632,6 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
| 1668 | &bfin_lq035q1_device, | 1632 | &bfin_lq035q1_device, |
| 1669 | #endif | 1633 | #endif |
| 1670 | 1634 | ||
| 1671 | #if defined(CONFIG_FB_BFIN_7393) || defined(CONFIG_FB_BFIN_7393_MODULE) | ||
| 1672 | &bfin_fb_adv7393_device, | ||
| 1673 | #endif | ||
| 1674 | |||
| 1675 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) | 1635 | #if defined(CONFIG_SERIAL_BFIN) || defined(CONFIG_SERIAL_BFIN_MODULE) |
| 1676 | &bfin_uart_device, | 1636 | &bfin_uart_device, |
| 1677 | #endif | 1637 | #endif |
| @@ -1702,8 +1662,6 @@ static struct platform_device *stamp_devices[] __initdata = { | |||
| 1702 | &bfin_device_gpiokeys, | 1662 | &bfin_device_gpiokeys, |
| 1703 | #endif | 1663 | #endif |
| 1704 | 1664 | ||
| 1705 | &bfin_gpios_device, | ||
| 1706 | |||
| 1707 | #if defined(CONFIG_MTD_NAND_PLATFORM) || defined(CONFIG_MTD_NAND_PLATFORM_MODULE) | 1665 | #if defined(CONFIG_MTD_NAND_PLATFORM) || defined(CONFIG_MTD_NAND_PLATFORM_MODULE) |
| 1708 | &bfin_async_nand_device, | 1666 | &bfin_async_nand_device, |
| 1709 | #endif | 1667 | #endif |
diff --git a/arch/blackfin/mach-bf537/boards/tcm_bf537.c b/arch/blackfin/mach-bf537/boards/tcm_bf537.c index 61353f7bcb9e..57163b65a4f5 100644 --- a/arch/blackfin/mach-bf537/boards/tcm_bf537.c +++ b/arch/blackfin/mach-bf537/boards/tcm_bf537.c | |||
| @@ -1,31 +1,10 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf537/boards/tcm_bf537.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: arch/blackfin/mach-bf533/boards/cm_bf537.c | 3 | * 2008-2009 Bluetechnix |
| 4 | * Author: Aidan Williams <aidan@nicta.com.au> | 4 | * 2005 National ICT Australia (NICTA) |
| 5 | * Aidan Williams <aidan@nicta.com.au> | ||
| 5 | * | 6 | * |
| 6 | * Created: 2005 | 7 | * Licensed under the GPL-2 or later. |
| 7 | * Description: Board description file | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2005 National ICT Australia (NICTA) | ||
| 11 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2 of the License, or | ||
| 18 | * (at your option) any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; if not, see the file COPYING, or write | ||
| 27 | * to the Free Software Foundation, Inc., | ||
| 28 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 29 | */ | 8 | */ |
| 30 | 9 | ||
| 31 | #include <linux/device.h> | 10 | #include <linux/device.h> |
| @@ -298,19 +277,6 @@ static struct platform_device net2272_bfin_device = { | |||
| 298 | }; | 277 | }; |
| 299 | #endif | 278 | #endif |
| 300 | 279 | ||
| 301 | static struct resource bfin_gpios_resources = { | ||
| 302 | .start = 0, | ||
| 303 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
| 304 | .flags = IORESOURCE_IRQ, | ||
| 305 | }; | ||
| 306 | |||
| 307 | static struct platform_device bfin_gpios_device = { | ||
| 308 | .name = "simple-gpio", | ||
| 309 | .id = -1, | ||
| 310 | .num_resources = 1, | ||
| 311 | .resource = &bfin_gpios_resources, | ||
| 312 | }; | ||
| 313 | |||
| 314 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) | 280 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) |
| 315 | static struct mtd_partition cm_partitions[] = { | 281 | static struct mtd_partition cm_partitions[] = { |
| 316 | { | 282 | { |
| @@ -607,8 +573,6 @@ static struct platform_device *cm_bf537_devices[] __initdata = { | |||
| 607 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) | 573 | #if defined(CONFIG_MTD_GPIO_ADDR) || defined(CONFIG_MTD_GPIO_ADDR_MODULE) |
| 608 | &cm_flash_device, | 574 | &cm_flash_device, |
| 609 | #endif | 575 | #endif |
| 610 | |||
| 611 | &bfin_gpios_device, | ||
| 612 | }; | 576 | }; |
| 613 | 577 | ||
| 614 | static int __init tcm_bf537_init(void) | 578 | static int __init tcm_bf537_init(void) |
diff --git a/arch/blackfin/mach-bf537/dma.c b/arch/blackfin/mach-bf537/dma.c index d23fc0edf2b9..5c8c4ed517bb 100644 --- a/arch/blackfin/mach-bf537/dma.c +++ b/arch/blackfin/mach-bf537/dma.c | |||
| @@ -1,31 +1,11 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf537/dma.c | 2 | * Copyright 2007-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
| 7 | * Description: This file contains the simple DMA Implementation for Blackfin | ||
| 8 | * | 5 | * |
| 9 | * Modified: | 6 | * This file contains the simple DMA Implementation for Blackfin |
| 10 | * Copyright 2004-2007 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 7 | */ |
| 8 | |||
| 29 | #include <linux/module.h> | 9 | #include <linux/module.h> |
| 30 | 10 | ||
| 31 | #include <asm/blackfin.h> | 11 | #include <asm/blackfin.h> |
diff --git a/arch/blackfin/mach-bf537/include/mach/bf537.h b/arch/blackfin/mach-bf537/include/mach/bf537.h index f194a848ae8e..17fab4474669 100644 --- a/arch/blackfin/mach-bf537/include/mach/bf537.h +++ b/arch/blackfin/mach-bf537/include/mach/bf537.h | |||
| @@ -1,30 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf537/bf537.h | 2 | * System MMR Register and memory map for ADSP-BF537 |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Copyright 2005-2008 Analog Devices Inc. |
| 7 | * Description: SYSTEM MMR REGISTER AND MEMORY MAP FOR ADSP-BF537 | ||
| 8 | * | 5 | * |
| 9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
| 10 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 7 | */ |
| 29 | 8 | ||
| 30 | #ifndef __MACH_BF537_H__ | 9 | #ifndef __MACH_BF537_H__ |
diff --git a/arch/blackfin/mach-bf537/include/mach/bfin_serial_5xx.h b/arch/blackfin/mach-bf537/include/mach/bfin_serial_5xx.h index e95d54f9af6c..635c91c526a3 100644 --- a/arch/blackfin/mach-bf537/include/mach/bfin_serial_5xx.h +++ b/arch/blackfin/mach-bf537/include/mach/bfin_serial_5xx.h | |||
| @@ -1,32 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * file: include/asm-blackfin/mach-bf537/bfin_serial_5xx.h | 2 | * Copyright 2006-2009 Analog Devices Inc. |
| 3 | * based on: | ||
| 4 | * author: | ||
| 5 | * | 3 | * |
| 6 | * created: | 4 | * Licensed under the GPL-2 or later |
| 7 | * description: | ||
| 8 | * blackfin serial driver header files | ||
| 9 | * rev: | ||
| 10 | * | ||
| 11 | * modified: | ||
| 12 | * | ||
| 13 | * | ||
| 14 | * bugs: enter bugs at http://blackfin.uclinux.org/ | ||
| 15 | * | ||
| 16 | * this program is free software; you can redistribute it and/or modify | ||
| 17 | * it under the terms of the gnu general public license as published by | ||
| 18 | * the free software foundation; either version 2, or (at your option) | ||
| 19 | * any later version. | ||
| 20 | * | ||
| 21 | * this program is distributed in the hope that it will be useful, | ||
| 22 | * but without any warranty; without even the implied warranty of | ||
| 23 | * merchantability or fitness for a particular purpose. see the | ||
| 24 | * gnu general public license for more details. | ||
| 25 | * | ||
| 26 | * you should have received a copy of the gnu general public license | ||
| 27 | * along with this program; see the file copying. | ||
| 28 | * if not, write to the free software foundation, | ||
| 29 | * 59 temple place - suite 330, boston, ma 02111-1307, usa. | ||
| 30 | */ | 5 | */ |
| 31 | 6 | ||
| 32 | #include <linux/serial.h> | 7 | #include <linux/serial.h> |
diff --git a/arch/blackfin/mach-bf537/include/mach/blackfin.h b/arch/blackfin/mach-bf537/include/mach/blackfin.h index 9ee8834c8f1a..eab006d260c5 100644 --- a/arch/blackfin/mach-bf537/include/mach/blackfin.h +++ b/arch/blackfin/mach-bf537/include/mach/blackfin.h | |||
| @@ -1,32 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf537/blackfin.h | 2 | * Copyright 2005-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * | ||
| 14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 15 | * | ||
| 16 | * This program is free software; you can redistribute it and/or modify | ||
| 17 | * it under the terms of the GNU General Public License as published by | ||
| 18 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 19 | * any later version. | ||
| 20 | * | ||
| 21 | * This program is distributed in the hope that it will be useful, | ||
| 22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 24 | * GNU General Public License for more details. | ||
| 25 | * | ||
| 26 | * You should have received a copy of the GNU General Public License | ||
| 27 | * along with this program; see the file COPYING. | ||
| 28 | * If not, write to the Free Software Foundation, | ||
| 29 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 30 | */ | 5 | */ |
| 31 | 6 | ||
| 32 | #ifndef _MACH_BLACKFIN_H_ | 7 | #ifndef _MACH_BLACKFIN_H_ |
diff --git a/arch/blackfin/mach-bf537/include/mach/cdefBF534.h b/arch/blackfin/mach-bf537/include/mach/cdefBF534.h index 5f8b5f845be6..91825c9bd226 100644 --- a/arch/blackfin/mach-bf537/include/mach/cdefBF534.h +++ b/arch/blackfin/mach-bf537/include/mach/cdefBF534.h | |||
| @@ -1,32 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf537/cdefbf534.h | 2 | * Copyright 2005-2008 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later |
| 7 | * Description: system mmr register map | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * | ||
| 14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 15 | * | ||
| 16 | * This program is free software; you can redistribute it and/or modify | ||
| 17 | * it under the terms of the GNU General Public License as published by | ||
| 18 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 19 | * any later version. | ||
| 20 | * | ||
| 21 | * This program is distributed in the hope that it will be useful, | ||
| 22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 24 | * GNU General Public License for more details. | ||
| 25 | * | ||
| 26 | * You should have received a copy of the GNU General Public License | ||
| 27 | * along with this program; see the file COPYING. | ||
| 28 | * If not, write to the Free Software Foundation, | ||
| 29 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 30 | */ | 5 | */ |
| 31 | 6 | ||
| 32 | #ifndef _CDEF_BF534_H | 7 | #ifndef _CDEF_BF534_H |
diff --git a/arch/blackfin/mach-bf537/include/mach/cdefBF537.h b/arch/blackfin/mach-bf537/include/mach/cdefBF537.h index b8fc949a991f..9363c3990421 100644 --- a/arch/blackfin/mach-bf537/include/mach/cdefBF537.h +++ b/arch/blackfin/mach-bf537/include/mach/cdefBF537.h | |||
| @@ -1,32 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf537/cdefBF537.h | 2 | * Copyright 2005-2008 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later |
| 7 | * Description: | ||
| 8 | * System MMR Register Map | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * | ||
| 14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 15 | * | ||
| 16 | * This program is free software; you can redistribute it and/or modify | ||
| 17 | * it under the terms of the GNU General Public License as published by | ||
| 18 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 19 | * any later version. | ||
| 20 | * | ||
| 21 | * This program is distributed in the hope that it will be useful, | ||
| 22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 24 | * GNU General Public License for more details. | ||
| 25 | * | ||
| 26 | * You should have received a copy of the GNU General Public License | ||
| 27 | * along with this program; see the file COPYING. | ||
| 28 | * If not, write to the Free Software Foundation, | ||
| 29 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 30 | */ | 5 | */ |
| 31 | 6 | ||
| 32 | #ifndef _CDEF_BF537_H | 7 | #ifndef _CDEF_BF537_H |
diff --git a/arch/blackfin/mach-bf537/include/mach/defBF534.h b/arch/blackfin/mach-bf537/include/mach/defBF534.h index a3227f9003ff..cebb14feb1ba 100644 --- a/arch/blackfin/mach-bf537/include/mach/defBF534.h +++ b/arch/blackfin/mach-bf537/include/mach/defBF534.h | |||
| @@ -1,31 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf537/cdefBF537.h | 2 | * Copyright 2005-2008 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 18 | * any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; see the file COPYING. | ||
| 27 | * If not, write to the Free Software Foundation, | ||
| 28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 29 | */ | 5 | */ |
| 30 | 6 | ||
| 31 | #ifndef _DEF_BF534_H | 7 | #ifndef _DEF_BF534_H |
diff --git a/arch/blackfin/mach-bf537/include/mach/defBF537.h b/arch/blackfin/mach-bf537/include/mach/defBF537.h index 3d6c83e31b1e..8cb5d5cf0c94 100644 --- a/arch/blackfin/mach-bf537/include/mach/defBF537.h +++ b/arch/blackfin/mach-bf537/include/mach/defBF537.h | |||
| @@ -1,32 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * file: include/asm-blackfin/mach-bf537/defbf537.h | 2 | * Copyright 2005-2008 Analog Devices Inc. |
| 3 | * based on: | ||
| 4 | * author: | ||
| 5 | * | 3 | * |
| 6 | * created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
| 7 | * description: | ||
| 8 | * system mmr register map | ||
| 9 | * rev: | ||
| 10 | * | ||
| 11 | * modified: | ||
| 12 | * | ||
| 13 | * | ||
| 14 | * bugs: enter bugs at http://blackfin.uclinux.org/ | ||
| 15 | * | ||
| 16 | * this program is free software; you can redistribute it and/or modify | ||
| 17 | * it under the terms of the gnu general public license as published by | ||
| 18 | * the free software foundation; either version 2, or (at your option) | ||
| 19 | * any later version. | ||
| 20 | * | ||
| 21 | * this program is distributed in the hope that it will be useful, | ||
| 22 | * but without any warranty; without even the implied warranty of | ||
| 23 | * merchantability or fitness for a particular purpose. see the | ||
| 24 | * gnu general public license for more details. | ||
| 25 | * | ||
| 26 | * you should have received a copy of the gnu general public license | ||
| 27 | * along with this program; see the file copying. | ||
| 28 | * if not, write to the free software foundation, | ||
| 29 | * 59 temple place - suite 330, boston, ma 02111-1307, usa. | ||
| 30 | */ | 5 | */ |
| 31 | 6 | ||
| 32 | #ifndef _DEF_BF537_H | 7 | #ifndef _DEF_BF537_H |
diff --git a/arch/blackfin/mach-bf537/include/mach/gpio.h b/arch/blackfin/mach-bf537/include/mach/gpio.h index d77a31e45a30..104bff85290d 100644 --- a/arch/blackfin/mach-bf537/include/mach/gpio.h +++ b/arch/blackfin/mach-bf537/include/mach/gpio.h | |||
| @@ -1,7 +1,4 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf537/include/mach/gpio.h | ||
| 3 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 4 | * | ||
| 5 | * Copyright (C) 2008 Analog Devices Inc. | 2 | * Copyright (C) 2008 Analog Devices Inc. |
| 6 | * Licensed under the GPL-2 or later. | 3 | * Licensed under the GPL-2 or later. |
| 7 | */ | 4 | */ |
diff --git a/arch/blackfin/mach-bf537/include/mach/irq.h b/arch/blackfin/mach-bf537/include/mach/irq.h index b2a71d5d4e5f..0defa9457e7f 100644 --- a/arch/blackfin/mach-bf537/include/mach/irq.h +++ b/arch/blackfin/mach-bf537/include/mach/irq.h | |||
| @@ -1,32 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * file: include/asm-blackfin/mach-bf537/irq.h | 2 | * Copyright 2005-2008 Analog Devices Inc. |
| 3 | * based on: | ||
| 4 | * author: | ||
| 5 | * | 3 | * |
| 6 | * created: | 4 | * Licensed under the GPL-2 or later |
| 7 | * description: | ||
| 8 | * system mmr register map | ||
| 9 | * rev: | ||
| 10 | * | ||
| 11 | * modified: | ||
| 12 | * | ||
| 13 | * | ||
| 14 | * bugs: enter bugs at http://blackfin.uclinux.org/ | ||
| 15 | * | ||
| 16 | * this program is free software; you can redistribute it and/or modify | ||
| 17 | * it under the terms of the gnu general public license as published by | ||
| 18 | * the free software foundation; either version 2, or (at your option) | ||
| 19 | * any later version. | ||
| 20 | * | ||
| 21 | * this program is distributed in the hope that it will be useful, | ||
| 22 | * but without any warranty; without even the implied warranty of | ||
| 23 | * merchantability or fitness for a particular purpose. see the | ||
| 24 | * gnu general public license for more details. | ||
| 25 | * | ||
| 26 | * you should have received a copy of the gnu general public license | ||
| 27 | * along with this program; see the file copying. | ||
| 28 | * if not, write to the free software foundation, | ||
| 29 | * 59 temple place - suite 330, boston, ma 02111-1307, usa. | ||
| 30 | */ | 5 | */ |
| 31 | 6 | ||
| 32 | #ifndef _BF537_IRQ_H_ | 7 | #ifndef _BF537_IRQ_H_ |
diff --git a/arch/blackfin/mach-bf537/include/mach/portmux.h b/arch/blackfin/mach-bf537/include/mach/portmux.h index 87285e75e903..da9760329e49 100644 --- a/arch/blackfin/mach-bf537/include/mach/portmux.h +++ b/arch/blackfin/mach-bf537/include/mach/portmux.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2007-2009 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the GPL-2 or later | ||
| 5 | */ | ||
| 6 | |||
| 1 | #ifndef _MACH_PORTMUX_H_ | 7 | #ifndef _MACH_PORTMUX_H_ |
| 2 | #define _MACH_PORTMUX_H_ | 8 | #define _MACH_PORTMUX_H_ |
| 3 | 9 | ||
diff --git a/arch/blackfin/mach-bf537/ints-priority.c b/arch/blackfin/mach-bf537/ints-priority.c index 51c48087e03b..f6500622b35d 100644 --- a/arch/blackfin/mach-bf537/ints-priority.c +++ b/arch/blackfin/mach-bf537/ints-priority.c | |||
| @@ -1,30 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf537/ints-priority.c | 2 | * Copyright 2005-2009 Analog Devices Inc. |
| 3 | * Based on: arch/blackfin/mach-bf533/ints-priority.c | ||
| 4 | * Author: Michael Hennerich | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
| 7 | * Description: Set up the interrupt priorities | ||
| 8 | * | 5 | * |
| 9 | * Modified: | 6 | * Set up the interrupt priorities |
| 10 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 7 | */ |
| 29 | 8 | ||
| 30 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/arch/blackfin/mach-bf538/boards/ezkit.c b/arch/blackfin/mach-bf538/boards/ezkit.c index f2ac3b0ebf24..14af5c2088d4 100644 --- a/arch/blackfin/mach-bf538/boards/ezkit.c +++ b/arch/blackfin/mach-bf538/boards/ezkit.c | |||
| @@ -1,31 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf538/boards/ezkit.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: arch/blackfin/mach-bf537/boards/ezkit.c | 3 | * 2005 National ICT Australia (NICTA) |
| 4 | * Author: Aidan Williams <aidan@nicta.com.au> | 4 | * Aidan Williams <aidan@nicta.com.au> |
| 5 | * | 5 | * |
| 6 | * Created: | 6 | * Licensed under the GPL-2 |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2005 National ICT Australia (NICTA) | ||
| 11 | * Copyright 2004-2008 Analog Devices Inc. | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2 of the License, or | ||
| 18 | * (at your option) any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; if not, see the file COPYING, or write | ||
| 27 | * to the Free Software Foundation, Inc., | ||
| 28 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 29 | */ | 7 | */ |
| 30 | 8 | ||
| 31 | #include <linux/device.h> | 9 | #include <linux/device.h> |
| @@ -237,7 +215,6 @@ static struct flash_platform_data bfin_spi_flash_data = { | |||
| 237 | static struct bfin5xx_spi_chip spi_flash_chip_info = { | 215 | static struct bfin5xx_spi_chip spi_flash_chip_info = { |
| 238 | .enable_dma = 0, /* use dma transfer with this chip*/ | 216 | .enable_dma = 0, /* use dma transfer with this chip*/ |
| 239 | .bits_per_word = 8, | 217 | .bits_per_word = 8, |
| 240 | .cs_change_per_word = 0, | ||
| 241 | }; | 218 | }; |
| 242 | #endif | 219 | #endif |
| 243 | 220 | ||
| @@ -506,19 +483,6 @@ static struct platform_device i2c_bfin_twi1_device = { | |||
| 506 | #endif | 483 | #endif |
| 507 | #endif | 484 | #endif |
| 508 | 485 | ||
| 509 | static struct resource bfin_gpios_resources = { | ||
| 510 | .start = 0, | ||
| 511 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
| 512 | .flags = IORESOURCE_IRQ, | ||
| 513 | }; | ||
| 514 | |||
| 515 | static struct platform_device bfin_gpios_device = { | ||
| 516 | .name = "simple-gpio", | ||
| 517 | .id = -1, | ||
| 518 | .num_resources = 1, | ||
| 519 | .resource = &bfin_gpios_resources, | ||
| 520 | }; | ||
| 521 | |||
| 522 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) | 486 | #if defined(CONFIG_KEYBOARD_GPIO) || defined(CONFIG_KEYBOARD_GPIO_MODULE) |
| 523 | #include <linux/gpio_keys.h> | 487 | #include <linux/gpio_keys.h> |
| 524 | 488 | ||
| @@ -658,8 +622,6 @@ static struct platform_device *cm_bf538_devices[] __initdata = { | |||
| 658 | &bfin_device_gpiokeys, | 622 | &bfin_device_gpiokeys, |
| 659 | #endif | 623 | #endif |
| 660 | 624 | ||
| 661 | &bfin_gpios_device, | ||
| 662 | |||
| 663 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) | 625 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) |
| 664 | &ezkit_flash_device, | 626 | &ezkit_flash_device, |
| 665 | #endif | 627 | #endif |
diff --git a/arch/blackfin/mach-bf538/dma.c b/arch/blackfin/mach-bf538/dma.c index d6837fbf94ea..5dc022589214 100644 --- a/arch/blackfin/mach-bf538/dma.c +++ b/arch/blackfin/mach-bf538/dma.c | |||
| @@ -1,31 +1,11 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf538/dma.c | 2 | * the simple DMA Implementation for Blackfin |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Copyright 2008 Analog Devices Inc. |
| 7 | * Description: This file contains the simple DMA Implementation for Blackfin | ||
| 8 | * | 5 | * |
| 9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
| 10 | * Copyright 2008 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 7 | */ |
| 8 | |||
| 29 | #include <linux/module.h> | 9 | #include <linux/module.h> |
| 30 | 10 | ||
| 31 | #include <asm/blackfin.h> | 11 | #include <asm/blackfin.h> |
diff --git a/arch/blackfin/mach-bf538/include/mach/bf538.h b/arch/blackfin/mach-bf538/include/mach/bf538.h index 9c8abb307908..0cf5bf8dab84 100644 --- a/arch/blackfin/mach-bf538/include/mach/bf538.h +++ b/arch/blackfin/mach-bf538/include/mach/bf538.h | |||
| @@ -1,30 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf538/bf538.h | 2 | * SYSTEM MMR REGISTER AND MEMORY MAP FOR ADSP-BF538 |
| 3 | * Based on: include/asm-blackfin/mach-bf537/bf537.h | ||
| 4 | * Author: Michael Hennerich (michael.hennerich@analog.com) | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Copyright 2008 Analog Devices Inc. |
| 7 | * Description: SYSTEM MMR REGISTER AND MEMORY MAP FOR ADSP-BF527 | ||
| 8 | * | 5 | * |
| 9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
| 10 | * Copyright 2004-2007 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 7 | */ |
| 29 | 8 | ||
| 30 | #ifndef __MACH_BF538_H__ | 9 | #ifndef __MACH_BF538_H__ |
diff --git a/arch/blackfin/mach-bf538/include/mach/bfin_serial_5xx.h b/arch/blackfin/mach-bf538/include/mach/bfin_serial_5xx.h index 999f239fe1a6..5c148142f041 100644 --- a/arch/blackfin/mach-bf538/include/mach/bfin_serial_5xx.h +++ b/arch/blackfin/mach-bf538/include/mach/bfin_serial_5xx.h | |||
| @@ -1,32 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * file: include/asm-blackfin/mach-bf538/bfin_serial_5xx.h | 2 | * Copyright 2008-2009 Analog Devices Inc. |
| 3 | * based on: | ||
| 4 | * author: | ||
| 5 | * | 3 | * |
| 6 | * created: | 4 | * Licensed under the GPL-2 or later. |
| 7 | * description: | ||
| 8 | * blackfin serial driver header files | ||
| 9 | * rev: | ||
| 10 | * | ||
| 11 | * modified: | ||
| 12 | * | ||
| 13 | * | ||
| 14 | * bugs: enter bugs at http://blackfin.uclinux.org/ | ||
| 15 | * | ||
| 16 | * this program is free software; you can redistribute it and/or modify | ||
| 17 | * it under the terms of the gnu general public license as published by | ||
| 18 | * the free software foundation; either version 2, or (at your option) | ||
| 19 | * any later version. | ||
| 20 | * | ||
| 21 | * this program is distributed in the hope that it will be useful, | ||
| 22 | * but without any warranty; without even the implied warranty of | ||
| 23 | * merchantability or fitness for a particular purpose. see the | ||
| 24 | * gnu general public license for more details. | ||
| 25 | * | ||
| 26 | * you should have received a copy of the gnu general public license | ||
| 27 | * along with this program; see the file copying. | ||
| 28 | * if not, write to the free software foundation, | ||
| 29 | * 59 temple place - suite 330, boston, ma 02111-1307, usa. | ||
| 30 | */ | 5 | */ |
| 31 | 6 | ||
| 32 | #include <linux/serial.h> | 7 | #include <linux/serial.h> |
diff --git a/arch/blackfin/mach-bf538/include/mach/blackfin.h b/arch/blackfin/mach-bf538/include/mach/blackfin.h index 5ecee1690957..278e8942eef2 100644 --- a/arch/blackfin/mach-bf538/include/mach/blackfin.h +++ b/arch/blackfin/mach-bf538/include/mach/blackfin.h | |||
| @@ -1,32 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf538/blackfin.h | 2 | * Copyright 2008-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * | ||
| 14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 15 | * | ||
| 16 | * This program is free software; you can redistribute it and/or modify | ||
| 17 | * it under the terms of the GNU General Public License as published by | ||
| 18 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 19 | * any later version. | ||
| 20 | * | ||
| 21 | * This program is distributed in the hope that it will be useful, | ||
| 22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 24 | * GNU General Public License for more details. | ||
| 25 | * | ||
| 26 | * You should have received a copy of the GNU General Public License | ||
| 27 | * along with this program; see the file COPYING. | ||
| 28 | * If not, write to the Free Software Foundation, | ||
| 29 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 30 | */ | 5 | */ |
| 31 | 6 | ||
| 32 | #ifndef _MACH_BLACKFIN_H_ | 7 | #ifndef _MACH_BLACKFIN_H_ |
diff --git a/arch/blackfin/mach-bf538/include/mach/cdefBF538.h b/arch/blackfin/mach-bf538/include/mach/cdefBF538.h index 1de67515dc9d..401ebd79d0aa 100644 --- a/arch/blackfin/mach-bf538/include/mach/cdefBF538.h +++ b/arch/blackfin/mach-bf538/include/mach/cdefBF538.h | |||
| @@ -1,31 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf538/cdefBF538.h | 2 | * Copyright 2008-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 18 | * any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; see the file COPYING. | ||
| 27 | * If not, write to the Free Software Foundation, | ||
| 28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 29 | */ | 5 | */ |
| 30 | 6 | ||
| 31 | #ifndef _CDEF_BF538_H | 7 | #ifndef _CDEF_BF538_H |
diff --git a/arch/blackfin/mach-bf538/include/mach/defBF539.h b/arch/blackfin/mach-bf538/include/mach/defBF539.h index 1c58914a8740..5f6c34dfd08e 100644 --- a/arch/blackfin/mach-bf538/include/mach/defBF539.h +++ b/arch/blackfin/mach-bf538/include/mach/defBF539.h | |||
| @@ -1,47 +1,9 @@ | |||
| 1 | /************************************************************************ | ||
| 2 | * | ||
| 3 | * This file is subject to the terms and conditions of the GNU Public | ||
| 4 | * License. See the file "COPYING" in the main directory of this archive | ||
| 5 | * for more details. | ||
| 6 | * | ||
| 7 | * Non-GPL License also available as part of VisualDSP++ | ||
| 8 | * http://www.analog.com/processors/resources/crosscore/visualDspDevSoftware.html | ||
| 9 | * | ||
| 10 | * (c) Copyright 2001-2005 Analog Devices, Inc. All rights reserved | ||
| 11 | * | ||
| 12 | * This file under source code control, please send bugs or changes to: | ||
| 13 | * dsptools.support@analog.com | ||
| 14 | * | ||
| 15 | ************************************************************************/ | ||
| 16 | /* | 1 | /* |
| 17 | * File: include/asm-blackfin/mach-bf538/defBF539.h | 2 | * Copyright 2008-2009 Analog Devices Inc. |
| 18 | * Based on: | ||
| 19 | * Author: | ||
| 20 | * | ||
| 21 | * Created: | ||
| 22 | * Description: | ||
| 23 | * | 3 | * |
| 24 | * Rev: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
| 25 | * | ||
| 26 | * Modified: | ||
| 27 | * | ||
| 28 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 29 | * | ||
| 30 | * This program is free software; you can redistribute it and/or modify | ||
| 31 | * it under the terms of the GNU General Public License as published by | ||
| 32 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 33 | * any later version. | ||
| 34 | * | ||
| 35 | * This program is distributed in the hope that it will be useful, | ||
| 36 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 37 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 38 | * GNU General Public License for more details. | ||
| 39 | * | ||
| 40 | * You should have received a copy of the GNU General Public License | ||
| 41 | * along with this program; see the file COPYING. | ||
| 42 | * If not, write to the Free Software Foundation, | ||
| 43 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 44 | */ | 5 | */ |
| 6 | |||
| 45 | /* SYSTEM & MM REGISTER BIT & ADDRESS DEFINITIONS FOR ADSP-BF538/9 */ | 7 | /* SYSTEM & MM REGISTER BIT & ADDRESS DEFINITIONS FOR ADSP-BF538/9 */ |
| 46 | 8 | ||
| 47 | #ifndef _DEF_BF539_H | 9 | #ifndef _DEF_BF539_H |
diff --git a/arch/blackfin/mach-bf538/include/mach/gpio.h b/arch/blackfin/mach-bf538/include/mach/gpio.h index 30f4f723f7cc..295c78a465c2 100644 --- a/arch/blackfin/mach-bf538/include/mach/gpio.h +++ b/arch/blackfin/mach-bf538/include/mach/gpio.h | |||
| @@ -1,7 +1,4 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf538/include/mach/gpio.h | ||
| 3 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 4 | * | ||
| 5 | * Copyright (C) 2008 Analog Devices Inc. | 2 | * Copyright (C) 2008 Analog Devices Inc. |
| 6 | * Licensed under the GPL-2 or later. | 3 | * Licensed under the GPL-2 or later. |
| 7 | */ | 4 | */ |
diff --git a/arch/blackfin/mach-bf538/include/mach/irq.h b/arch/blackfin/mach-bf538/include/mach/irq.h index fdc87fe2c174..a4b7fcbc556b 100644 --- a/arch/blackfin/mach-bf538/include/mach/irq.h +++ b/arch/blackfin/mach-bf538/include/mach/irq.h | |||
| @@ -1,32 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * file: include/asm-blackfin/mach-bf538/irq.h | 2 | * Copyright 2008 Analog Devices Inc. |
| 3 | * based on: include/asm-blackfin/mach-bf537/irq.h | ||
| 4 | * author: Michael Hennerich (michael.hennerich@analog.com) | ||
| 5 | * | 3 | * |
| 6 | * created: | 4 | * Licensed under the GPL-2 or later. |
| 7 | * description: | ||
| 8 | * system mmr register map | ||
| 9 | * rev: | ||
| 10 | * | ||
| 11 | * modified: | ||
| 12 | * | ||
| 13 | * | ||
| 14 | * bugs: enter bugs at http://blackfin.uclinux.org/ | ||
| 15 | * | ||
| 16 | * this program is free software; you can redistribute it and/or modify | ||
| 17 | * it under the terms of the gnu general public license as published by | ||
| 18 | * the free software foundation; either version 2, or (at your option) | ||
| 19 | * any later version. | ||
| 20 | * | ||
| 21 | * this program is distributed in the hope that it will be useful, | ||
| 22 | * but without any warranty; without even the implied warranty of | ||
| 23 | * merchantability or fitness for a particular purpose. see the | ||
| 24 | * gnu general public license for more details. | ||
| 25 | * | ||
| 26 | * you should have received a copy of the gnu general public license | ||
| 27 | * along with this program; see the file copying. | ||
| 28 | * if not, write to the free software foundation, | ||
| 29 | * 59 temple place - suite 330, boston, ma 02111-1307, usa. | ||
| 30 | */ | 5 | */ |
| 31 | 6 | ||
| 32 | #ifndef _BF538_IRQ_H_ | 7 | #ifndef _BF538_IRQ_H_ |
diff --git a/arch/blackfin/mach-bf538/include/mach/portmux.h b/arch/blackfin/mach-bf538/include/mach/portmux.h index c8db264e3e4d..6121cf8b5872 100644 --- a/arch/blackfin/mach-bf538/include/mach/portmux.h +++ b/arch/blackfin/mach-bf538/include/mach/portmux.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2008-2009 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the GPL-2 or later. | ||
| 5 | */ | ||
| 6 | |||
| 1 | #ifndef _MACH_PORTMUX_H_ | 7 | #ifndef _MACH_PORTMUX_H_ |
| 2 | #define _MACH_PORTMUX_H_ | 8 | #define _MACH_PORTMUX_H_ |
| 3 | 9 | ||
diff --git a/arch/blackfin/mach-bf538/ints-priority.c b/arch/blackfin/mach-bf538/ints-priority.c index 70d17e550e05..1fa793ced347 100644 --- a/arch/blackfin/mach-bf538/ints-priority.c +++ b/arch/blackfin/mach-bf538/ints-priority.c | |||
| @@ -1,30 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf538/ints-priority.c | 2 | * Set up the interrupt priorities |
| 3 | * Based on: arch/blackfin/mach-bf533/ints-priority.c | ||
| 4 | * Author: Michael Hennerich | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Copyright 2008 Analog Devices Inc. |
| 7 | * Description: Set up the interrupt priorities | ||
| 8 | * | 5 | * |
| 9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
| 10 | * Copyright 2008 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 7 | */ |
| 29 | 8 | ||
| 30 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/arch/blackfin/mach-bf548/boards/cm_bf548.c b/arch/blackfin/mach-bf548/boards/cm_bf548.c index e565aae11d72..ccdcd6da2e9f 100644 --- a/arch/blackfin/mach-bf548/boards/cm_bf548.c +++ b/arch/blackfin/mach-bf548/boards/cm_bf548.c | |||
| @@ -1,31 +1,10 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf548/boards/cm_bf548.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: arch/blackfin/mach-bf537/boards/ezkit.c | 3 | * 2008-2009 Bluetechnix |
| 4 | * Author: Aidan Williams <aidan@nicta.com.au> | 4 | * 2005 National ICT Australia (NICTA) |
| 5 | * Aidan Williams <aidan@nicta.com.au> | ||
| 5 | * | 6 | * |
| 6 | * Created: | 7 | * Licensed under the GPL-2 or later. |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2005 National ICT Australia (NICTA) | ||
| 11 | * Copyright 2004-2008 Analog Devices Inc. | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2 of the License, or | ||
| 18 | * (at your option) any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; if not, see the file COPYING, or write | ||
| 27 | * to the Free Software Foundation, Inc., | ||
| 28 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 29 | */ | 8 | */ |
| 30 | 9 | ||
| 31 | #include <linux/device.h> | 10 | #include <linux/device.h> |
| @@ -380,19 +359,6 @@ static struct platform_device musb_device = { | |||
| 380 | }; | 359 | }; |
| 381 | #endif | 360 | #endif |
| 382 | 361 | ||
| 383 | static struct resource bfin_gpios_resources = { | ||
| 384 | .start = 0, | ||
| 385 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
| 386 | .flags = IORESOURCE_IRQ, | ||
| 387 | }; | ||
| 388 | |||
| 389 | static struct platform_device bfin_gpios_device = { | ||
| 390 | .name = "simple-gpio", | ||
| 391 | .id = -1, | ||
| 392 | .num_resources = 1, | ||
| 393 | .resource = &bfin_gpios_resources, | ||
| 394 | }; | ||
| 395 | |||
| 396 | #if defined(CONFIG_PATA_BF54X) || defined(CONFIG_PATA_BF54X_MODULE) | 362 | #if defined(CONFIG_PATA_BF54X) || defined(CONFIG_PATA_BF54X_MODULE) |
| 397 | static struct resource bfin_atapi_resources[] = { | 363 | static struct resource bfin_atapi_resources[] = { |
| 398 | { | 364 | { |
| @@ -546,13 +512,11 @@ static struct flash_platform_data bfin_spi_flash_data = { | |||
| 546 | static struct bfin5xx_spi_chip spi_flash_chip_info = { | 512 | static struct bfin5xx_spi_chip spi_flash_chip_info = { |
| 547 | .enable_dma = 0, /* use dma transfer with this chip*/ | 513 | .enable_dma = 0, /* use dma transfer with this chip*/ |
| 548 | .bits_per_word = 8, | 514 | .bits_per_word = 8, |
| 549 | .cs_change_per_word = 0, | ||
| 550 | }; | 515 | }; |
| 551 | #endif | 516 | #endif |
| 552 | 517 | ||
| 553 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) | 518 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) |
| 554 | static struct bfin5xx_spi_chip spi_ad7877_chip_info = { | 519 | static struct bfin5xx_spi_chip spi_ad7877_chip_info = { |
| 555 | .cs_change_per_word = 0, | ||
| 556 | .enable_dma = 0, | 520 | .enable_dma = 0, |
| 557 | .bits_per_word = 16, | 521 | .bits_per_word = 16, |
| 558 | }; | 522 | }; |
| @@ -853,8 +817,6 @@ static struct platform_device *cm_bf548_devices[] __initdata = { | |||
| 853 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) | 817 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) |
| 854 | ¶_flash_device, | 818 | ¶_flash_device, |
| 855 | #endif | 819 | #endif |
| 856 | |||
| 857 | &bfin_gpios_device, | ||
| 858 | }; | 820 | }; |
| 859 | 821 | ||
| 860 | static int __init cm_bf548_init(void) | 822 | static int __init cm_bf548_init(void) |
diff --git a/arch/blackfin/mach-bf548/boards/ezkit.c b/arch/blackfin/mach-bf548/boards/ezkit.c index c66f3801274f..1a5286bbb3fa 100644 --- a/arch/blackfin/mach-bf548/boards/ezkit.c +++ b/arch/blackfin/mach-bf548/boards/ezkit.c | |||
| @@ -1,31 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf548/boards/ezkit.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: arch/blackfin/mach-bf537/boards/ezkit.c | 3 | * 2005 National ICT Australia (NICTA) |
| 4 | * Author: Aidan Williams <aidan@nicta.com.au> | 4 | * Aidan Williams <aidan@nicta.com.au> |
| 5 | * | 5 | * |
| 6 | * Created: | 6 | * Licensed under the GPL-2 or later. |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2005 National ICT Australia (NICTA) | ||
| 11 | * Copyright 2004-2007 Analog Devices Inc. | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2 of the License, or | ||
| 18 | * (at your option) any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; if not, see the file COPYING, or write | ||
| 27 | * to the Free Software Foundation, Inc., | ||
| 28 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 29 | */ | 7 | */ |
| 30 | 8 | ||
| 31 | #include <linux/device.h> | 9 | #include <linux/device.h> |
| @@ -208,7 +186,6 @@ static struct platform_device bfin_rotary_device = { | |||
| 208 | #endif | 186 | #endif |
| 209 | 187 | ||
| 210 | #if defined(CONFIG_INPUT_ADXL34X) || defined(CONFIG_INPUT_ADXL34X_MODULE) | 188 | #if defined(CONFIG_INPUT_ADXL34X) || defined(CONFIG_INPUT_ADXL34X_MODULE) |
| 211 | #include <linux/input.h> | ||
| 212 | #include <linux/spi/adxl34x.h> | 189 | #include <linux/spi/adxl34x.h> |
| 213 | static const struct adxl34x_platform_data adxl34x_info = { | 190 | static const struct adxl34x_platform_data adxl34x_info = { |
| 214 | .x_axis_offset = 0, | 191 | .x_axis_offset = 0, |
| @@ -636,7 +613,6 @@ static struct flash_platform_data bfin_spi_flash_data = { | |||
| 636 | static struct bfin5xx_spi_chip spi_flash_chip_info = { | 613 | static struct bfin5xx_spi_chip spi_flash_chip_info = { |
| 637 | .enable_dma = 0, /* use dma transfer with this chip*/ | 614 | .enable_dma = 0, /* use dma transfer with this chip*/ |
| 638 | .bits_per_word = 8, | 615 | .bits_per_word = 8, |
| 639 | .cs_change_per_word = 0, | ||
| 640 | }; | 616 | }; |
| 641 | #endif | 617 | #endif |
| 642 | 618 | ||
| @@ -650,7 +626,6 @@ static struct bfin5xx_spi_chip ad1836_spi_chip_info = { | |||
| 650 | 626 | ||
| 651 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) | 627 | #if defined(CONFIG_TOUCHSCREEN_AD7877) || defined(CONFIG_TOUCHSCREEN_AD7877_MODULE) |
| 652 | static struct bfin5xx_spi_chip spi_ad7877_chip_info = { | 628 | static struct bfin5xx_spi_chip spi_ad7877_chip_info = { |
| 653 | .cs_change_per_word = 0, | ||
| 654 | .enable_dma = 0, | 629 | .enable_dma = 0, |
| 655 | .bits_per_word = 16, | 630 | .bits_per_word = 16, |
| 656 | }; | 631 | }; |
| @@ -681,7 +656,6 @@ static struct bfin5xx_spi_chip spidev_chip_info = { | |||
| 681 | static struct bfin5xx_spi_chip spi_adxl34x_chip_info = { | 656 | static struct bfin5xx_spi_chip spi_adxl34x_chip_info = { |
| 682 | .enable_dma = 0, /* use dma transfer with this chip*/ | 657 | .enable_dma = 0, /* use dma transfer with this chip*/ |
| 683 | .bits_per_word = 8, | 658 | .bits_per_word = 8, |
| 684 | .cs_change_per_word = 0, | ||
| 685 | }; | 659 | }; |
| 686 | #endif | 660 | #endif |
| 687 | 661 | ||
| @@ -908,19 +882,6 @@ static struct platform_device bfin_device_gpiokeys = { | |||
| 908 | }; | 882 | }; |
| 909 | #endif | 883 | #endif |
| 910 | 884 | ||
| 911 | static struct resource bfin_gpios_resources = { | ||
| 912 | .start = 0, | ||
| 913 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
| 914 | .flags = IORESOURCE_IRQ, | ||
| 915 | }; | ||
| 916 | |||
| 917 | static struct platform_device bfin_gpios_device = { | ||
| 918 | .name = "simple-gpio", | ||
| 919 | .id = -1, | ||
| 920 | .num_resources = 1, | ||
| 921 | .resource = &bfin_gpios_resources, | ||
| 922 | }; | ||
| 923 | |||
| 924 | static const unsigned int cclk_vlev_datasheet[] = | 885 | static const unsigned int cclk_vlev_datasheet[] = |
| 925 | { | 886 | { |
| 926 | /* | 887 | /* |
| @@ -1028,8 +989,6 @@ static struct platform_device *ezkit_devices[] __initdata = { | |||
| 1028 | &bfin_device_gpiokeys, | 989 | &bfin_device_gpiokeys, |
| 1029 | #endif | 990 | #endif |
| 1030 | 991 | ||
| 1031 | &bfin_gpios_device, | ||
| 1032 | |||
| 1033 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) | 992 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) |
| 1034 | &ezkit_flash_device, | 993 | &ezkit_flash_device, |
| 1035 | #endif | 994 | #endif |
diff --git a/arch/blackfin/mach-bf548/dma.c b/arch/blackfin/mach-bf548/dma.c index d9239bc05dd4..039a6d9d38f3 100644 --- a/arch/blackfin/mach-bf548/dma.c +++ b/arch/blackfin/mach-bf548/dma.c | |||
| @@ -1,30 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf548/dma.c | 2 | * the simple DMA Implementation for Blackfin |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Copyright 2007-2009 Analog Devices Inc. |
| 7 | * Description: This file contains the simple DMA Implementation for Blackfin | ||
| 8 | * | 5 | * |
| 9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
| 10 | * Copyright 2004-2008 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 7 | */ |
| 29 | 8 | ||
| 30 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/arch/blackfin/mach-bf548/include/mach/bf548.h b/arch/blackfin/mach-bf548/include/mach/bf548.h index cd31f72bdd82..7bead5ce0f3b 100644 --- a/arch/blackfin/mach-bf548/include/mach/bf548.h +++ b/arch/blackfin/mach-bf548/include/mach/bf548.h | |||
| @@ -1,30 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf548/bf548.h | 2 | * Copyright 2007-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
| 7 | * Description: System MMR register and memory map for ADSP-BF548 | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2004-2007 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 5 | */ |
| 29 | 6 | ||
| 30 | #ifndef __MACH_BF548_H__ | 7 | #ifndef __MACH_BF548_H__ |
diff --git a/arch/blackfin/mach-bf548/include/mach/bf54x-lq043.h b/arch/blackfin/mach-bf548/include/mach/bf54x-lq043.h index 9c7ca62a45eb..8821efe57fbc 100644 --- a/arch/blackfin/mach-bf548/include/mach/bf54x-lq043.h +++ b/arch/blackfin/mach-bf548/include/mach/bf54x-lq043.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2007-2008 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the GPL-2 or later. | ||
| 5 | */ | ||
| 6 | |||
| 1 | #ifndef BF54X_LQ043_H | 7 | #ifndef BF54X_LQ043_H |
| 2 | #define BF54X_LQ043_H | 8 | #define BF54X_LQ043_H |
| 3 | 9 | ||
diff --git a/arch/blackfin/mach-bf548/include/mach/bf54x_keys.h b/arch/blackfin/mach-bf548/include/mach/bf54x_keys.h index 1fb4ec77cc25..49338ae299ab 100644 --- a/arch/blackfin/mach-bf548/include/mach/bf54x_keys.h +++ b/arch/blackfin/mach-bf548/include/mach/bf54x_keys.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2007-2008 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the GPL-2 or later. | ||
| 5 | */ | ||
| 6 | |||
| 1 | #ifndef _BFIN_KPAD_H | 7 | #ifndef _BFIN_KPAD_H |
| 2 | #define _BFIN_KPAD_H | 8 | #define _BFIN_KPAD_H |
| 3 | 9 | ||
diff --git a/arch/blackfin/mach-bf548/include/mach/bfin_serial_5xx.h b/arch/blackfin/mach-bf548/include/mach/bfin_serial_5xx.h index 2d1b5fa3cca0..dd44aa75fe72 100644 --- a/arch/blackfin/mach-bf548/include/mach/bfin_serial_5xx.h +++ b/arch/blackfin/mach-bf548/include/mach/bfin_serial_5xx.h | |||
| @@ -1,32 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * file: include/asm-blackfin/mach-bf548/bfin_serial_5xx.h | 2 | * Copyright 2007-2009 Analog Devices Inc. |
| 3 | * based on: | ||
| 4 | * author: | ||
| 5 | * | 3 | * |
| 6 | * created: | 4 | * Licensed under the GPL-2 or later. |
| 7 | * description: | ||
| 8 | * blackfin serial driver head file | ||
| 9 | * rev: | ||
| 10 | * | ||
| 11 | * modified: | ||
| 12 | * | ||
| 13 | * | ||
| 14 | * bugs: enter bugs at http://blackfin.uclinux.org/ | ||
| 15 | * | ||
| 16 | * this program is free software; you can redistribute it and/or modify | ||
| 17 | * it under the terms of the gnu general public license as published by | ||
| 18 | * the free software foundation; either version 2, or (at your option) | ||
| 19 | * any later version. | ||
| 20 | * | ||
| 21 | * this program is distributed in the hope that it will be useful, | ||
| 22 | * but without any warranty; without even the implied warranty of | ||
| 23 | * merchantability or fitness for a particular purpose. see the | ||
| 24 | * gnu general public license for more details. | ||
| 25 | * | ||
| 26 | * you should have received a copy of the gnu general public license | ||
| 27 | * along with this program; see the file copying. | ||
| 28 | * if not, write to the free software foundation, | ||
| 29 | * 59 temple place - suite 330, boston, ma 02111-1307, usa. | ||
| 30 | */ | 5 | */ |
| 31 | 6 | ||
| 32 | #include <linux/serial.h> | 7 | #include <linux/serial.h> |
diff --git a/arch/blackfin/mach-bf548/include/mach/blackfin.h b/arch/blackfin/mach-bf548/include/mach/blackfin.h index 318667b2f036..13302b67857a 100644 --- a/arch/blackfin/mach-bf548/include/mach/blackfin.h +++ b/arch/blackfin/mach-bf548/include/mach/blackfin.h | |||
| @@ -1,32 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf548/blackfin.h | 2 | * Copyright 2007-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * | ||
| 14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 15 | * | ||
| 16 | * This program is free software; you can redistribute it and/or modify | ||
| 17 | * it under the terms of the GNU General Public License as published by | ||
| 18 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 19 | * any later version. | ||
| 20 | * | ||
| 21 | * This program is distributed in the hope that it will be useful, | ||
| 22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 24 | * GNU General Public License for more details. | ||
| 25 | * | ||
| 26 | * You should have received a copy of the GNU General Public License | ||
| 27 | * along with this program; see the file COPYING. | ||
| 28 | * If not, write to the Free Software Foundation, | ||
| 29 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 30 | */ | 5 | */ |
| 31 | 6 | ||
| 32 | #ifndef _MACH_BLACKFIN_H_ | 7 | #ifndef _MACH_BLACKFIN_H_ |
diff --git a/arch/blackfin/mach-bf548/include/mach/cdefBF542.h b/arch/blackfin/mach-bf548/include/mach/cdefBF542.h index 07aefb9ed79b..42f4a9469549 100644 --- a/arch/blackfin/mach-bf548/include/mach/cdefBF542.h +++ b/arch/blackfin/mach-bf548/include/mach/cdefBF542.h | |||
| @@ -1,31 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf548/cdefBF542.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 18 | * any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; see the file COPYING. | ||
| 27 | * If not, write to the Free Software Foundation, | ||
| 28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 29 | */ | 5 | */ |
| 30 | 6 | ||
| 31 | #ifndef _CDEF_BF542_H | 7 | #ifndef _CDEF_BF542_H |
diff --git a/arch/blackfin/mach-bf548/include/mach/cdefBF544.h b/arch/blackfin/mach-bf548/include/mach/cdefBF544.h index 431a69278991..2207799575ff 100644 --- a/arch/blackfin/mach-bf548/include/mach/cdefBF544.h +++ b/arch/blackfin/mach-bf548/include/mach/cdefBF544.h | |||
| @@ -1,31 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf548/cdefBF544.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 18 | * any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; see the file COPYING. | ||
| 27 | * If not, write to the Free Software Foundation, | ||
| 28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 29 | */ | 5 | */ |
| 30 | 6 | ||
| 31 | #ifndef _CDEF_BF544_H | 7 | #ifndef _CDEF_BF544_H |
diff --git a/arch/blackfin/mach-bf548/include/mach/cdefBF547.h b/arch/blackfin/mach-bf548/include/mach/cdefBF547.h index 93376e90dfc5..423421515134 100644 --- a/arch/blackfin/mach-bf548/include/mach/cdefBF547.h +++ b/arch/blackfin/mach-bf548/include/mach/cdefBF547.h | |||
| @@ -1,31 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf548/cdefBF547.h | 2 | * Copyright 2008 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 18 | * any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; see the file COPYING. | ||
| 27 | * If not, write to the Free Software Foundation, | ||
| 28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 29 | */ | 5 | */ |
| 30 | 6 | ||
| 31 | #ifndef _CDEF_BF548_H | 7 | #ifndef _CDEF_BF548_H |
diff --git a/arch/blackfin/mach-bf548/include/mach/cdefBF548.h b/arch/blackfin/mach-bf548/include/mach/cdefBF548.h index 9cd74384136f..df84180410c4 100644 --- a/arch/blackfin/mach-bf548/include/mach/cdefBF548.h +++ b/arch/blackfin/mach-bf548/include/mach/cdefBF548.h | |||
| @@ -1,31 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf548/cdefBF548.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 18 | * any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; see the file COPYING. | ||
| 27 | * If not, write to the Free Software Foundation, | ||
| 28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 29 | */ | 5 | */ |
| 30 | 6 | ||
| 31 | #ifndef _CDEF_BF548_H | 7 | #ifndef _CDEF_BF548_H |
diff --git a/arch/blackfin/mach-bf548/include/mach/cdefBF549.h b/arch/blackfin/mach-bf548/include/mach/cdefBF549.h index ead360b69dea..34c84c7fb256 100644 --- a/arch/blackfin/mach-bf548/include/mach/cdefBF549.h +++ b/arch/blackfin/mach-bf548/include/mach/cdefBF549.h | |||
| @@ -1,31 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf549/cdefBF549.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 18 | * any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; see the file COPYING. | ||
| 27 | * If not, write to the Free Software Foundation, | ||
| 28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 29 | */ | 5 | */ |
| 30 | 6 | ||
| 31 | #ifndef _CDEF_BF549_H | 7 | #ifndef _CDEF_BF549_H |
diff --git a/arch/blackfin/mach-bf548/include/mach/cdefBF54x_base.h b/arch/blackfin/mach-bf548/include/mach/cdefBF54x_base.h index 6e636c418cb0..a2e9d9849eba 100644 --- a/arch/blackfin/mach-bf548/include/mach/cdefBF54x_base.h +++ b/arch/blackfin/mach-bf548/include/mach/cdefBF54x_base.h | |||
| @@ -1,31 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf548/cdefBF54x_base.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 18 | * any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; see the file COPYING. | ||
| 27 | * If not, write to the Free Software Foundation, | ||
| 28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 29 | */ | 5 | */ |
| 30 | 6 | ||
| 31 | #ifndef _CDEF_BF54X_H | 7 | #ifndef _CDEF_BF54X_H |
diff --git a/arch/blackfin/mach-bf548/include/mach/defBF542.h b/arch/blackfin/mach-bf548/include/mach/defBF542.h index b1316541b8d6..d3bc6d1df547 100644 --- a/arch/blackfin/mach-bf548/include/mach/defBF542.h +++ b/arch/blackfin/mach-bf548/include/mach/defBF542.h | |||
| @@ -1,31 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf548/defBF542.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 18 | * any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; see the file COPYING. | ||
| 27 | * If not, write to the Free Software Foundation, | ||
| 28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 29 | */ | 5 | */ |
| 30 | 6 | ||
| 31 | #ifndef _DEF_BF542_H | 7 | #ifndef _DEF_BF542_H |
diff --git a/arch/blackfin/mach-bf548/include/mach/defBF544.h b/arch/blackfin/mach-bf548/include/mach/defBF544.h index c2c785bdc5fc..dd414ae4ba4c 100644 --- a/arch/blackfin/mach-bf548/include/mach/defBF544.h +++ b/arch/blackfin/mach-bf548/include/mach/defBF544.h | |||
| @@ -1,31 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf548/defBF544.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 18 | * any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; see the file COPYING. | ||
| 27 | * If not, write to the Free Software Foundation, | ||
| 28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 29 | */ | 5 | */ |
| 30 | 6 | ||
| 31 | #ifndef _DEF_BF544_H | 7 | #ifndef _DEF_BF544_H |
diff --git a/arch/blackfin/mach-bf548/include/mach/defBF547.h b/arch/blackfin/mach-bf548/include/mach/defBF547.h index 661f0d877bd1..5a9dbabe0a68 100644 --- a/arch/blackfin/mach-bf548/include/mach/defBF547.h +++ b/arch/blackfin/mach-bf548/include/mach/defBF547.h | |||
| @@ -1,31 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf548/defBF547.h | 2 | * Copyright 2008 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 18 | * any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; see the file COPYING. | ||
| 27 | * If not, write to the Free Software Foundation, | ||
| 28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 29 | */ | 5 | */ |
| 30 | 6 | ||
| 31 | #ifndef _DEF_BF548_H | 7 | #ifndef _DEF_BF548_H |
diff --git a/arch/blackfin/mach-bf548/include/mach/defBF548.h b/arch/blackfin/mach-bf548/include/mach/defBF548.h index 85d4bade911d..82cd593f7391 100644 --- a/arch/blackfin/mach-bf548/include/mach/defBF548.h +++ b/arch/blackfin/mach-bf548/include/mach/defBF548.h | |||
| @@ -1,31 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf548/defBF548.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 18 | * any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; see the file COPYING. | ||
| 27 | * If not, write to the Free Software Foundation, | ||
| 28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 29 | */ | 5 | */ |
| 30 | 6 | ||
| 31 | #ifndef _DEF_BF548_H | 7 | #ifndef _DEF_BF548_H |
diff --git a/arch/blackfin/mach-bf548/include/mach/defBF549.h b/arch/blackfin/mach-bf548/include/mach/defBF549.h index 096734541644..6fc6e39ab61b 100644 --- a/arch/blackfin/mach-bf548/include/mach/defBF549.h +++ b/arch/blackfin/mach-bf548/include/mach/defBF549.h | |||
| @@ -1,31 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf548/defBF549.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 18 | * any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; see the file COPYING. | ||
| 27 | * If not, write to the Free Software Foundation, | ||
| 28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 29 | */ | 5 | */ |
| 30 | 6 | ||
| 31 | #ifndef _DEF_BF549_H | 7 | #ifndef _DEF_BF549_H |
diff --git a/arch/blackfin/mach-bf548/include/mach/defBF54x_base.h b/arch/blackfin/mach-bf548/include/mach/defBF54x_base.h index e022e896cb18..8590c8c78336 100644 --- a/arch/blackfin/mach-bf548/include/mach/defBF54x_base.h +++ b/arch/blackfin/mach-bf548/include/mach/defBF54x_base.h | |||
| @@ -1,31 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf548/defBF54x_base.h | 2 | * Copyright 2007-2008 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 18 | * any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; see the file COPYING. | ||
| 27 | * If not, write to the Free Software Foundation, | ||
| 28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 29 | */ | 5 | */ |
| 30 | 6 | ||
| 31 | #ifndef _DEF_BF54X_H | 7 | #ifndef _DEF_BF54X_H |
diff --git a/arch/blackfin/mach-bf548/include/mach/gpio.h b/arch/blackfin/mach-bf548/include/mach/gpio.h index 3a2051709787..850e39d193e3 100644 --- a/arch/blackfin/mach-bf548/include/mach/gpio.h +++ b/arch/blackfin/mach-bf548/include/mach/gpio.h | |||
| @@ -1,34 +1,8 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf548/gpio.h | 2 | * Copyright 2007-2009 Analog Devices Inc. |
| 3 | * Based on: | 3 | * Licensed under the GPL-2 or later. |
| 4 | * Author: Michael Hennerich (hennerich@blackfin.uclinux.org) | ||
| 5 | * | ||
| 6 | * Created: | ||
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2004-2007 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 4 | */ |
| 29 | 5 | ||
| 30 | |||
| 31 | |||
| 32 | #define GPIO_PA0 0 | 6 | #define GPIO_PA0 0 |
| 33 | #define GPIO_PA1 1 | 7 | #define GPIO_PA1 1 |
| 34 | #define GPIO_PA2 2 | 8 | #define GPIO_PA2 2 |
diff --git a/arch/blackfin/mach-bf548/include/mach/irq.h b/arch/blackfin/mach-bf548/include/mach/irq.h index f194625f6821..106db05684ae 100644 --- a/arch/blackfin/mach-bf548/include/mach/irq.h +++ b/arch/blackfin/mach-bf548/include/mach/irq.h | |||
| @@ -1,32 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * file: include/asm-blackfin/mach-bf548/irq.h | 2 | * Copyright 2007-2009 Analog Devices Inc. |
| 3 | * based on: include/asm-blackfin/mach-bf537/irq.h | ||
| 4 | * author: Roy Huang (roy.huang@analog.com) | ||
| 5 | * | 3 | * |
| 6 | * created: | 4 | * Licensed under the GPL-2 or later. |
| 7 | * description: | ||
| 8 | * system mmr register map | ||
| 9 | * rev: | ||
| 10 | * | ||
| 11 | * modified: | ||
| 12 | * | ||
| 13 | * | ||
| 14 | * bugs: enter bugs at http://blackfin.uclinux.org/ | ||
| 15 | * | ||
| 16 | * this program is free software; you can redistribute it and/or modify | ||
| 17 | * it under the terms of the gnu general public license as published by | ||
| 18 | * the free software foundation; either version 2, or (at your option) | ||
| 19 | * any later version. | ||
| 20 | * | ||
| 21 | * this program is distributed in the hope that it will be useful, | ||
| 22 | * but without any warranty; without even the implied warranty of | ||
| 23 | * merchantability or fitness for a particular purpose. see the | ||
| 24 | * gnu general public license for more details. | ||
| 25 | * | ||
| 26 | * you should have received a copy of the gnu general public license | ||
| 27 | * along with this program; see the file copying. | ||
| 28 | * if not, write to the free software foundation, | ||
| 29 | * 59 temple place - suite 330, boston, ma 02111-1307, usa. | ||
| 30 | */ | 5 | */ |
| 31 | 6 | ||
| 32 | #ifndef _BF548_IRQ_H_ | 7 | #ifndef _BF548_IRQ_H_ |
diff --git a/arch/blackfin/mach-bf548/include/mach/portmux.h b/arch/blackfin/mach-bf548/include/mach/portmux.h index ce372ba0f046..89ad6a886362 100644 --- a/arch/blackfin/mach-bf548/include/mach/portmux.h +++ b/arch/blackfin/mach-bf548/include/mach/portmux.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2007-2009 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the GPL-2 or later. | ||
| 5 | */ | ||
| 6 | |||
| 1 | #ifndef _MACH_PORTMUX_H_ | 7 | #ifndef _MACH_PORTMUX_H_ |
| 2 | #define _MACH_PORTMUX_H_ | 8 | #define _MACH_PORTMUX_H_ |
| 3 | 9 | ||
diff --git a/arch/blackfin/mach-bf548/ints-priority.c b/arch/blackfin/mach-bf548/ints-priority.c index 9dd0fa3ac4de..48dd3a4bc4a5 100644 --- a/arch/blackfin/mach-bf548/ints-priority.c +++ b/arch/blackfin/mach-bf548/ints-priority.c | |||
| @@ -1,30 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf537/ints-priority.c | 2 | * Copyright 2007-2008 Analog Devices Inc. |
| 3 | * Based on: arch/blackfin/mach-bf533/ints-priority.c | ||
| 4 | * Author: Michael Hennerich | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
| 7 | * Description: Set up the interrupt priorities | ||
| 8 | * | 5 | * |
| 9 | * Modified: | 6 | * Set up the interrupt priorities |
| 10 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 7 | */ |
| 29 | 8 | ||
| 30 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/arch/blackfin/mach-bf561/atomic.S b/arch/blackfin/mach-bf561/atomic.S index 9439bc6bd01f..0261a5e751b3 100644 --- a/arch/blackfin/mach-bf561/atomic.S +++ b/arch/blackfin/mach-bf561/atomic.S | |||
| @@ -1,23 +1,8 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf561/atomic.S | 2 | * Copyright 2007-2008 Analog Devices Inc. |
| 3 | * Author: Philippe Gerum <rpm@xenomai.org> | 3 | * Philippe Gerum <rpm@xenomai.org> |
| 4 | * | 4 | * |
| 5 | * Copyright 2007 Analog Devices Inc. | 5 | * Licensed under the GPL-2 or later. |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License as published by | ||
| 9 | * the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program; if not, see the file COPYING, or write | ||
| 19 | * to the Free Software Foundation, Inc., | ||
| 20 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 21 | */ | 6 | */ |
| 22 | 7 | ||
| 23 | #include <linux/linkage.h> | 8 | #include <linux/linkage.h> |
diff --git a/arch/blackfin/mach-bf561/boards/cm_bf561.c b/arch/blackfin/mach-bf561/boards/cm_bf561.c index 6577ecfcf11e..dfc8d5b77986 100644 --- a/arch/blackfin/mach-bf561/boards/cm_bf561.c +++ b/arch/blackfin/mach-bf561/boards/cm_bf561.c | |||
| @@ -1,30 +1,10 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf533/boards/cm_bf561.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: arch/blackfin/mach-bf533/boards/ezkit.c | 3 | * 2008-2009 Bluetechnix |
| 4 | * Author: Aidan Williams <aidan@nicta.com.au> Copyright 2005 | 4 | * 2005 National ICT Australia (NICTA) |
| 5 | * Aidan Williams <aidan@nicta.com.au> | ||
| 5 | * | 6 | * |
| 6 | * Created: 2006 | 7 | * Licensed under the GPL-2 or later. |
| 7 | * Description: Board description file | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 8 | */ |
| 29 | 9 | ||
| 30 | #include <linux/device.h> | 10 | #include <linux/device.h> |
| @@ -285,19 +265,6 @@ static struct platform_device net2272_bfin_device = { | |||
| 285 | }; | 265 | }; |
| 286 | #endif | 266 | #endif |
| 287 | 267 | ||
| 288 | static struct resource bfin_gpios_resources = { | ||
| 289 | .start = 0, | ||
| 290 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
| 291 | .flags = IORESOURCE_IRQ, | ||
| 292 | }; | ||
| 293 | |||
| 294 | static struct platform_device bfin_gpios_device = { | ||
| 295 | .name = "simple-gpio", | ||
| 296 | .id = -1, | ||
| 297 | .num_resources = 1, | ||
| 298 | .resource = &bfin_gpios_resources, | ||
| 299 | }; | ||
| 300 | |||
| 301 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) | 268 | #if defined(CONFIG_USB_ISP1362_HCD) || defined(CONFIG_USB_ISP1362_HCD_MODULE) |
| 302 | static struct resource isp1362_hcd_resources[] = { | 269 | static struct resource isp1362_hcd_resources[] = { |
| 303 | { | 270 | { |
| @@ -532,8 +499,6 @@ static struct platform_device *cm_bf561_devices[] __initdata = { | |||
| 532 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) | 499 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) |
| 533 | ¶_flash_device, | 500 | ¶_flash_device, |
| 534 | #endif | 501 | #endif |
| 535 | |||
| 536 | &bfin_gpios_device, | ||
| 537 | }; | 502 | }; |
| 538 | 503 | ||
| 539 | static int __init cm_bf561_init(void) | 504 | static int __init cm_bf561_init(void) |
diff --git a/arch/blackfin/mach-bf561/boards/ezkit.c b/arch/blackfin/mach-bf561/boards/ezkit.c index caed96bb957e..9e2d8cfba546 100644 --- a/arch/blackfin/mach-bf561/boards/ezkit.c +++ b/arch/blackfin/mach-bf561/boards/ezkit.c | |||
| @@ -1,30 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf561/ezkit.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: | 3 | * 2005 National ICT Australia (NICTA) |
| 4 | * Author: | 4 | * Aidan Williams <aidan@nicta.com.au> |
| 5 | * | 5 | * |
| 6 | * Created: | 6 | * Licensed under the GPL-2 or later. |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 7 | */ |
| 29 | 8 | ||
| 30 | #include <linux/device.h> | 9 | #include <linux/device.h> |
| @@ -387,19 +366,6 @@ static struct platform_device bfin_device_gpiokeys = { | |||
| 387 | }; | 366 | }; |
| 388 | #endif | 367 | #endif |
| 389 | 368 | ||
| 390 | static struct resource bfin_gpios_resources = { | ||
| 391 | .start = 0, | ||
| 392 | .end = MAX_BLACKFIN_GPIOS - 1, | ||
| 393 | .flags = IORESOURCE_IRQ, | ||
| 394 | }; | ||
| 395 | |||
| 396 | static struct platform_device bfin_gpios_device = { | ||
| 397 | .name = "simple-gpio", | ||
| 398 | .id = -1, | ||
| 399 | .num_resources = 1, | ||
| 400 | .resource = &bfin_gpios_resources, | ||
| 401 | }; | ||
| 402 | |||
| 403 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) | 369 | #if defined(CONFIG_I2C_GPIO) || defined(CONFIG_I2C_GPIO_MODULE) |
| 404 | #include <linux/i2c-gpio.h> | 370 | #include <linux/i2c-gpio.h> |
| 405 | 371 | ||
| @@ -493,8 +459,6 @@ static struct platform_device *ezkit_devices[] __initdata = { | |||
| 493 | &isp1362_hcd_device, | 459 | &isp1362_hcd_device, |
| 494 | #endif | 460 | #endif |
| 495 | 461 | ||
| 496 | &bfin_gpios_device, | ||
| 497 | |||
| 498 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) | 462 | #if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE) |
| 499 | &ezkit_flash_device, | 463 | &ezkit_flash_device, |
| 500 | #endif | 464 | #endif |
diff --git a/arch/blackfin/mach-bf561/boards/tepla.c b/arch/blackfin/mach-bf561/boards/tepla.c index 6f77dbe952f5..8ba7252455e1 100644 --- a/arch/blackfin/mach-bf561/boards/tepla.c +++ b/arch/blackfin/mach-bf561/boards/tepla.c | |||
| @@ -1,15 +1,13 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf561/tepla.c | 2 | * Copyright 2004-2007 Analog Devices Inc. |
| 3 | * 2005 National ICT Australia (NICTA) | ||
| 4 | * Aidan Williams <aidan@nicta.com.au> | ||
| 3 | * | 5 | * |
| 4 | * Copyright 2004-2007 Analog Devices Inc. | 6 | * Thanks to Jamey Hicks. |
| 5 | * Only SMSC91C1111 was registered, may do more later. | ||
| 6 | * | 7 | * |
| 7 | * Copyright 2005 National ICT Australia (NICTA), Aidan Williams <aidan@nicta.com.au> | 8 | * Only SMSC91C1111 was registered, may do more later. |
| 8 | * Thanks to Jamey Hicks. | ||
| 9 | * | 9 | * |
| 10 | * This program is free software; you can redistribute it and/or modify | 10 | * Licensed under the GPL-2 |
| 11 | * it under the terms of the GNU General Public License version 2 as | ||
| 12 | * published by the Free Software Foundation. | ||
| 13 | */ | 11 | */ |
| 14 | 12 | ||
| 15 | #include <linux/device.h> | 13 | #include <linux/device.h> |
diff --git a/arch/blackfin/mach-bf561/dma.c b/arch/blackfin/mach-bf561/dma.c index 42b0037afe61..c938c3c7355d 100644 --- a/arch/blackfin/mach-bf561/dma.c +++ b/arch/blackfin/mach-bf561/dma.c | |||
| @@ -1,31 +1,11 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf561/dma.c | 2 | * the simple DMA Implementation for Blackfin |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Copyright 2007-2008 Analog Devices Inc. |
| 7 | * Description: This file contains the simple DMA Implementation for Blackfin | ||
| 8 | * | 5 | * |
| 9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
| 10 | * Copyright 2004-2007 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 7 | */ |
| 8 | |||
| 29 | #include <linux/module.h> | 9 | #include <linux/module.h> |
| 30 | 10 | ||
| 31 | #include <asm/blackfin.h> | 11 | #include <asm/blackfin.h> |
diff --git a/arch/blackfin/mach-bf561/include/mach/bf561.h b/arch/blackfin/mach-bf561/include/mach/bf561.h index 9968362a2ee4..9f9a367e6a24 100644 --- a/arch/blackfin/mach-bf561/include/mach/bf561.h +++ b/arch/blackfin/mach-bf561/include/mach/bf561.h | |||
| @@ -1,30 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf561/bf561.h | 2 | * SYSTEM MMR REGISTER AND MEMORY MAP FOR ADSP-BF561 |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Copyright 2005-2008 Analog Devices Inc. |
| 7 | * Description: SYSTEM MMR REGISTER AND MEMORY MAP FOR ADSP-BF561 | ||
| 8 | * | 5 | * |
| 9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
| 10 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 7 | */ |
| 29 | 8 | ||
| 30 | #ifndef __MACH_BF561_H__ | 9 | #ifndef __MACH_BF561_H__ |
diff --git a/arch/blackfin/mach-bf561/include/mach/bfin_serial_5xx.h b/arch/blackfin/mach-bf561/include/mach/bfin_serial_5xx.h index fd5e8878b8c4..e33e158bc16d 100644 --- a/arch/blackfin/mach-bf561/include/mach/bfin_serial_5xx.h +++ b/arch/blackfin/mach-bf561/include/mach/bfin_serial_5xx.h | |||
| @@ -1,32 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * file: include/asm-blackfin/mach-bf561/bfin_serial_5xx.h | 2 | * Copyright 2006-2009 Analog Devices Inc. |
| 3 | * based on: | ||
| 4 | * author: | ||
| 5 | * | 3 | * |
| 6 | * created: | 4 | * Licensed under the GPL-2 or later. |
| 7 | * description: | ||
| 8 | * blackfin serial driver head file | ||
| 9 | * rev: | ||
| 10 | * | ||
| 11 | * modified: | ||
| 12 | * | ||
| 13 | * | ||
| 14 | * bugs: enter bugs at http://blackfin.uclinux.org/ | ||
| 15 | * | ||
| 16 | * this program is free software; you can redistribute it and/or modify | ||
| 17 | * it under the terms of the gnu general public license as published by | ||
| 18 | * the free software foundation; either version 2, or (at your option) | ||
| 19 | * any later version. | ||
| 20 | * | ||
| 21 | * this program is distributed in the hope that it will be useful, | ||
| 22 | * but without any warranty; without even the implied warranty of | ||
| 23 | * merchantability or fitness for a particular purpose. see the | ||
| 24 | * gnu general public license for more details. | ||
| 25 | * | ||
| 26 | * you should have received a copy of the gnu general public license | ||
| 27 | * along with this program; see the file copying. | ||
| 28 | * if not, write to the free software foundation, | ||
| 29 | * 59 temple place - suite 330, boston, ma 02111-1307, usa. | ||
| 30 | */ | 5 | */ |
| 31 | 6 | ||
| 32 | #include <linux/serial.h> | 7 | #include <linux/serial.h> |
diff --git a/arch/blackfin/mach-bf561/include/mach/blackfin.h b/arch/blackfin/mach-bf561/include/mach/blackfin.h index 8be31358ef88..67d6bdcd3fa8 100644 --- a/arch/blackfin/mach-bf561/include/mach/blackfin.h +++ b/arch/blackfin/mach-bf561/include/mach/blackfin.h | |||
| @@ -1,31 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf561/blackfin.h | 2 | * Copyright 2005-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 18 | * any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; see the file COPYING. | ||
| 27 | * If not, write to the Free Software Foundation, | ||
| 28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 29 | */ | 5 | */ |
| 30 | 6 | ||
| 31 | #ifndef _MACH_BLACKFIN_H_ | 7 | #ifndef _MACH_BLACKFIN_H_ |
diff --git a/arch/blackfin/mach-bf561/include/mach/cdefBF561.h b/arch/blackfin/mach-bf561/include/mach/cdefBF561.h index 9d9858c2be68..81ecdb71c6af 100644 --- a/arch/blackfin/mach-bf561/include/mach/cdefBF561.h +++ b/arch/blackfin/mach-bf561/include/mach/cdefBF561.h | |||
| @@ -1,31 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: include/asm-blackfin/mach-bf561/cdefBF561.h | 2 | * Copyright 2005-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
| 7 | * Description: C POINTERS TO SYSTEM MMR REGISTER AND MEMORY MAP FOR ADSP-BF561 | ||
| 8 | * | ||
| 9 | * Rev: | ||
| 10 | * | ||
| 11 | * Modified: | ||
| 12 | * | ||
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 14 | * | ||
| 15 | * This program is free software; you can redistribute it and/or modify | ||
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 18 | * any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | ||
| 25 | * You should have received a copy of the GNU General Public License | ||
| 26 | * along with this program; see the file COPYING. | ||
| 27 | * If not, write to the Free Software Foundation, | ||
| 28 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 29 | */ | 5 | */ |
| 30 | 6 | ||
| 31 | #ifndef _CDEF_BF561_H | 7 | #ifndef _CDEF_BF561_H |
diff --git a/arch/blackfin/mach-bf561/include/mach/defBF561.h b/arch/blackfin/mach-bf561/include/mach/defBF561.h index 5fc0f05026e0..a31e509553fb 100644 --- a/arch/blackfin/mach-bf561/include/mach/defBF561.h +++ b/arch/blackfin/mach-bf561/include/mach/defBF561.h | |||
| @@ -1,32 +1,7 @@ | |||
| 1 | |||
| 2 | /* | 1 | /* |
| 3 | * File: include/asm-blackfin/mach-bf561/defBF561.h | 2 | * Copyright 2005-2009 Analog Devices Inc. |
| 4 | * Based on: | ||
| 5 | * Author: | ||
| 6 | * | ||
| 7 | * Created: | ||
| 8 | * Description: | ||
| 9 | * SYSTEM MMR REGISTER AND MEMORY MAP FOR ADSP-BF561 | ||
| 10 | * Rev: | ||
| 11 | * | ||
| 12 | * Modified: | ||
| 13 | * | ||
| 14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 15 | * | ||
| 16 | * This program is free software; you can redistribute it and/or modify | ||
| 17 | * it under the terms of the GNU General Public License as published by | ||
| 18 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 19 | * any later version. | ||
| 20 | * | ||
| 21 | * This program is distributed in the hope that it will be useful, | ||
| 22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 24 | * GNU General Public License for more details. | ||
| 25 | * | 3 | * |
| 26 | * You should have received a copy of the GNU General Public License | 4 | * Licensed under the ADI BSD license or the GPL-2 (or later) |
| 27 | * along with this program; see the file COPYING. | ||
| 28 | * If not, write to the Free Software Foundation, | ||
| 29 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 30 | */ | 5 | */ |
| 31 | 6 | ||
| 32 | #ifndef _DEF_BF561_H | 7 | #ifndef _DEF_BF561_H |
diff --git a/arch/blackfin/mach-bf561/include/mach/gpio.h b/arch/blackfin/mach-bf561/include/mach/gpio.h index 7882f79e1ade..a651a8cf805f 100644 --- a/arch/blackfin/mach-bf561/include/mach/gpio.h +++ b/arch/blackfin/mach-bf561/include/mach/gpio.h | |||
| @@ -1,7 +1,4 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf561/include/mach/gpio.h | ||
| 3 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 4 | * | ||
| 5 | * Copyright (C) 2008 Analog Devices Inc. | 2 | * Copyright (C) 2008 Analog Devices Inc. |
| 6 | * Licensed under the GPL-2 or later. | 3 | * Licensed under the GPL-2 or later. |
| 7 | */ | 4 | */ |
diff --git a/arch/blackfin/mach-bf561/include/mach/irq.h b/arch/blackfin/mach-bf561/include/mach/irq.h index 6698389c5564..7b208db267bf 100644 --- a/arch/blackfin/mach-bf561/include/mach/irq.h +++ b/arch/blackfin/mach-bf561/include/mach/irq.h | |||
| @@ -1,32 +1,7 @@ | |||
| 1 | |||
| 2 | /* | 1 | /* |
| 3 | * File: include/asm-blackfin/mach-bf561/irq.h | 2 | * Copyright 2005-2008 Analog Devices Inc. |
| 4 | * Based on: | ||
| 5 | * Author: | ||
| 6 | * | ||
| 7 | * Created: | ||
| 8 | * Description: | ||
| 9 | * | ||
| 10 | * Rev: | ||
| 11 | * | ||
| 12 | * Modified: | ||
| 13 | * | ||
| 14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 15 | * | ||
| 16 | * This program is free software; you can redistribute it and/or modify | ||
| 17 | * it under the terms of the GNU General Public License as published by | ||
| 18 | * the Free Software Foundation; either version 2, or (at your option) | ||
| 19 | * any later version. | ||
| 20 | * | ||
| 21 | * This program is distributed in the hope that it will be useful, | ||
| 22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 24 | * GNU General Public License for more details. | ||
| 25 | * | 3 | * |
| 26 | * You should have received a copy of the GNU General Public License | 4 | * Licensed under the GPL-2 or later. |
| 27 | * along with this program; see the file COPYING. | ||
| 28 | * If not, write to the Free Software Foundation, | ||
| 29 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | ||
| 30 | */ | 5 | */ |
| 31 | 6 | ||
| 32 | #ifndef _BF561_IRQ_H_ | 7 | #ifndef _BF561_IRQ_H_ |
diff --git a/arch/blackfin/mach-bf561/include/mach/portmux.h b/arch/blackfin/mach-bf561/include/mach/portmux.h index 2e5ad6347dea..3a7b46bbe849 100644 --- a/arch/blackfin/mach-bf561/include/mach/portmux.h +++ b/arch/blackfin/mach-bf561/include/mach/portmux.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2007-2009 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the GPL-2 or later. | ||
| 5 | */ | ||
| 6 | |||
| 1 | #ifndef _MACH_PORTMUX_H_ | 7 | #ifndef _MACH_PORTMUX_H_ |
| 2 | #define _MACH_PORTMUX_H_ | 8 | #define _MACH_PORTMUX_H_ |
| 3 | 9 | ||
diff --git a/arch/blackfin/mach-bf561/include/mach/smp.h b/arch/blackfin/mach-bf561/include/mach/smp.h index f9e65ebe81b2..390c7f4ae7b3 100644 --- a/arch/blackfin/mach-bf561/include/mach/smp.h +++ b/arch/blackfin/mach-bf561/include/mach/smp.h | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | /* | ||
| 2 | * Copyright 2007-2008 Analog Devices Inc. | ||
| 3 | * | ||
| 4 | * Licensed under the GPL-2 or later. | ||
| 5 | */ | ||
| 6 | |||
| 1 | #ifndef _MACH_BF561_SMP | 7 | #ifndef _MACH_BF561_SMP |
| 2 | #define _MACH_BF561_SMP | 8 | #define _MACH_BF561_SMP |
| 3 | 9 | ||
diff --git a/arch/blackfin/mach-bf561/ints-priority.c b/arch/blackfin/mach-bf561/ints-priority.c index 9d2f23344720..b4424172ad9e 100644 --- a/arch/blackfin/mach-bf561/ints-priority.c +++ b/arch/blackfin/mach-bf561/ints-priority.c | |||
| @@ -1,30 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf561/ints-priority.c | 2 | * Set up the interrupt priorities |
| 3 | * Based on: arch/blackfin/mach-bf537/ints-priority.c | ||
| 4 | * Author: Michael Hennerich | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Copyright 2005-2009 Analog Devices Inc. |
| 7 | * Description: Set up the interrupt priorities | ||
| 8 | * | 5 | * |
| 9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
| 10 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 7 | */ |
| 29 | 8 | ||
| 30 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/arch/blackfin/mach-bf561/secondary.S b/arch/blackfin/mach-bf561/secondary.S index f72a6af20c4f..8e6050369c06 100644 --- a/arch/blackfin/mach-bf561/secondary.S +++ b/arch/blackfin/mach-bf561/secondary.S | |||
| @@ -1,26 +1,10 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf561/secondary.S | 2 | * BF561 coreB bootstrap file |
| 3 | * Based on: arch/blackfin/mach-bf561/head.S | ||
| 4 | * Author: Philippe Gerum <rpm@xenomai.org> | ||
| 5 | * | 3 | * |
| 6 | * Copyright 2007 Analog Devices Inc. | 4 | * Copyright 2007-2009 Analog Devices Inc. |
| 5 | * Philippe Gerum <rpm@xenomai.org> | ||
| 7 | * | 6 | * |
| 8 | * Description: BF561 coreB bootstrap file | 7 | * Licensed under the GPL-2 or later. |
| 9 | * | ||
| 10 | * This program is free software; you can redistribute it and/or modify | ||
| 11 | * it under the terms of the GNU General Public License as published by | ||
| 12 | * the Free Software Foundation; either version 2 of the License, or | ||
| 13 | * (at your option) any later version. | ||
| 14 | * | ||
| 15 | * This program is distributed in the hope that it will be useful, | ||
| 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 18 | * GNU General Public License for more details. | ||
| 19 | * | ||
| 20 | * You should have received a copy of the GNU General Public License | ||
| 21 | * along with this program; if not, see the file COPYING, or write | ||
| 22 | * to the Free Software Foundation, Inc., | ||
| 23 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 24 | */ | 8 | */ |
| 25 | 9 | ||
| 26 | #include <linux/linkage.h> | 10 | #include <linux/linkage.h> |
diff --git a/arch/blackfin/mach-bf561/smp.c b/arch/blackfin/mach-bf561/smp.c index 8c10701c251f..510f57641495 100644 --- a/arch/blackfin/mach-bf561/smp.c +++ b/arch/blackfin/mach-bf561/smp.c | |||
| @@ -1,23 +1,8 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-bf561/smp.c | 2 | * Copyright 2007-2009 Analog Devices Inc. |
| 3 | * Author: Philippe Gerum <rpm@xenomai.org> | 3 | * Philippe Gerum <rpm@xenomai.org> |
| 4 | * | 4 | * |
| 5 | * Copyright 2007 Analog Devices Inc. | 5 | * Licensed under the GPL-2 or later. |
| 6 | * | ||
| 7 | * This program is free software; you can redistribute it and/or modify | ||
| 8 | * it under the terms of the GNU General Public License as published by | ||
| 9 | * the Free Software Foundation; either version 2 of the License, or | ||
| 10 | * (at your option) any later version. | ||
| 11 | * | ||
| 12 | * This program is distributed in the hope that it will be useful, | ||
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | * GNU General Public License for more details. | ||
| 16 | * | ||
| 17 | * You should have received a copy of the GNU General Public License | ||
| 18 | * along with this program; if not, see the file COPYING, or write | ||
| 19 | * to the Free Software Foundation, Inc., | ||
| 20 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 21 | */ | 6 | */ |
| 22 | 7 | ||
| 23 | #include <linux/init.h> | 8 | #include <linux/init.h> |
diff --git a/arch/blackfin/mach-common/arch_checks.c b/arch/blackfin/mach-common/arch_checks.c index 5998d8632a73..9dbafcdcf479 100644 --- a/arch/blackfin/mach-common/arch_checks.c +++ b/arch/blackfin/mach-common/arch_checks.c | |||
| @@ -1,30 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-common/arch_checks.c | 2 | * Do some checking to make sure things are OK |
| 3 | * Based on: | ||
| 4 | * Author: Robin Getz <rgetz@blackfin.uclinux.org> | ||
| 5 | * | 3 | * |
| 6 | * Created: 25Jul07 | 4 | * Copyright 2007-2009 Analog Devices Inc. |
| 7 | * Description: Do some checking to make sure things are OK | ||
| 8 | * | 5 | * |
| 9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
| 10 | * Copyright 2004-2007 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 7 | */ |
| 29 | 8 | ||
| 30 | #include <asm/fixed_code.h> | 9 | #include <asm/fixed_code.h> |
diff --git a/arch/blackfin/mach-common/cache-c.c b/arch/blackfin/mach-common/cache-c.c index 4ebbd78db3a4..a60a24f5035d 100644 --- a/arch/blackfin/mach-common/cache-c.c +++ b/arch/blackfin/mach-common/cache-c.c | |||
| @@ -3,8 +3,6 @@ | |||
| 3 | * | 3 | * |
| 4 | * Copyright 2004-2009 Analog Devices Inc. | 4 | * Copyright 2004-2009 Analog Devices Inc. |
| 5 | * | 5 | * |
| 6 | * Enter bugs at http://blackfin.uclinux.org/ | ||
| 7 | * | ||
| 8 | * Licensed under the GPL-2 or later. | 6 | * Licensed under the GPL-2 or later. |
| 9 | */ | 7 | */ |
| 10 | 8 | ||
diff --git a/arch/blackfin/mach-common/cache.S b/arch/blackfin/mach-common/cache.S index d9666fe6c3d6..ea540318a228 100644 --- a/arch/blackfin/mach-common/cache.S +++ b/arch/blackfin/mach-common/cache.S | |||
| @@ -3,8 +3,6 @@ | |||
| 3 | * | 3 | * |
| 4 | * Copyright 2004-2008 Analog Devices Inc. | 4 | * Copyright 2004-2008 Analog Devices Inc. |
| 5 | * | 5 | * |
| 6 | * Enter bugs at http://blackfin.uclinux.org/ | ||
| 7 | * | ||
| 8 | * Licensed under the GPL-2 or later. | 6 | * Licensed under the GPL-2 or later. |
| 9 | */ | 7 | */ |
| 10 | 8 | ||
diff --git a/arch/blackfin/mach-common/cpufreq.c b/arch/blackfin/mach-common/cpufreq.c index 85c658083279..01506504e6d0 100644 --- a/arch/blackfin/mach-common/cpufreq.c +++ b/arch/blackfin/mach-common/cpufreq.c | |||
| @@ -1,30 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-common/cpufreq.c | 2 | * Blackfin core clock scaling |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Copyright 2008-2009 Analog Devices Inc. |
| 7 | * Description: Blackfin core clock scaling | ||
| 8 | * | 5 | * |
| 9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
| 10 | * Copyright 2004-2008 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 7 | */ |
| 29 | 8 | ||
| 30 | #include <linux/kernel.h> | 9 | #include <linux/kernel.h> |
diff --git a/arch/blackfin/mach-common/entry.S b/arch/blackfin/mach-common/entry.S index 1e7cac23e25f..94a0375cbdcf 100644 --- a/arch/blackfin/mach-common/entry.S +++ b/arch/blackfin/mach-common/entry.S | |||
| @@ -1,32 +1,11 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-common/entry.S | 2 | * Contains the system-call and fault low-level handling routines. |
| 3 | * Based on: | 3 | * This also contains the timer-interrupt handler, as well as all |
| 4 | * Author: Linus Torvalds | 4 | * interrupts and faults that can result in a task-switch. |
| 5 | * | 5 | * |
| 6 | * Created: ? | 6 | * Copyright 2005-2009 Analog Devices Inc. |
| 7 | * Description: contains the system-call and fault low-level handling routines. | ||
| 8 | * This also contains the timer-interrupt handler, as well as all | ||
| 9 | * interrupts and faults that can result in a task-switch. | ||
| 10 | * | 7 | * |
| 11 | * Modified: | 8 | * Licensed under the GPL-2 or later. |
| 12 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 13 | * | ||
| 14 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 15 | * | ||
| 16 | * This program is free software; you can redistribute it and/or modify | ||
| 17 | * it under the terms of the GNU General Public License as published by | ||
| 18 | * the Free Software Foundation; either version 2 of the License, or | ||
| 19 | * (at your option) any later version. | ||
| 20 | * | ||
| 21 | * This program is distributed in the hope that it will be useful, | ||
| 22 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 23 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 24 | * GNU General Public License for more details. | ||
| 25 | * | ||
| 26 | * You should have received a copy of the GNU General Public License | ||
| 27 | * along with this program; if not, see the file COPYING, or write | ||
| 28 | * to the Free Software Foundation, Inc., | ||
| 29 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 30 | */ | 9 | */ |
| 31 | 10 | ||
| 32 | /* NOTE: This code handles signal-recognition, which happens every time | 11 | /* NOTE: This code handles signal-recognition, which happens every time |
diff --git a/arch/blackfin/mach-common/head.S b/arch/blackfin/mach-common/head.S index 9c79dfea2a53..cab0a0031eee 100644 --- a/arch/blackfin/mach-common/head.S +++ b/arch/blackfin/mach-common/head.S | |||
| @@ -3,8 +3,6 @@ | |||
| 3 | * | 3 | * |
| 4 | * Copyright 2004-2008 Analog Devices Inc. | 4 | * Copyright 2004-2008 Analog Devices Inc. |
| 5 | * | 5 | * |
| 6 | * Enter bugs at http://blackfin.uclinux.org/ | ||
| 7 | * | ||
| 8 | * Licensed under the GPL-2 or later. | 6 | * Licensed under the GPL-2 or later. |
| 9 | */ | 7 | */ |
| 10 | 8 | ||
diff --git a/arch/blackfin/mach-common/interrupt.S b/arch/blackfin/mach-common/interrupt.S index 82d417ef4b5b..8085ff1cce00 100644 --- a/arch/blackfin/mach-common/interrupt.S +++ b/arch/blackfin/mach-common/interrupt.S | |||
| @@ -1,31 +1,11 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-common/interrupt.S | 2 | * Interrupt Entries |
| 3 | * Based on: | ||
| 4 | * Author: D. Jeff Dionne <jeff@ryeham.ee.ryerson.ca> | ||
| 5 | * Kenneth Albanowski <kjahds@kjahds.com> | ||
| 6 | * | ||
| 7 | * Created: ? | ||
| 8 | * Description: Interrupt Entries | ||
| 9 | * | ||
| 10 | * Modified: | ||
| 11 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 12 | * | 3 | * |
| 13 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | 4 | * Copyright 2005-2009 Analog Devices Inc. |
| 14 | * | 5 | * D. Jeff Dionne <jeff@ryeham.ee.ryerson.ca> |
| 15 | * This program is free software; you can redistribute it and/or modify | 6 | * Kenneth Albanowski <kjahds@kjahds.com> |
| 16 | * it under the terms of the GNU General Public License as published by | ||
| 17 | * the Free Software Foundation; either version 2 of the License, or | ||
| 18 | * (at your option) any later version. | ||
| 19 | * | ||
| 20 | * This program is distributed in the hope that it will be useful, | ||
| 21 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 22 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 23 | * GNU General Public License for more details. | ||
| 24 | * | 7 | * |
| 25 | * You should have received a copy of the GNU General Public License | 8 | * Licensed under the GPL-2 or later. |
| 26 | * along with this program; if not, see the file COPYING, or write | ||
| 27 | * to the Free Software Foundation, Inc., | ||
| 28 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 29 | */ | 9 | */ |
| 30 | 10 | ||
| 31 | #include <asm/blackfin.h> | 11 | #include <asm/blackfin.h> |
diff --git a/arch/blackfin/mach-common/ints-priority.c b/arch/blackfin/mach-common/ints-priority.c index 6ffda78aaf9d..660ea1bec54c 100644 --- a/arch/blackfin/mach-common/ints-priority.c +++ b/arch/blackfin/mach-common/ints-priority.c | |||
| @@ -1,33 +1,14 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-common/ints-priority.c | 2 | * Set up the interrupt priorities |
| 3 | * | 3 | * |
| 4 | * Description: Set up the interrupt priorities | 4 | * Copyright 2004-2009 Analog Devices Inc. |
| 5 | * 2003 Bas Vermeulen <bas@buyways.nl> | ||
| 6 | * 2002 Arcturus Networks Inc. MaTed <mated@sympatico.ca> | ||
| 7 | * 2000-2001 Lineo, Inc. D. Jefff Dionne <jeff@lineo.ca> | ||
| 8 | * 1999 D. Jeff Dionne <jeff@uclinux.org> | ||
| 9 | * 1996 Roman Zippel | ||
| 5 | * | 10 | * |
| 6 | * Modified: | 11 | * Licensed under the GPL-2 |
| 7 | * 1996 Roman Zippel | ||
| 8 | * 1999 D. Jeff Dionne <jeff@uclinux.org> | ||
| 9 | * 2000-2001 Lineo, Inc. D. Jefff Dionne <jeff@lineo.ca> | ||
| 10 | * 2002 Arcturus Networks Inc. MaTed <mated@sympatico.ca> | ||
| 11 | * 2003 Metrowerks/Motorola | ||
| 12 | * 2003 Bas Vermeulen <bas@buyways.nl> | ||
| 13 | * Copyright 2004-2008 Analog Devices Inc. | ||
| 14 | * | ||
| 15 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 16 | * | ||
| 17 | * This program is free software; you can redistribute it and/or modify | ||
| 18 | * it under the terms of the GNU General Public License as published by | ||
| 19 | * the Free Software Foundation; either version 2 of the License, or | ||
| 20 | * (at your option) any later version. | ||
| 21 | * | ||
| 22 | * This program is distributed in the hope that it will be useful, | ||
| 23 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 24 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 25 | * GNU General Public License for more details. | ||
| 26 | * | ||
| 27 | * You should have received a copy of the GNU General Public License | ||
| 28 | * along with this program; if not, see the file COPYING, or write | ||
| 29 | * to the Free Software Foundation, Inc., | ||
| 30 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 31 | */ | 12 | */ |
| 32 | 13 | ||
| 33 | #include <linux/module.h> | 14 | #include <linux/module.h> |
diff --git a/arch/blackfin/mach-common/irqpanic.c b/arch/blackfin/mach-common/irqpanic.c index 883e3241b17e..c6496249e2bc 100644 --- a/arch/blackfin/mach-common/irqpanic.c +++ b/arch/blackfin/mach-common/irqpanic.c | |||
| @@ -1,30 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-common/irqpanic.c | 2 | * panic kernel with dump information |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: ? | 4 | * Copyright 2005-2009 Analog Devices Inc. |
| 7 | * Description: panic kernel with dump information | ||
| 8 | * | 5 | * |
| 9 | * Modified: rgetz - added cache checking code 14Feb06 | 6 | * Licensed under the GPL-2 or later. |
| 10 | * Copyright 2004-2006 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 7 | */ |
| 29 | 8 | ||
| 30 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/arch/blackfin/mach-common/pm.c b/arch/blackfin/mach-common/pm.c index 0e3d4ff9d8b6..8837be4edb4a 100644 --- a/arch/blackfin/mach-common/pm.c +++ b/arch/blackfin/mach-common/pm.c | |||
| @@ -1,35 +1,11 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mach-common/pm.c | 2 | * Blackfin power management |
| 3 | * Based on: arm/mach-omap/pm.c | ||
| 4 | * Author: Cliff Brake <cbrake@accelent.com> Copyright (c) 2001 | ||
| 5 | * | 3 | * |
| 6 | * Created: 2001 | 4 | * Copyright 2006-2009 Analog Devices Inc. |
| 7 | * Description: Blackfin power management | ||
| 8 | * | 5 | * |
| 9 | * Modified: Nicolas Pitre - PXA250 support | 6 | * Licensed under the GPL-2 |
| 10 | * Copyright (c) 2002 Monta Vista Software, Inc. | 7 | * based on arm/mach-omap/pm.c |
| 11 | * David Singleton - OMAP1510 | 8 | * Copyright 2001, Cliff Brake <cbrake@accelent.com> and others |
| 12 | * Copyright (c) 2002 Monta Vista Software, Inc. | ||
| 13 | * Dirk Behme <dirk.behme@de.bosch.com> - OMAP1510/1610 | ||
| 14 | * Copyright 2004 | ||
| 15 | * Copyright 2004-2008 Analog Devices Inc. | ||
| 16 | * | ||
| 17 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 18 | * | ||
| 19 | * This program is free software; you can redistribute it and/or modify | ||
| 20 | * it under the terms of the GNU General Public License as published by | ||
| 21 | * the Free Software Foundation; either version 2 of the License, or | ||
| 22 | * (at your option) any later version. | ||
| 23 | * | ||
| 24 | * This program is distributed in the hope that it will be useful, | ||
| 25 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 26 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 27 | * GNU General Public License for more details. | ||
| 28 | * | ||
| 29 | * You should have received a copy of the GNU General Public License | ||
| 30 | * along with this program; if not, see the file COPYING, or write | ||
| 31 | * to the Free Software Foundation, Inc., | ||
| 32 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 33 | */ | 9 | */ |
| 34 | 10 | ||
| 35 | #include <linux/suspend.h> | 11 | #include <linux/suspend.h> |
diff --git a/arch/blackfin/mach-common/smp.c b/arch/blackfin/mach-common/smp.c index 349ee3f5466a..d98585f3237d 100644 --- a/arch/blackfin/mach-common/smp.c +++ b/arch/blackfin/mach-common/smp.c | |||
| @@ -1,24 +1,10 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/kernel/smp.c | 2 | * IPI management based on arch/arm/kernel/smp.c (Copyright 2002 ARM Limited) |
| 3 | * Author: Philippe Gerum <rpm@xenomai.org> | ||
| 4 | * IPI management based on arch/arm/kernel/smp.c. | ||
| 5 | * | 3 | * |
| 6 | * Copyright 2007 Analog Devices Inc. | 4 | * Copyright 2007-2009 Analog Devices Inc. |
| 5 | * Philippe Gerum <rpm@xenomai.org> | ||
| 7 | * | 6 | * |
| 8 | * This program is free software; you can redistribute it and/or modify | 7 | * Licensed under the GPL-2. |
| 9 | * it under the terms of the GNU General Public License as published by | ||
| 10 | * the Free Software Foundation; either version 2 of the License, or | ||
| 11 | * (at your option) any later version. | ||
| 12 | * | ||
| 13 | * This program is distributed in the hope that it will be useful, | ||
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 16 | * GNU General Public License for more details. | ||
| 17 | * | ||
| 18 | * You should have received a copy of the GNU General Public License | ||
| 19 | * along with this program; if not, see the file COPYING, or write | ||
| 20 | * to the Free Software Foundation, Inc., | ||
| 21 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 22 | */ | 8 | */ |
| 23 | 9 | ||
| 24 | #include <linux/module.h> | 10 | #include <linux/module.h> |
diff --git a/arch/blackfin/mm/blackfin_sram.h b/arch/blackfin/mm/blackfin_sram.h index bc0062884fde..fb0b1599cfb7 100644 --- a/arch/blackfin/mm/blackfin_sram.h +++ b/arch/blackfin/mm/blackfin_sram.h | |||
| @@ -1,30 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mm/blackfin_sram.h | 2 | * Local prototypes meant for internal use only |
| 3 | * Based on: arch/blackfin/mm/blackfin_sram.c | ||
| 4 | * Author: Mike Frysinger | ||
| 5 | * | 3 | * |
| 6 | * Created: Aug 2006 | 4 | * Copyright 2006-2009 Analog Devices Inc. |
| 7 | * Description: Local prototypes meant for internal use only | ||
| 8 | * | 5 | * |
| 9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
| 10 | * Copyright 2006 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 7 | */ |
| 29 | 8 | ||
| 30 | #ifndef __BLACKFIN_SRAM_H__ | 9 | #ifndef __BLACKFIN_SRAM_H__ |
diff --git a/arch/blackfin/mm/init.c b/arch/blackfin/mm/init.c index b88ce7fda548..bb9c98f9cb5b 100644 --- a/arch/blackfin/mm/init.c +++ b/arch/blackfin/mm/init.c | |||
| @@ -1,30 +1,7 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mm/init.c | 2 | * Copyright 2004-2009 Analog Devices Inc. |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Licensed under the GPL-2 or later. |
| 7 | * Description: | ||
| 8 | * | ||
| 9 | * Modified: | ||
| 10 | * Copyright 2004-2007 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 5 | */ |
| 29 | 6 | ||
| 30 | #include <linux/swap.h> | 7 | #include <linux/swap.h> |
diff --git a/arch/blackfin/mm/isram-driver.c b/arch/blackfin/mm/isram-driver.c index beb1a608824c..84cdc5a1c139 100644 --- a/arch/blackfin/mm/isram-driver.c +++ b/arch/blackfin/mm/isram-driver.c | |||
| @@ -1,19 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Description: Instruction SRAM accessor functions for the Blackfin | 2 | * Instruction SRAM accessor functions for the Blackfin |
| 3 | * | 3 | * |
| 4 | * Copyright 2008 Analog Devices Inc. | 4 | * Copyright 2008 Analog Devices Inc. |
| 5 | * | 5 | * |
| 6 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | 6 | * Licensed under the GPL-2 or later |
| 7 | * | ||
| 8 | * This program is free software; you can redistribute it and/or modify | ||
| 9 | * it under the terms of the GNU General Public License as published by | ||
| 10 | * the Free Software Foundation; either version 2 of the License, or | ||
| 11 | * (at your option) any later version. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program; if not, see the file COPYING, or write | ||
| 15 | * to the Free Software Foundation, Inc., | ||
| 16 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 17 | */ | 7 | */ |
| 18 | 8 | ||
| 19 | #define pr_fmt(fmt) "isram: " fmt | 9 | #define pr_fmt(fmt) "isram: " fmt |
diff --git a/arch/blackfin/mm/sram-alloc.c b/arch/blackfin/mm/sram-alloc.c index eb63ab353e5a..f068c11ea98f 100644 --- a/arch/blackfin/mm/sram-alloc.c +++ b/arch/blackfin/mm/sram-alloc.c | |||
| @@ -1,30 +1,9 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * File: arch/blackfin/mm/sram-alloc.c | 2 | * SRAM allocator for Blackfin on-chip memory |
| 3 | * Based on: | ||
| 4 | * Author: | ||
| 5 | * | 3 | * |
| 6 | * Created: | 4 | * Copyright 2004-2009 Analog Devices Inc. |
| 7 | * Description: SRAM allocator for Blackfin L1 and L2 memory | ||
| 8 | * | 5 | * |
| 9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
| 10 | * Copyright 2004-2008 Analog Devices Inc. | ||
| 11 | * | ||
| 12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
| 13 | * | ||
| 14 | * This program is free software; you can redistribute it and/or modify | ||
| 15 | * it under the terms of the GNU General Public License as published by | ||
| 16 | * the Free Software Foundation; either version 2 of the License, or | ||
| 17 | * (at your option) any later version. | ||
| 18 | * | ||
| 19 | * This program is distributed in the hope that it will be useful, | ||
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 22 | * GNU General Public License for more details. | ||
| 23 | * | ||
| 24 | * You should have received a copy of the GNU General Public License | ||
| 25 | * along with this program; if not, see the file COPYING, or write | ||
| 26 | * to the Free Software Foundation, Inc., | ||
| 27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
| 28 | */ | 7 | */ |
| 29 | 8 | ||
| 30 | #include <linux/module.h> | 9 | #include <linux/module.h> |
