[U-Boot] [PATCH] powerpc: add support for the Freescale P1022DS reference board

Kumar Gala galak at kernel.crashing.org
Fri May 21 01:13:51 CEST 2010


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


More information about the U-Boot mailing list