aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-overo.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2009-08-10 09:24:18 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-08-10 09:24:18 -0400
commitf40aac940aa83645ec2218ccce90cc1c6881b74c (patch)
tree6d775da1489722a684f85249fa57528851e11957 /arch/arm/mach-omap2/board-overo.c
parent7063c88c726a704e648ba36ca78baa630f8b7b0a (diff)
parent3c82e229f09a6acc8d24dc27c5e0e60b1d7161c2 (diff)
Merge branch 'omap_fixes_31' of git://git.pwsan.com/linux-2.6
Diffstat (limited to 'arch/arm/mach-omap2/board-overo.c')
-rw-r--r--arch/arm/mach-omap2/board-overo.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c
index fec1bb19b9ff..a76e6b7afe6b 100644
--- a/arch/arm/mach-omap2/board-overo.c
+++ b/arch/arm/mach-omap2/board-overo.c
@@ -44,6 +44,7 @@
44#include <mach/gpmc.h> 44#include <mach/gpmc.h>
45#include <mach/hardware.h> 45#include <mach/hardware.h>
46#include <mach/nand.h> 46#include <mach/nand.h>
47#include <mach/mux.h>
47#include <mach/usb.h> 48#include <mach/usb.h>
48 49
49#include "sdram-micron-mt46h32m32lf-6.h" 50#include "sdram-micron-mt46h32m32lf-6.h"
@@ -360,7 +361,8 @@ static int __init overo_i2c_init(void)
360 361
361static void __init overo_init_irq(void) 362static void __init overo_init_irq(void)
362{ 363{
363 omap2_init_common_hw(mt46h32m32lf6_sdrc_params); 364 omap2_init_common_hw(mt46h32m32lf6_sdrc_params,
365 mt46h32m32lf6_sdrc_params);
364 omap_init_irq(); 366 omap_init_irq();
365 omap_gpio_init(); 367 omap_gpio_init();
366} 368}
@@ -395,6 +397,10 @@ static void __init overo_init(void)
395 overo_ads7846_init(); 397 overo_ads7846_init();
396 overo_init_smsc911x(); 398 overo_init_smsc911x();
397 399
400 /* Ensure SDRC pins are mux'd for self-refresh */
401 omap_cfg_reg(H16_34XX_SDRC_CKE0);
402 omap_cfg_reg(H17_34XX_SDRC_CKE1);
403
398 if ((gpio_request(OVERO_GPIO_W2W_NRESET, 404 if ((gpio_request(OVERO_GPIO_W2W_NRESET,
399 "OVERO_GPIO_W2W_NRESET") == 0) && 405 "OVERO_GPIO_W2W_NRESET") == 0) &&
400 (gpio_direction_output(OVERO_GPIO_W2W_NRESET, 1) == 0)) { 406 (gpio_direction_output(OVERO_GPIO_W2W_NRESET, 1) == 0)) {