Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 127654
b: refs/heads/master
c: 20cfb41
h: refs/heads/master
v: v3
  • Loading branch information
Anton Vorontsov authored and Kumar Gala committed Dec 30, 2008
1 parent a07c7ab commit 7fb57ed
Show file tree
Hide file tree
Showing 3 changed files with 7 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: c9dadffbe901bb1d5d54bffbd72ae4ee89a1e08b
refs/heads/master: 20cfb41ba82d9dfc7f09451ab26e826a68a4c896
3 changes: 2 additions & 1 deletion trunk/arch/powerpc/platforms/83xx/mpc832x_rdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
#define DBG(fmt...)
#endif

#ifdef CONFIG_QUICC_ENGINE
static void mpc83xx_spi_activate_cs(u8 cs, u8 polarity)
{
pr_debug("%s %d %d\n", __func__, cs, polarity);
Expand Down Expand Up @@ -77,8 +78,8 @@ static int __init mpc832x_spi_init(void)
mpc83xx_spi_activate_cs,
mpc83xx_spi_deactivate_cs);
}

machine_device_initcall(mpc832x_rdb, mpc832x_spi_init);
#endif /* CONFIG_QUICC_ENGINE */

/* ************************************************************************
*
Expand Down
6 changes: 4 additions & 2 deletions trunk/arch/powerpc/platforms/83xx/mpc836x_rdk.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ static void __init mpc836x_rdk_setup_arch(void)
for_each_compatible_node(np, "pci", "fsl,mpc8349-pci")
mpc83xx_add_bridge(np);
#endif

#ifdef CONFIG_QUICC_ENGINE
qe_reset();
#endif
}

static void __init mpc836x_rdk_init_IRQ(void)
Expand All @@ -71,13 +72,14 @@ static void __init mpc836x_rdk_init_IRQ(void)
*/
ipic_set_default_priority();
of_node_put(np);

#ifdef CONFIG_QUICC_ENGINE
np = of_find_compatible_node(NULL, NULL, "fsl,qe-ic");
if (!np)
return;

qe_ic_init(np, 0, qe_ic_cascade_low_ipic, qe_ic_cascade_high_ipic);
of_node_put(np);
#endif
}

/*
Expand Down

0 comments on commit 7fb57ed

Please sign in to comment.