Commit 604a2785 authored by Linus Torvalds's avatar Linus Torvalds

Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/blackfin-2.6

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/blackfin-2.6:
  Blackfin arch: Fix PM building on BF52x: No ROTWE on BF52x, add USBWE
  Blackfin arch: sram: use 'unsigned long' for irqflags
  Blackfin arch: let PCI depend on BROKEN
  Blackfin arch: move include/asm-blackfin header files to arch/blackfin
  Blackfin arch: fix bug - MPU crashes under stress
  Blackfin arch: Fix bug - when to rmmod the L1_module, it stucks and then reboot the board.
  Blackfin arch: dont actually need to muck with EMAC_SYSTAT for BF52x for demuxing
  Blackfin arch: Add MTD Partitions for MTD_DATAFLASH, increase max SPI SCLK
parents 66833d5f d310fb4b
...@@ -855,6 +855,7 @@ menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)" ...@@ -855,6 +855,7 @@ menu "Bus options (PCI, PCMCIA, EISA, MCA, ISA)"
config PCI config PCI
bool "PCI support" bool "PCI support"
depends on BROKEN
help help
Support for PCI bus. Support for PCI bus.
......
...@@ -98,36 +98,20 @@ libs-y += arch/$(ARCH)/lib/ ...@@ -98,36 +98,20 @@ libs-y += arch/$(ARCH)/lib/
drivers-$(CONFIG_OPROFILE) += arch/$(ARCH)/oprofile/ drivers-$(CONFIG_OPROFILE) += arch/$(ARCH)/oprofile/
machdirs := $(patsubst %,arch/blackfin/mach-%/, $(machine-y))
KBUILD_CFLAGS += -Iarch/$(ARCH)/include/
KBUILD_CFLAGS += -Iarch/$(ARCH)/mach-$(MACHINE)/include
# Update machine arch symlinks if something which affects KBUILD_CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs))
# them changed. We use .mach to indicate when they were updated
# last, otherwise make uses the target directory mtime.
show_mach_symlink = :
quiet_show_mach_symlink = echo ' SYMLINK include/asm-$(ARCH)/mach-$(MACHINE) -> include/asm-$(ARCH)/mach'
silent_show_mach_symlink = :
include/asm-blackfin/.mach: $(wildcard include/config/arch/*.h) include/config/auto.conf
@$($(quiet)show_mach_symlink)
ifneq ($(KBUILD_SRC),)
$(Q)mkdir -p include/asm-$(ARCH)
$(Q)ln -fsn $(srctree)/include/asm-$(ARCH)/mach-$(MACHINE) include/asm-$(ARCH)/mach
else
$(Q)ln -fsn mach-$(MACHINE) include/asm-$(ARCH)/mach
endif
@touch $@
CLEAN_FILES += \ CLEAN_FILES += \
include/asm-$(ARCH)/asm-offsets.h \ arch/$(ARCH)/include/asm/asm-offsets.h \
arch/$(ARCH)/kernel/asm-offsets.s \ arch/$(ARCH)/kernel/asm-offsets.s \
include/asm-$(ARCH)/mach \
include/asm-$(ARCH)/.mach
archprepare: include/asm-blackfin/.mach
archclean: archclean:
$(Q)$(MAKE) $(clean)=$(boot) $(Q)$(MAKE) $(clean)=$(boot)
INSTALL_PATH ?= /tftpboot INSTALL_PATH ?= /tftpboot
boot := arch/$(ARCH)/boot boot := arch/$(ARCH)/boot
BOOT_TARGETS = vmImage BOOT_TARGETS = vmImage
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#define HI(con32) (((con32) >> 16) & 0xFFFF) #define HI(con32) (((con32) >> 16) & 0xFFFF)
#define hi(con32) (((con32) >> 16) & 0xFFFF) #define hi(con32) (((con32) >> 16) & 0xFFFF)
#include <asm/mach/anomaly.h> #include <mach/anomaly.h>
#ifndef __ASSEMBLY__ #ifndef __ASSEMBLY__
...@@ -86,7 +86,7 @@ static inline void CSYNC(void) ...@@ -86,7 +86,7 @@ static inline void CSYNC(void)
#endif /* __ASSEMBLY__ */ #endif /* __ASSEMBLY__ */
#include <asm/mach/blackfin.h> #include <mach/blackfin.h>
#include <asm/bfin-global.h> #include <asm/bfin-global.h>
#endif /* _BLACKFIN_H_ */ #endif /* _BLACKFIN_H_ */
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
#warning cdef_LPBlackfin.h should only be included for 532 compatible chips. #warning cdef_LPBlackfin.h should only be included for 532 compatible chips.
#endif #endif
*/ */
#include <asm/mach-common/def_LPBlackfin.h> #include <asm/def_LPBlackfin.h>
/*Cache & SRAM Memory*/ /*Cache & SRAM Memory*/
#define bfin_read_SRAM_BASE_ADDRESS() bfin_read32(SRAM_BASE_ADDRESS) #define bfin_read_SRAM_BASE_ADDRESS() bfin_read32(SRAM_BASE_ADDRESS)
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#define _CPLB_H #define _CPLB_H
#include <asm/blackfin.h> #include <asm/blackfin.h>
#include <asm/mach/anomaly.h> #include <mach/anomaly.h>
#define SDRAM_IGENERIC (CPLB_L1_CHBL | CPLB_USER_RD | CPLB_VALID | CPLB_PORTPRIO) #define SDRAM_IGENERIC (CPLB_L1_CHBL | CPLB_USER_RD | CPLB_VALID | CPLB_PORTPRIO)
#define SDRAM_IKERNEL (SDRAM_IGENERIC | CPLB_LOCK) #define SDRAM_IKERNEL (SDRAM_IGENERIC | CPLB_LOCK)
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#ifndef _DEF_LPBLACKFIN_H #ifndef _DEF_LPBLACKFIN_H
#define _DEF_LPBLACKFIN_H #define _DEF_LPBLACKFIN_H
#include <asm/mach/anomaly.h> #include <mach/anomaly.h>
#define MK_BMSK_(x) (1<<x) #define MK_BMSK_(x) (1<<x)
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#ifndef __ASM_DELAY_H__ #ifndef __ASM_DELAY_H__
#define __ASM_DELAY_H__ #define __ASM_DELAY_H__
#include <asm/mach/anomaly.h> #include <mach/anomaly.h>
static inline void __delay(unsigned long loops) static inline void __delay(unsigned long loops)
{ {
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#include <asm/signal.h> #include <asm/signal.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <asm/mach/dma.h> #include <mach/dma.h>
#include <linux/mm.h> #include <linux/mm.h>
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <asm/blackfin.h> #include <asm/blackfin.h>
......
...@@ -224,7 +224,7 @@ ...@@ -224,7 +224,7 @@
#endif #endif
#ifdef BF548_FAMILY #ifdef BF548_FAMILY
#include <asm-blackfin/mach-bf548/gpio.h> #include <mach/gpio.h>
#endif #endif
#ifdef BF561_FAMILY #ifdef BF561_FAMILY
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
#ifndef _BFIN_IRQ_H_ #ifndef _BFIN_IRQ_H_
#define _BFIN_IRQ_H_ #define _BFIN_IRQ_H_
#include <asm/mach/irq.h> #include <mach/irq.h>
#include <asm/ptrace.h> #include <asm/ptrace.h>
/******************************************************************************* /*******************************************************************************
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
* interrupts apart (just the TX/RX for the various devices) * interrupts apart (just the TX/RX for the various devices)
*******************************************************************************/ *******************************************************************************/
/* SYS_IRQS and NR_IRQS are defined in <asm/mach-bf5xx/irq.h>*/ /* SYS_IRQS and NR_IRQS are defined in <mach-bf5xx/irq.h>*/
/* /*
* Machine specific interrupt sources. * Machine specific interrupt sources.
......
...@@ -7,6 +7,6 @@ ...@@ -7,6 +7,6 @@
#ifndef _MEM_MAP_H_ #ifndef _MEM_MAP_H_
#define _MEM_MAP_H_ #define _MEM_MAP_H_
#include <asm/mach/mem_map.h> #include <mach/mem_map.h>
#endif /* _MEM_MAP_H_ */ #endif /* _MEM_MAP_H_ */
...@@ -173,8 +173,10 @@ static inline void protect_page(struct mm_struct *mm, unsigned long addr, ...@@ -173,8 +173,10 @@ static inline void protect_page(struct mm_struct *mm, unsigned long addr,
static inline void update_protections(struct mm_struct *mm) static inline void update_protections(struct mm_struct *mm)
{ {
if (mm->context.page_rwx_mask == current_rwx_mask) {
flush_switched_cplbs(); flush_switched_cplbs();
set_mask_dcplbs(mm->context.page_rwx_mask); set_mask_dcplbs(mm->context.page_rwx_mask);
}
} }
#endif #endif
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#include <asm-generic/4level-fixup.h> #include <asm-generic/4level-fixup.h>
#include <asm/page.h> #include <asm/page.h>
#include <asm/mach-common/def_LPBlackfin.h> #include <asm/def_LPBlackfin.h>
typedef pte_t *pte_addr_t; typedef pte_t *pte_addr_t;
/* /*
......
...@@ -21,7 +21,7 @@ int peripheral_request_list(const unsigned short per[], const char *label); ...@@ -21,7 +21,7 @@ int peripheral_request_list(const unsigned short per[], const char *label);
void peripheral_free_list(const unsigned short per[]); void peripheral_free_list(const unsigned short per[]);
#include <asm/gpio.h> #include <asm/gpio.h>
#include <asm/mach/portmux.h> #include <mach/portmux.h>
#ifndef P_SPORT2_TFS #ifndef P_SPORT2_TFS
#define P_SPORT2_TFS P_UNDEF #define P_SPORT2_TFS P_UNDEF
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment