Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 117254
b: refs/heads/master
c: dd0e20e
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mundt committed Oct 21, 2008
1 parent 81c9be1 commit 9d1b417
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 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: 908978acbe2fb0e9aedaded5119dc663ae0d7015
refs/heads/master: dd0e20e58837dfef0d0c34c247bede86ae34d99b
20 changes: 14 additions & 6 deletions trunk/arch/sh/boards/board-ap325rxa.c
Original file line number Diff line number Diff line change
Expand Up @@ -407,17 +407,25 @@ static int __init ap325rxa_devices_setup(void)
ctrl_outw(ctrl_inw(PORT_MSELCRB) & ~0x0001, PORT_MSELCRB);

/* FLCTL */
ctrl_outw(0, PORT_PUCR);
ctrl_outw(0, PORT_PVCR);
ctrl_outw(0, PORT_PSELC);
gpio_request(GPIO_FN_FCE, NULL);
gpio_request(GPIO_FN_NAF7, NULL);
gpio_request(GPIO_FN_NAF6, NULL);
gpio_request(GPIO_FN_NAF5, NULL);
gpio_request(GPIO_FN_NAF4, NULL);
gpio_request(GPIO_FN_NAF3, NULL);
gpio_request(GPIO_FN_NAF2, NULL);
gpio_request(GPIO_FN_NAF1, NULL);
gpio_request(GPIO_FN_NAF0, NULL);
gpio_request(GPIO_FN_FCDE, NULL);
gpio_request(GPIO_FN_FOE, NULL);
gpio_request(GPIO_FN_FSC, NULL);
gpio_request(GPIO_FN_FWE, NULL);
gpio_request(GPIO_FN_FRB, NULL);

ctrl_outw(0, PORT_HIZCRC);
ctrl_outw(0xFFFF, PORT_DRVCRA);
ctrl_outw(0xFFFF, PORT_DRVCRB);

ctrl_outw((ctrl_inw(PORT_PXCR) & 0x3fff) | 0x4000, PORT_PXCR);
ctrl_outb(0x80, PORT_PXDR);

platform_resource_setup_memory(&ceu_device, "ceu", 4 << 20);

i2c_register_board_info(0, ap325rxa_i2c_devices,
Expand Down

0 comments on commit 9d1b417

Please sign in to comment.