Skip to content

Commit

Permalink
Merge remote-tracking branch 'samsung/3.1-rc10-cma-v16' into rpmsg_3.…
Browse files Browse the repository at this point in the history
…2_rc1

Conflicts:
	arch/arm/Kconfig
	arch/arm/include/asm/mach/map.h
	arch/arm/mm/dma-mapping.c
	arch/arm/mm/mmu.c
	arch/arm/plat-s5p/dev-mfc.c
  • Loading branch information
ohadbc committed Nov 9, 2011
2 parents 1ea6b8f + 76eb23f commit f6d4fac
Show file tree
Hide file tree
Showing 28 changed files with 1,576 additions and 286 deletions.
3 changes: 3 additions & 0 deletions arch/Kconfig
Expand Up @@ -124,6 +124,9 @@ config HAVE_ARCH_TRACEHOOK
config HAVE_DMA_ATTRS
bool

config HAVE_DMA_CONTIGUOUS
bool

config USE_GENERIC_SMP_HELPERS
bool

Expand Down
2 changes: 2 additions & 0 deletions arch/arm/Kconfig
Expand Up @@ -4,6 +4,8 @@ config ARM
select HAVE_AOUT
select HAVE_DMA_API_DEBUG
select HAVE_IDE if PCI || ISA || PCMCIA
select HAVE_DMA_CONTIGUOUS if (CPU_V6 || CPU_V6K || CPU_V7)
select CMA if (CPU_V6 || CPU_V6K || CPU_V7)
select HAVE_MEMBLOCK
select RTC_LIB
select SYS_SUPPORTS_APM_EMULATION
Expand Down
16 changes: 16 additions & 0 deletions arch/arm/include/asm/dma-contiguous.h
@@ -0,0 +1,16 @@
#ifndef ASMARM_DMA_CONTIGUOUS_H
#define ASMARM_DMA_CONTIGUOUS_H

#ifdef __KERNEL__

#include <linux/device.h>
#include <linux/dma-contiguous.h>
#include <asm-generic/dma-contiguous.h>

#ifdef CONFIG_CMA

void dma_contiguous_early_fixup(phys_addr_t base, unsigned long size);

#endif
#endif
#endif
1 change: 1 addition & 0 deletions arch/arm/include/asm/mach/map.h
Expand Up @@ -30,6 +30,7 @@ struct map_desc {
#define MT_MEMORY_DTCM 12
#define MT_MEMORY_ITCM 13
#define MT_MEMORY_SO 14
#define MT_MEMORY_DMA_READY 15

#ifdef CONFIG_MMU
extern void iotable_init(struct map_desc *, int);
Expand Down

0 comments on commit f6d4fac

Please sign in to comment.