[U-Boot-Users] [PATCH 04/10] [ARM] TQMA31: add new board with i.MX31 processor

Jens Gehrlein sew_s at tqs.de
Mon Jul 7 13:26:23 CEST 2008


Hi Detlev,

Detlev Zundel schrieb:
> Hi Jens,
> 
>> +int dram_init (void)
>> +{
>> +	gd->bd->bi_dram[0].start = PHYS_SDRAM_1;
>> +	gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE;
>> +
>> +	return 0;
>> +}
> 
> Can't you use autodetection code like we do on many (hopefully most)
> PowerPC boards?

I wish I could, believe me. But for a nice C-routine I need a stack 
while running in flash. Unlike the PowerPC code, current U-Boot ARM code 
doesn't provide such mechanism. I think, the effort to provide it isn't 
little.

Kind regards,
Jens




More information about the U-Boot mailing list