On May 20, 2010, at 5:33 PM, Wolfgang Denk wrote:

> ...
>> +phys_size_t initdram(int board_type)
>> +{
>> +    phys_size_t dram_size = 0;
>> +
>> +    puts("Initializing....\n");
>> +
>> +    dram_size = fsl_ddr_sdram();
>> +    dram_size = setup_ddr_tlbs(dram_size / 0x100000);
>> +    dram_size *= 0x100000;
>> +
>> +    puts("    DDR: ");
>> +    return dram_size;
> 
> How about using get_ram_size() for autosizing / testing?

Why, the board is SPD based?

- k
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to