[PATCH 2/2] powerpc/85xx: p1022ds: enable monitor switching via pixis indirect mode
Scott Wood
scottwood at freescale.com
Fri Nov 18 09:45:58 EST 2011
On Thu, Nov 17, 2011 at 04:28:48PM -0600, Timur Tabi wrote:
> Scott Wood wrote:
>
> > As we discussed earlier, you could have a kernel boot parameter that
> > indicates what mode you'd like the localbus to run in. Then, platform
> > code could update the device tree before any drivers bind.
>
> How do I update the device tree from platform code?
prom_update_property()
Or, since you shouldn't be declaring these devices directly under a
simple-bus node, selectively probe the devices that are accessible.
> > Or, have U-boot set up the desired mode before entering the kernel, and
> > provide an appropriate device tree.
>
> I can both of these features, but not in this patch.
This patch is the one that is adding a switch to indirect mode. You're
adding it to the wrong place (it shouldn't be in a function called by the
DIU driver), so it is relevant to this patch.
-Scott
More information about the Linuxppc-dev
mailing list