Skip to content

Commit

Permalink
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
Browse files Browse the repository at this point in the history
…/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()
  • Loading branch information
Linus Torvalds committed Oct 9, 2009
2 parents 7f31437 + 796dada commit 79a6f56
Show file tree
Hide file tree
Showing 250 changed files with 1,078 additions and 4,717 deletions.
41 changes: 41 additions & 0 deletions arch/blackfin/ADI_BSD.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
This BSD-Style License applies to a few files in ./arch/blackfin directory,
and is included here, so people understand which code they can use outside
the Linux kernel, in non-GPL based projects.

Using the files released under the "ADI BSD" license, must comply with
these license terms.

--------------------------------------------------------------------------

Copyright Analog Devices, Inc.

All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
- Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
- Neither the name of Analog Devices, Inc. nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
- The use of this software may or may not infringe the patent rights
of one or more patent holders. This license does not release you
from the requirement that you obtain separate licenses from these
patent holders to use this software.

THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES "AS IS" AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT,
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL ANALOG DEVICES BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, INTELLECTUAL PROPERTY RIGHTS, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE
13 changes: 9 additions & 4 deletions arch/blackfin/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ config GENERIC_HARDIRQS
config GENERIC_IRQ_PROBE
def_bool y

config GENERIC_HARDIRQS_NO__DO_IRQ
def_bool y

config GENERIC_GPIO
def_bool y

Expand Down Expand Up @@ -229,7 +232,7 @@ endchoice

config SMP
depends on BF561
select GENERIC_TIME
select GENERIC_CLOCKEVENTS
bool "Symmetric multi-processing support"
---help---
This enables support for systems with more than one CPU,
Expand Down Expand Up @@ -613,12 +616,10 @@ comment "Kernel Timer/Scheduler"
source kernel/Kconfig.hz

config GENERIC_TIME
bool "Generic time"
default y
def_bool y

config GENERIC_CLOCKEVENTS
bool "Generic clock events"
depends on GENERIC_TIME
default y

choice
Expand Down Expand Up @@ -653,6 +654,10 @@ config GPTMR0_CLOCKSOURCE
depends on GENERIC_CLOCKEVENTS
depends on !TICKSOURCE_GPTMR0

config ARCH_USES_GETTIMEOFFSET
depends on !GENERIC_CLOCKEVENTS
def_bool y

source kernel/time/Kconfig

comment "Misc"
Expand Down
6 changes: 6 additions & 0 deletions arch/blackfin/include/asm/atomic.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
 * Copyright 2004-2009 Analog Devices Inc.
 *
 * Licensed under the GPL-2 or later.
 */

#ifndef __ARCH_BLACKFIN_ATOMIC__
#define __ARCH_BLACKFIN_ATOMIC__

Expand Down
26 changes: 3 additions & 23 deletions arch/blackfin/include/asm/bfin-global.h
Original file line number Diff line number Diff line change
@@ -1,29 +1,9 @@
/*
* File: include/asm-blackfin/bfin-global.h
* Based on:
* Author: *
* Created:
* Description: Global extern defines for blackfin
* Global extern defines for blackfin
*
* Modified:
* Copyright 2004-2006 Analog Devices Inc.
* Copyright 2006-2009 Analog Devices Inc.
*
* Bugs: Enter bugs at http://blackfin.uclinux.org/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see the file COPYING, or write
* to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
* Licensed under the GPL-2 or later.
*/

#ifndef _BFIN_GLOBAL_H_
Expand Down
2 changes: 0 additions & 2 deletions arch/blackfin/include/asm/bfin5xx_spi.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
*
* Copyright 2004-2008 Analog Devices Inc.
*
* Enter bugs at http://blackfin.uclinux.org/
*
* Licensed under the GPL-2 or later.
*/

Expand Down
4 changes: 4 additions & 0 deletions arch/blackfin/include/asm/bfin_rotary.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
/*
* board initialization should put one of these structures into platform_data
* and place the bfin-rotary onto platform_bus named "bfin-rotary".
*
* Copyright 2008 Analog Devices Inc.
*
* Licensed under the GPL-2 or later.
*/

#ifndef _BFIN_ROTARY_H
Expand Down
6 changes: 6 additions & 0 deletions arch/blackfin/include/asm/bfin_simple_timer.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright 2006-2008 Analog Devices Inc.
*
* Licensed under the GPL-2 or later.
*/

#ifndef _bfin_simple_timer_h_
#define _bfin_simple_timer_h_

Expand Down
6 changes: 6 additions & 0 deletions arch/blackfin/include/asm/bitops.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright 2004-2009 Analog Devices Inc.
*
* Licensed under the GPL-2 or later.
*/

#ifndef _BLACKFIN_BITOPS_H
#define _BLACKFIN_BITOPS_H

Expand Down
5 changes: 4 additions & 1 deletion arch/blackfin/include/asm/blackfin.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/*
* Common header file for blackfin family of processors.
* Common header file for Blackfin family of processors.
*
 * Copyright 2004-2009 Analog Devices Inc.
 *
 * Licensed under the GPL-2 or later.
*/

#ifndef _BLACKFIN_H_
Expand Down
6 changes: 6 additions & 0 deletions arch/blackfin/include/asm/bug.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright 2004-2009 Analog Devices Inc.
*
* Licensed under the GPL-2 or later.
*/

#ifndef _BLACKFIN_BUG_H
#define _BLACKFIN_BUG_H

