linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Question about code which uses MPIC_NO_RESET on 85XX
@ 2016-02-04 13:56 Alessio Igor Bogani
  2016-02-16 21:40 ` Scott Wood
  0 siblings, 1 reply; 2+ messages in thread
From: Alessio Igor Bogani @ 2016-02-04 13:56 UTC (permalink / raw)
  To: linuxppc-dev

Hi,

Can we change this code (from mpc85xx_ds.c)

if (of_flat_dt_is_compatible(root, "fsl,MPC8572DS-CAMP")) {
    mpic = mpic_alloc(NULL, 0,
        MPIC_NO_RESET |
        MPIC_BIG_ENDIAN |
        MPIC_SINGLE_DEST_CPU,
        0, 256, " OpenPIC  ");
} else {
    mpic = mpic_alloc(NULL, 0,
        MPIC_BIG_ENDIAN |
        MPIC_SINGLE_DEST_CPU,
        0, 256, " OpenPIC  ");
}

in this one

mpic = mpic_alloc(NULL, 0,
    MPIC_BIG_ENDIAN |
    MPIC_SINGLE_DEST_CPU,
    0, 256, " OpenPIC  ");

using "pic-no-reset" in the device tree?

Thanks!

Ciao,
Alessio

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-16 21:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-04 13:56 Question about code which uses MPIC_NO_RESET on 85XX Alessio Igor Bogani
2016-02-16 21:40 ` Scott Wood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).