From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Walle Date: Sun, 13 Nov 2011 18:52:09 +0100 Subject: [U-Boot] arm mach-types.h In-Reply-To: <201111131814.16555.marek.vasut@gmail.com> References: <201111130058.43026.michael@walle.cc> <201111131734.09114.michael@walle.cc> <201111131814.16555.marek.vasut@gmail.com> Message-ID: <201111131852.09696.michael@walle.cc> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am Sonntag 13 November 2011, 18:14:16 schrieb Marek Vasut: > > Am Sonntag 13 November 2011, 17:18:27 schrieb Marek Vasut: > > > > Am Sonntag 13 November 2011, 01:32:03 schrieb Marek Vasut: > > > > > > - every supported board in u-boot has to be supported in > > > > > > mainline linux, > > > > > > > > > > > > too. because that is the basic requirement for an entry to > > > > > > stay in this file. > > > > > > > > > > No, you can define CONFIG_MACH_TYPE MACH_TYPE_SOMETHING and > > > > > MACH_TYPE_SOMETHING nnn in your config file. > > > > > > > > well, according to this argumentation, there would be no need for > > > > mach-types.h at all. because if you rely on a mach-types.h definition > > > > and it is removed from linux, you have to switch to define it > > > > yourself anyway. > > > > > > Not really, if you don't use it to boot linux, you don't need the mach > > > id. Or if you use dtree. > > > > so why should i use the mach-type.h anyway? instead i could just define > > the id in the config. > > > > either there is a database, where the ids come from (and this database > > must not follow the linux policies) or there is no database and every > > board defines the numerical id (of couse they must match the linux mach > > ids.) > > > > what about boards which switch from mach-ids to DT in linux? Just don't > > support mach-ids for these anymore and not being able to boot older > > kernels? > > Why would the machine ID be removed from mach-types.h is the machine > switched to DT ? linux policy