From mboxrd@z Thu Jan 1 00:00:00 1970 From: robherring2@gmail.com (Rob Herring) Date: Wed, 03 Apr 2013 08:01:02 -0500 Subject: [PATCH] ARM: imx: do not bring up unavailable cores In-Reply-To: References: <1364913146-26084-1-git-send-email-shawn.guo@linaro.org> <20130402151715.GB6608@mudshark.cambridge.arm.com> <20130403021348.GK24039@S2101-09.ap.freescale.net> <20130403024719.GF27148@S2101-09.ap.freescale.net> Message-ID: <515C280E.7000500@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 04/02/2013 10:18 PM, Fabio Estevam wrote: > On Tue, Apr 2, 2013 at 11:47 PM, Shawn Guo wrote: > >> Ah, great. I haven't checked the U-Boot code for some time. But does >> U-Boot remove cpu nodes of those unavailable cores from device tree >> before passing it to kernel? > > No, it just uses the information from the SCU to print the name of the > mx6 variant on boot. It is quite common and the correct place IMHO to do this dtb fixup in u-boot. You can just add 'status = "disabled";' properties. I'm not sure that the kernel is checking the status though. Reading the core count from the SCU is the only reason the SCU needs to be statically mapped, so if you remove that you can remove the static mapping. Rob