Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 116180
b: refs/heads/master
c: a30c89a
h: refs/heads/master
v: v3
  • Loading branch information
Magnus Damm authored and Paul Mundt committed Oct 20, 2008
1 parent 085f8d5 commit f223a03
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 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: 9a19eb2a6607f2f6329efb3c4637fe23afae2cd7
refs/heads/master: a30c89ad41099f58922e0941e346e7c4371655b9
6 changes: 4 additions & 2 deletions trunk/arch/sh/boards/mach-migor/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
*/

static struct smc91x_platdata smc91x_info = {
.flags = SMC91X_USE_16BIT,
.flags = SMC91X_USE_16BIT | SMC91X_NOWAIT,
};

static struct resource smc91x_eth_resources[] = {
Expand Down Expand Up @@ -463,8 +463,10 @@ static int __init migor_devices_setup(void)
gpio_direction_output(GPIO_PTJ5, 1);
gpio_export(GPIO_PTJ5, 0);

/* SMC91C111 */
/* SMC91C111 - Enable IRQ0, Setup CS4 for 16-bit fast access */
gpio_request(GPIO_FN_IRQ0, NULL);
ctrl_outl(0x00003400, BSC_CS4BCR);
ctrl_outl(0x00110080, BSC_CS4WCR);

/* KEYSC */
clk_always_enable("mstp214"); /* KEYSC */
Expand Down
2 changes: 2 additions & 0 deletions trunk/arch/sh/include/asm/migor.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@
#define PORT_HIZCRB 0xa405015a
#define PORT_HIZCRC 0xa405015c

#define BSC_CS4BCR 0xfec10010
#define BSC_CS6ABCR 0xfec1001c
#define BSC_CS4WCR 0xfec10030

#include <video/sh_mobile_lcdc.h>

Expand Down

0 comments on commit f223a03

Please sign in to comment.