This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Questions regarding u-boot memory mapping

Hi,

Looking at include\configs\ti8168_evm.h, the memory mapping for the DDR3 is as follows:

#define CONFIG_NR_DRAM_BANKS        2        /* we have 2 banks of DRAM */
#define PHYS_DRAM_1            0x80000000    /* DRAM Bank #1 */
#define PHYS_DRAM_1_SIZE        0x40000000    /* 1 GB */
#define PHYS_DRAM_2            0xC0000000    /* DRAM Bank #2 */
#define PHYS_DRAM_2_SIZE        0x40000000    /* 1 GB */

But in reality, memory for DDR0 bank goes from 0x80000000 to 0x9FFFFFFF, and DDR1 bank goes from 0xA0000000-0xBFFFFFFF.

The EVM has only 1Gbytes of DDR3.

Is it a mistake in the u-boot, or just a definition of the theoretical DDR3 memory mapping?

Does anyone know why the u-boot is defining the memory map that way?

Thank you for your help.

KB