Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 233903
b: refs/heads/master
c: d60cf53
h: refs/heads/master
i:
  233901: 6af35bf
  233899: c70b4c8
  233895: 7befe29
  233887: 81ff3b1
v: v3
  • Loading branch information
Paul Mundt committed Feb 15, 2011
1 parent 22c9ddf commit 911ae52
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 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: 13c12a4e8ecdf3998cd2d89ade69f6f194819c95
refs/heads/master: d60cf53a30956e47919788b2ef49287786a959c9
13 changes: 9 additions & 4 deletions trunk/arch/sh/kernel/cpu/sh4/setup-sh7750.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <linux/io.h>
#include <linux/sh_timer.h>
#include <linux/serial_sci.h>
#include <asm/machtypes.h>
#include <generated/machtypes.h>

static struct resource rtc_resources[] = {
[0] = {
Expand Down Expand Up @@ -255,12 +255,17 @@ static struct platform_device *sh7750_early_devices[] __initdata = {

void __init plat_early_device_setup(void)
{
struct platform_device *dev[1];

if (mach_is_rts7751r2d()) {
scif_platform_data.scscr |= SCSCR_CKE1;
early_platform_add_devices(&scif_device, 1);
dev[0] = &scif_device;
early_platform_add_devices(dev, 1);
} else {
early_platform_add_devices(&sci_device, 1);
early_platform_add_devices(&scif_device, 1);
dev[0] = &sci_device;
early_platform_add_devices(dev, 1);
dev[0] = &scif_device;
early_platform_add_devices(dev, 1);
}

early_platform_add_devices(sh7750_early_devices,
Expand Down

0 comments on commit 911ae52

Please sign in to comment.