Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 217177
b: refs/heads/master
c: 4de3a8f
h: refs/heads/master
i:
  217175: f3d35c1
v: v3
  • Loading branch information
Colin Cross committed Oct 22, 2010
1 parent b007913 commit fd3315c
Show file tree
Hide file tree
Showing 6 changed files with 923 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7056d423f16103f6700569f60ca842d91bfaabab
refs/heads/master: 4de3a8fa334851e642d4889d6afa6e5d3daea10a
7 changes: 7 additions & 0 deletions trunk/arch/arm/mach-tegra/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,11 @@ config TEGRA_DEBUG_UARTE

endchoice

config TEGRA_SYSTEM_DMA
bool "Enable system DMA driver for NVIDIA Tegra SoCs"
default y
help
Adds system DMA functionality for NVIDIA Tegra SoCs, used by
several Tegra device drivers

endif
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-tegra/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += tegra2_dvfs.o
obj-$(CONFIG_ARCH_TEGRA_2x_SOC) += pinmux-t2-tables.o
obj-$(CONFIG_SMP) += platsmp.o localtimer.o headsmp.o
obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
obj-$(CONFIG_TEGRA_SYSTEM_DMA) += dma.o
obj-$(CONFIG_CPU_FREQ) += cpu-tegra.o

obj-${CONFIG_MACH_HARMONY} += board-harmony.o
Expand Down
7 changes: 7 additions & 0 deletions trunk/arch/arm/mach-tegra/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,13 @@

#include <linux/init.h>
#include <linux/io.h>
#include <linux/clk.h>
#include <linux/delay.h>

#include <asm/hardware/cache-l2x0.h>

#include <mach/iomap.h>
#include <mach/dma.h>

#include "board.h"
#include "clock.h"
Expand Down Expand Up @@ -52,6 +55,7 @@ void __init tegra_init_cache(void)

l2x0_init(p, 0x6C080001, 0x8200c3fe);
#endif

}

void __init tegra_common_init(void)
Expand All @@ -60,4 +64,7 @@ void __init tegra_common_init(void)
tegra_init_clock();
tegra_clk_init_from_table(common_clk_init_table);
tegra_init_cache();
#ifdef CONFIG_TEGRA_SYSTEM_DMA
tegra_dma_init();
#endif
}
Loading

0 comments on commit fd3315c

Please sign in to comment.