[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <551AFC7E.8090108@gmail.com>
Date: Tue, 31 Mar 2015 21:58:54 +0200
From: Filip Brozović <fbrozovic@...il.com>
To: Scott Wood <scottwood@...escale.com>
CC: galak@...nel.crashing.org, benh@...nel.crashing.org,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] powerpc/83xx: add support for mpc8306
On 3/31/2015 7:54 PM, Scott Wood wrote:
> This breaks multiplatform support. You need to determine this at
> runtime.
Understood, but I'm unsure of how to do this exactly. Would it be
appropriate to define another array, snum_init_14, with the SNUM values
for the MPC8306 QE, change the minimum number of SNUMs in
qe_get_num_of_snums() to 14 and set the correct values this way? In that
case, compatibility with other platforms would be kept intact, and the
QE device tree node for MPC8306 (and MPC8309) boards would just have to
have the fsl,qe-num-snums property set to 14 in order for the driver to
set the correct values.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists