Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 233899
b: refs/heads/master
c: 0ce0887
h: refs/heads/master
i:
  233897: d08fd52
  233895: 7befe29
v: v3
  • Loading branch information
Nobuhiro Iwamatsu authored and Paul Mundt committed Feb 1, 2011
1 parent 2f93f16 commit c70b4c8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 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: 5939d25ff296bd69fd98ead938cb63e467939040
refs/heads/master: 0ce08870b8a4895044b6cf2bbdc774a6faaa3656
11 changes: 8 additions & 3 deletions trunk/arch/sh/kernel/cpu/sh4/setup-sh7750.c
Original file line number Diff line number Diff line change
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 c70b4c8

Please sign in to comment.