Expand Down
5 changes: 0 additions & 5 deletions arch/blackfin/include/asm/byteorder.h
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
#ifndef _BLACKFIN_BYTEORDER_H
#define _BLACKFIN_BYTEORDER_H

#include <linux/byteorder/little_endian.h>

#endif /* _BLACKFIN_BYTEORDER_H */
9 changes: 6 additions & 3 deletions arch/blackfin/include/asm/cache.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/*
* include/asm-blackfin/cache.h
* Copyright 2004-2009 Analog Devices Inc.
*
* Licensed under the GPL-2 or later.
*/

#ifndef __ARCH_BLACKFIN_CACHE_H
#define __ARCH_BLACKFIN_CACHE_H

Expand Down Expand Up @@ -35,10 +38,10 @@

#if defined(CONFIG_SMP) && \
!defined(CONFIG_BFIN_CACHE_COHERENT)
# if defined(CONFIG_BFIN_ICACHEABLE) || defined(CONFIG_BFIN_L2_ICACHEABLE)
# if defined(CONFIG_BFIN_EXTMEM_ICACHEABLE) || defined(CONFIG_BFIN_L2_ICACHEABLE)
# define __ARCH_SYNC_CORE_ICACHE
# endif
# if defined(CONFIG_BFIN_DCACHEABLE) || defined(CONFIG_BFIN_L2_DCACHEABLE)
# if defined(CONFIG_BFIN_EXTMEM_DCACHEABLE) || defined(CONFIG_BFIN_L2_DCACHEABLE)
# define __ARCH_SYNC_CORE_DCACHE
# endif
#ifndef __ASSEMBLY__
Expand Down
27 changes: 3 additions & 24 deletions arch/blackfin/include/asm/cacheflush.h
Original file line number Diff line number Diff line change
@@ -1,30 +1,9 @@
/*
* File: include/asm-blackfin/cacheflush.h
* Based on: include/asm-m68knommu/cacheflush.h
* Author: LG Soft India
* Copyright (C) 2004 Analog Devices Inc.
* Created: Tue Sep 21 2004
* Description: Blackfin low-level cache routines adapted from the i386
* and PPC versions by Greg Ungerer (gerg@snapgear.com)
* Blackfin low-level cache routines
*
* Modified:
* Copyright 2004-2009 Analog Devices Inc.
*
* Bugs: Enter bugs at http://blackfin.uclinux.org/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING.
* If not, write to the Free Software Foundation,
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
* Licensed under the GPL-2 or later.
*/

#ifndef _BLACKFIN_CACHEFLUSH_H
Expand Down
32 changes: 5 additions & 27 deletions arch/blackfin/include/asm/cdef_LPBlackfin.h
Original file line number Diff line number Diff line change
@@ -1,30 +1,8 @@
/*
* File: include/asm-blackfin/mach-common/cdef_LPBlackfin.h
* Based on:
* Author: unknown
* COPYRIGHT 2005 Analog Devices
* Created: ?
* Description:
*
* Modified:
*
* Bugs: Enter bugs at http://blackfin.uclinux.org/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING.
* If not, write to the Free Software Foundation,
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
/*
* Copyright 2005-2008 Analog Devices Inc.
*
* Licensed under the GPL-2 or later.
*/

#ifndef _CDEF_LPBLACKFIN_H
#define _CDEF_LPBLACKFIN_H
Expand Down
9 changes: 7 additions & 2 deletions arch/blackfin/include/asm/checksum.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
/*
* Copyright 2004-2009 Analog Devices Inc.
* akbar.hussain@lineo.com
*
* Licensed under the GPL-2 or later.
*/

#ifndef _BFIN_CHECKSUM_H
#define _BFIN_CHECKSUM_H

/*
* MODIFIED FOR BFIN April 30, 2001 akbar.hussain@lineo.com
*
* computes the checksum of a memory block at buff, length len,
* and adds in "sum" (32-bit)
*
Expand Down
27 changes: 3 additions & 24 deletions arch/blackfin/include/asm/clocks.h
Original file line number Diff line number Diff line change
@@ -1,30 +1,9 @@
/*
* File: include/asm-blackfin/mach-common/clocks.h
* Based on: include/asm-blackfin/mach-bf537/bf537.h
* Author: Robin Getz <rgetz@blackfin.uclinux.org>
* Common Clock definitions for various kernel files
*
* Created: 25Jul07
* Description: Common Clock definitions for various kernel files
* Copyright 2007-2008 Analog Devices Inc.
*
* Modified:
* Copyright 2004-2007 Analog Devices Inc.
*
* Bugs: Enter bugs at http://blackfin.uclinux.org/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see the file COPYING, or write
* to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
* Licensed under the GPL-2 or later.
*/

#ifndef _BFIN_CLOCKS_H
Expand Down
27 changes: 2 additions & 25 deletions arch/blackfin/include/asm/context.S
Original file line number Diff line number Diff line change
@@ -1,30 +1,7 @@
/*
* File: arch/blackfin/kernel/context.S
* Based on:
* Author:
* Copyright 2007-2009 Analog Devices Inc.
*
* Created:
* Description:
*
* Modified:
* Copyright 2004-2007 Analog Devices Inc.
*
* Bugs: Enter bugs at http://blackfin.uclinux.org/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see the file COPYING, or write
* to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
* Licensed under the GPL-2 or later.
*/

/*
Expand Down
Loading

0 comments on commit 79a6f56

Please sign in to comment.