On 11/18/2015 02:56 PM, Scott Wood wrote:
<snip> > >>> I think it'd be a bit more straightforward for this to return the new >>> ram_top >>> rather than the size to be subtracted. >> >> That will be inaccurate. For layerscape SoCs, the gd->ram_size is known at >> this >> point, but the address is not known until later in board file dram bank is >> filled int. So this function can only return how much memory is reserved. > > Sorry, I should have said offset from the start of RAM instead of address. So > the caller does "gd->ram_size = board_reserve_ram_top(gd->ram_size);". > Sure. That can be arranged. York _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

