[PATCH 5/5] PCI fixes for the MPC8641 Rev 2.0 silicon and Rev 1.02hardware

Timur Tabi timur at freescale.com
Fri May 18 04:48:32 EST 2007


Timur Tabi wrote:

> I think two DTS files is the best approach for now.  A few of us had an 
> idea to introduce conditional statements in to the DTS, and U-Boot would 
> examine the board and/or environment variables and then apply the 
> conditions to the device tree before booting the kernel.  This would 
> allow you to merge the two DTS files into one, but we're quite a ways 
> off from implementing this feature.  In the meantime, two DTS files is 
> okay.

One more thing - I think each DTS file should specify which revision of the board it 
supports, and there should be code in U-Boot and/or Linux to check that revision and 
reject the device tree if there's a mismatch.  We don't want people accidentally using the 
wrong device tree and wondering why it doesn't work.

-- 
Timur Tabi
Linux Kernel Developer @ Freescale



More information about the Linuxppc-dev mailing list