aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJared Hulbert <jaredeh@gmail.com>2006-01-05 16:12:26 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-01-05 16:12:26 -0500
commit5b2e98cdf3a6ac6c57de6a2156c673d4b0262684 (patch)
treed4e1c3acd232ffe1642dfcf764558360a7bfaea6
parent54e269ead6e672325866037b0617a72edd1396b9 (diff)
[ARM] 3206/1: Modifications to the bus arbiter controller for the Intel PXA27x
Patch from Jared Hulbert The following patch changes the bus arbiter controller settings for the Intel PXA27x Application Processor Family. Up to 5% better video performance. It parks the bus on the core while not in use and sets the arbitration for other bus items. The patch only applies changes to the Intel Mainstone development platform. This patch is not compatible with preproduction Intel PXA27x silicon. This patch is based on the Intel Linux Preview Kit released to the public on 25 Feb. 2005 found at ftp://ftp.arm.linux.org.uk/pub/linux/arm/people/xscale/mainstone/02-25-2005/. Signed-off-by: Justin A Treon <justin_treon@yahoo.com> Signed-off-by: Jared Hulbert <jaredeh@gmail.com> Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r--arch/arm/mach-pxa/mainstone.c6
-rw-r--r--include/asm-arm/arch-pxa/pxa-regs.h12
2 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/mainstone.c b/arch/arm/mach-pxa/mainstone.c
index 07892f4012d8..fe7404318aa8 100644
--- a/arch/arm/mach-pxa/mainstone.c
+++ b/arch/arm/mach-pxa/mainstone.c
@@ -407,6 +407,12 @@ static void __init mainstone_init(void)
407 printk(KERN_NOTICE "Mainstone configured to boot from %s\n", 407 printk(KERN_NOTICE "Mainstone configured to boot from %s\n",
408 mst_flash_data[0].name); 408 mst_flash_data[0].name);
409 409
410 /* system bus arbiter setting
411 * - Core_Park
412 * - LCD_wt:DMA_wt:CORE_Wt = 2:3:4
413 */
414 ARB_CNTRL = ARB_CORE_PARK | 0x234;
415
410 /* 416 /*
411 * On Mainstone, we route AC97_SYSCLK via GPIO45 to 417 * On Mainstone, we route AC97_SYSCLK via GPIO45 to
412 * the audio daughter card 418 * the audio daughter card
diff --git a/include/asm-arm/arch-pxa/pxa-regs.h b/include/asm-arm/arch-pxa/pxa-regs.h
index a75a2470f4f5..dae138b9cac5 100644
--- a/include/asm-arm/arch-pxa/pxa-regs.h
+++ b/include/asm-arm/arch-pxa/pxa-regs.h
@@ -2042,6 +2042,18 @@
2042 2042
2043#ifdef CONFIG_PXA27x 2043#ifdef CONFIG_PXA27x
2044 2044
2045#define ARB_CNTRL __REG(0x48000048) /* Arbiter Control Register */
2046
2047#define ARB_DMA_SLV_PARK (1<<31) /* Be parked with DMA slave when idle */
2048#define ARB_CI_PARK (1<<30) /* Be parked with Camera Interface when idle */
2049#define ARB_EX_MEM_PARK (1<<29) /* Be parked with external MEMC when idle */
2050#define ARB_INT_MEM_PARK (1<<28) /* Be parked with internal MEMC when idle */
2051#define ARB_USB_PARK (1<<27) /* Be parked with USB when idle */
2052#define ARB_LCD_PARK (1<<26) /* Be parked with LCD when idle */
2053#define ARB_DMA_PARK (1<<25) /* Be parked with DMA when idle */
2054#define ARB_CORE_PARK (1<<24) /* Be parked with core when idle */
2055#define ARB_LOCK_FLAG (1<<23) /* Only Locking masters gain access to the bus */
2056
2045/* 2057/*
2046 * Keypad 2058 * Keypad
2047 */ 2059 */