Re: [PATCH] arm/dt: Add SoC detection macros
From: Jean-Christophe PLAGNIOL-VILLARD <hidden>
Date: 2011-09-18 00:46:15
Also in:
linux-arm-kernel, linux-tegra
From: Jean-Christophe PLAGNIOL-VILLARD <hidden>
Date: 2011-09-18 00:46:15
Also in:
linux-arm-kernel, linux-tegra
On 22:56 Sat 17 Sep , Arnd Bergmann wrote:
On Saturday 17 September 2011 20:19:07 Jean-Christophe PLAGNIOL-VILLARD wrote:quoted
I agree about it I just mean that if you have the same board with 2 SoC which are pin to pin compatible detect the soc type will be usefull as the soc resource may not be the sameIn that scenario, you would put all SOC specific data into one .dtsi file and all board data into another .dtsi file and then create a description for the combination using a trivial .dts file with two include statements. This is all solved outside of the kernel already, so there is no need for infrastructure in the kernel.
except in this case you must have 2 machine id which can be avoided if you can detect the soc at kernel level Best Regards, J.