
Dear Heiko Schocher,
[There is no need to always keep the full quote. Please delete parts that are not interesting for the current diuscussion.]
In message 4CA57CE7.1060209@denx.de you wrote:
But one can configure with gaps too, for ex. If any new board uses two chips with smaller size then it is possibility of gap insertion.
In that case how it should be?
Good question ... for this case we must adapt in arch/arm/lib/board.c
addr = CONFIG_SYS_SDRAM_BASE + gd->ram_size;
But no idea, where to put u-boot ... at the end of the first bank? at the end of the last bank?
It seems logical to me to put U-Boot to the end of the bank with the highest address.
But as mentioned before, this may be not a nice system to use. So far we kind of assume to have a contiguous area of RAM usable.
Best regards,
Wolfgang Denk