Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 270042
b: refs/heads/master
c: fd24f90
h: refs/heads/master
v: v3
  • Loading branch information
Jon Medhurst committed Aug 22, 2011
1 parent 98c68b1 commit d91c265
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 389d12cc7f9715771f6db64b4be1fc3d25576a57
refs/heads/master: fd24f903182b3f2cda39d95574e45aa8983e5770
3 changes: 3 additions & 0 deletions trunk/arch/arm/mach-davinci/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <linux/io.h>
#include <linux/etherdevice.h>
#include <linux/davinci_emac.h>
#include <linux/dma-mapping.h>

#include <asm/tlb.h>
#include <asm/mach/map.h>
Expand Down Expand Up @@ -86,6 +87,8 @@ void __init davinci_common_init(struct davinci_soc_info *soc_info)
iotable_init(davinci_soc_info.io_desc,
davinci_soc_info.io_desc_num);

init_consistent_dma_size(14 << 20);

/*
* Normally devicemaps_init() would flush caches and tlb after
* mdesc->map_io(), but we must also do it here because of the CPU
Expand Down
5 changes: 0 additions & 5 deletions trunk/arch/arm/mach-davinci/include/mach/memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,4 @@
#define DDR2_MCLKSTOPEN_BIT BIT(30)
#define DDR2_LPMODEN_BIT BIT(31)

/*
* Increase size of DMA-consistent memory region
*/
#define CONSISTENT_DMA_SIZE (14<<20)

#endif /* __ASM_ARCH_MEMORY_H */

0 comments on commit d91c265

Please sign in to comment.