Skip to content

Commit

Permalink
ARM: mach-s5pv210: Setup consistent dma size at boot time
Browse files Browse the repository at this point in the history
Signed-off-by: Jon Medhurst <tixy@yxit.co.uk>
CC: Kukjin Kim <kgene.kim@samsung.com>
  • Loading branch information
Jon Medhurst committed Aug 22, 2011
1 parent d9c295a commit a06a58a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions arch/arm/mach-s5pv210/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include <linux/sysdev.h>
#include <linux/platform_device.h>
#include <linux/sched.h>
#include <linux/dma-mapping.h>

#include <asm/mach/arch.h>
#include <asm/mach/map.h>
Expand Down Expand Up @@ -119,6 +120,7 @@ static void s5pv210_sw_reset(void)
void __init s5pv210_map_io(void)
{
iotable_init(s5pv210_iodesc, ARRAY_SIZE(s5pv210_iodesc));
init_consistent_dma_size(14 << 20);

/* initialise device information early */
s5pv210_default_sdhci0();
Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-s5pv210/include/mach/memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#define __ASM_ARCH_MEMORY_H

#define PLAT_PHYS_OFFSET UL(0x20000000)
#define CONSISTENT_DMA_SIZE (SZ_8M + SZ_4M + SZ_2M)

/*
* Sparsemem support
Expand Down

0 comments on commit a06a58a

Please sign in to comment.