Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 106859
b: refs/heads/master
c: 8fa509a
h: refs/heads/master
i:
  106857: db70832
  106855: 5e75c89
v: v3
  • Loading branch information
Magnus Damm authored and Paul Mundt committed Jul 28, 2008
1 parent 79dcd7c commit 91e07b5
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 9 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: 6c7d826cf6ff05264f9af04410aee82a08edfb9f
refs/heads/master: 8fa509ab915f668093c270151f884220232bfb25
4 changes: 0 additions & 4 deletions trunk/arch/sh/boards/se/7343/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,6 @@ static void __init sh7343se_setup(char **cmdline_p)
{
ctrl_outw(0xf900, FPGA_OUT); /* FPGA */

ctrl_outl(0x00001001, MSTPCR0);
ctrl_outl(0x00000000, MSTPCR1);
ctrl_outl(0xffffbfC0, MSTPCR2); /* LCDC, BEU, CEU, VEU, KEYSC */

ctrl_outw(0x0002, PORT_PECR); /* PORT E 1 = IRQ5 */
ctrl_outw(0x0020, PORT_PSELD);

Expand Down
15 changes: 15 additions & 0 deletions trunk/arch/sh/kernel/cpu/sh4a/setup-sh7343.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include <linux/serial.h>
#include <linux/serial_sci.h>
#include <linux/uio_driver.h>
#include <asm/clock.h>

static struct resource iic0_resources[] = {
[0] = {
Expand Down Expand Up @@ -138,8 +139,22 @@ static struct platform_device *sh7343_devices[] __initdata = {

static int __init sh7343_devices_setup(void)
{
clk_always_enable("mstp031"); /* TLB */
clk_always_enable("mstp030"); /* IC */
clk_always_enable("mstp029"); /* OC */
clk_always_enable("mstp028"); /* URAM */
clk_always_enable("mstp026"); /* XYMEM */
clk_always_enable("mstp023"); /* INTC3 */
clk_always_enable("mstp022"); /* INTC */
clk_always_enable("mstp020"); /* SuperHyway */
clk_always_enable("mstp109"); /* I2C0 */
clk_always_enable("mstp108"); /* I2C1 */
clk_always_enable("mstp202"); /* VEU */
clk_always_enable("mstp201"); /* VPU */

platform_resource_setup_memory(&vpu_device, "vpu", 1 << 20);
platform_resource_setup_memory(&veu_device, "veu", 2 << 20);

return platform_add_devices(sh7343_devices,
ARRAY_SIZE(sh7343_devices));
}
Expand Down
4 changes: 0 additions & 4 deletions trunk/include/asm-sh/se7343.h
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,6 @@
#define PORT_PWDR 0xA4050166
#define PORT_PYDR 0xA4050168

#define MSTPCR0 0xA4150030
#define MSTPCR1 0xA4150034
#define MSTPCR2 0xA4150038

#define FPGA_IN 0xb1400000
#define FPGA_OUT 0xb1400002

Expand Down

0 comments on commit 91e07b5

Please sign in to comment.