Re: [PATCH UCC TDM 1/3 Updated] Platform changes for UCC TDM driver for MPC8323eRDB. Also includes related QE changes and dts entries.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Timur Tabi <timur@...>
Cc: Poonam_Aggrwal-b10812 <b10812@...>, <kumar.gala@...>, <akpm@...>, <linux-kernel@...>, <netdev@...>, <rubini@...>, <linuxppc-dev@...>, <michael.barkowski@...>, <rich.cutler@...>, <ashish.kalra@...>
Date: Thursday, January 24, 2008 - 1:23 pm

On Thu, Jan 24, 2008 at 10:33:47AM -0600, Timur Tabi wrote:

If hardware configuration is selected at the bootup time, by jumpers
or switches, it's even easier to do it right. Without pio-map.


Why you need to modify the device tree for that? Let the U-Boot simply
setup pins for the kernel. Regarding kernel overwriting pins
configuration...


What I've understood from the previous debates, is that ideally kernel
should not touch pins' configuration. Today we're using pio-map solely
to fix up some old firmware misconfiguration. And we can do this in the
board file still. To determine if we need to fixup the firmware or not,
we can use some device tree property instead (firmware version?).

p.s.
I'm neither for pio-map nor against. I just want some consequence
regarding this. Last thread ended with consequence that pio-map is a
bad thing to use...

-- 
Anton Vorontsov
email: cbou@mail.ru
backup email: ya-cbou@yandex.ru
irc://irc.freenode.net/bd2
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH UCC TDM 1/3 Updated] Platform changes for UCC TDM dri..., Poonam_Aggrwal-b10812, (Thu Jan 24, 6:30 am)
Re: [PATCH UCC TDM 1/3 Updated] Platform changes for UCC TDM..., Anton Vorontsov, (Thu Jan 24, 1:23 pm)