Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 270045
b: refs/heads/master
c: 2d5e975
h: refs/heads/master
i:
  270043: 2471cb0
v: v3
  • Loading branch information
Jon Medhurst committed Aug 22, 2011
1 parent 971d29e commit 7834e49
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: f407c2e38e5f07d2e8f573fc55a5d996568f6e50
refs/heads/master: 2d5e975b2194eb1326ea0b90db1e21da7be17708
5 changes: 0 additions & 5 deletions trunk/arch/arm/mach-bcmring/include/mach/memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,4 @@

#define PLAT_PHYS_OFFSET CFG_GLOBAL_RAM_BASE

/*
* Maximum DMA memory allowed is 14M
*/
#define CONSISTENT_DMA_SIZE (SZ_16M - SZ_2M)

#endif
3 changes: 3 additions & 0 deletions trunk/arch/arm/mach-bcmring/mm.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
*****************************************************************************/

#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
#include <asm/mach/map.h>

#include <mach/hardware.h>
Expand Down Expand Up @@ -53,4 +54,6 @@ void __init bcmring_map_io(void)
{

iotable_init(bcmring_io_desc, ARRAY_SIZE(bcmring_io_desc));
/* Maximum DMA memory allowed is 14M */
init_consistent_dma_size(14 << 20);
}

0 comments on commit 7834e49

Please sign in to comment.