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. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot