
On Tue, Jan 10, 2017 at 05:14:32PM -0700, Stephen Warren wrote:
On 01/10/2017 03:22 PM, Tom Rini wrote:
Before we can sync with the latest mach-types.h file from the Linux Kernel we need to remove some instances of MACH_TYPE_xxx from our sources. As these values have been removed from the canonical upstream source we should not be using them either, so drop.
The Tegra and RPi changes only affect non-DT booting, right?
Correct. MACH_TYPE_xxx is only used for ATAG booting.
It would be nice if the Tegra config headers could be kept consistent, i.e. delete all places that define CONFIG_MACH_TYPE from all Tegra config headers, rather than just removing a few. Perhaps it even makes sense to do that source-tree-wide, at least for ARM boards?
I leave the decision to remove MACH_TYPE_xxx up to the SoC custodians. I know that for example for TI parts we do not want to as people are using RTOSes that do use ATAGS still.