From mboxrd@z Thu Jan 1 00:00:00 1970 From: Igor Grinberg Date: Wed, 17 Aug 2011 10:31:03 +0300 Subject: [U-Boot] [PATCH 3/9] apf9328: Add Armadeus Project board APF9328 In-Reply-To: <4E44CCF1.9030007@denx.de> References: <20110810200828.21204.60050.stgit@shuttle2.etheralp.ch> <20110810203315.21204.35859.stgit@shuttle2.etheralp.ch> <4E4397E4.60304@denx.de> <5408A6F6-0115-4DB3-BFF4-4D7616487C4E@armadeus.org> <4E44CCF1.9030007@denx.de> Message-ID: <4E4B6E37.4020402@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 On 08/12/11 09:49, Stefano Babic wrote: > On 08/12/2011 01:41 AM, Eric Jarrige wrote: > > Hi Eric, > >>>> +int board_init(void) +{ + gd->bd->bi_arch_number = >>>> CONFIG_MACH_TYPE; >>> Is there no MACH_TYPE for this board ? It is uncommon for an ARM >>> board. Should this board run Linux ? >> The MACH_TYPE for this board is 906. This board runs linux and the >> integration in linux is on going. > Ok, I have understood. The only thing you can directly set > MACH_TYPE_APF9328 here. IMHO it is more readable. You should not do this here unless you support multiple mach types in a single file. Please, see the CONFIG_MACH_TYPE in the U-Boot documentation (README file). -- Regards, Igor.