[U-Boot] [PATCH 5/5] ARM:AM33XX: Add support for TI AM335X EVM

Kumar Nath, Chandan chandan.nath at ti.com
Wed Oct 12 13:08:45 CEST 2011


Igor,
 
> > +/*
> > + * Basic board specific setup
> > + */
> > +int init_basic_setup(void)
> > +{
> > +	/* Initialize the Timer */
> > +	init_timer();
> > +
> > +	gd->bd->bi_arch_number = MACH_TYPE_TIAM335EVM;
> 
> Please, use the new standard for setting the mach_id.
> Check the CONFIG_MACH_TYPE option in the README file.
> 

Yes, I will use CONFIG_MACH_TYPE option for setting mach_id
and will post this in next version of patch set.


> > +
> > +	/* address of boot parameters */
> > +	gd->bd->bi_boot_params = PHYS_DRAM_1 + 0x100;
> > +
> > +	return 0;
> > +}
> > +
> > +int board_init(void)
> > +{
> > +	enable_uart0_pin_mux();
> > +	init_basic_setup();
> > +
> > +	return 0;
> > +}
> 
> [...]
> 
> 
> --
> Regards,
> Igor.


More information about the U-Boot mailing list