From mboxrd@z Thu Jan 1 00:00:00 1970 From: Igor Grinberg Date: Thu, 05 May 2011 08:29:08 +0300 Subject: [U-Boot] Documenting the CONFIG_MACH_TYPE variable In-Reply-To: <20110504221408.76DFB126DAA@gemini.denx.de> References: <4DC0FFB0.5080502@compulab.co.il> <20110504221408.76DFB126DAA@gemini.denx.de> Message-ID: <4DC235A4.1090804@compulab.co.il> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Wolfgang, On 05/05/11 01:14, Wolfgang Denk wrote: > Dear Igor Grinberg, > > In message <4DC0FFB0.5080502@compulab.co.il> you wrote: >> While looking at how to document the CONFIG_MACH_TYPE variable, >> I caught myself wondering, why don't we provide an option to set >> this variable in board config file and set the bi_arch_number field in >> a more generic location (e.g. arch/arm/lib/board.c: board_init_f()), >> then it is right now (in each board's board_init() function)? > "Historic reasons", probably. > >> Will such thing be accepted? > Why not. > >> Are there any problems with it? >> >> Have anyone tried this in the past? > Not that I know of. Thanks, I'll send a patch in a couple of days. -- Regards, Igor.