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.

Linux/AM5728: LISA map configuration

Part Number: AM5728
Other Parts Discussed in Thread: DRA752

Tool/software: Linux

Hi,

We are using PSDK 02.00.00.00 (Linux) on AM5728 based custom board similar to AM5728 GP EVM.

The LISA map configuration for GP EVM (in arch/arm/cpu/armv7/omap5/sdram.c) is

/*
* DRA752 EVM board has 1.5 GB of memory
* EMIF1 --> 2Gb * 2 = 512MB
* EMIF2 --> 2Gb * 4 = 1GB
* so mapping 1GB interleaved and 512MB non-interleaved
*/
const struct dmm_lisa_map_regs lisa_map_2G_x_2_x_2_2G_x_1_x_2 = {
.dmm_lisa_map_0 = 0x0,
.dmm_lisa_map_1 = 0x80640300,
.dmm_lisa_map_2 = 0xC0500220,
.dmm_lisa_map_3 = 0xFF020100,
.is_ma_present = 0x1
};

Why is the dmm_lisa_map_3 register configured to 0xFF020100?

Can I reconfigure the LISA MAP registers as 

 const struct dmm_lisa_map_regs lisa_map_2G_x_2_x_2_2G_x_1_x_2 = {
.dmm_lisa_map_0 = 0x0,
.dmm_lisa_map_1 = 0x0,
.dmm_lisa_map_2 = 0x80640300,
.dmm_lisa_map_3 = 0xC0500220,
.is_ma_present = 0x1
};

What is the difference between the above two configurations? Which one of these should be used?

Regards,

Prasad.