Tool/software: Linux
hi
we have boards running on AM3354.
right now we need to change the DDR3 chip to replace the original one.
now in the u-boot ddr-defs.h. i know there's this bunch of calibration results that are used for DDR initialization.
#define DDR3_EMIF_READ_LATENCY 0x00010027//Brad /* Enable Dynamic Power Down */
#define DDR3_EMIF_TIM1 0x0AAAF51B
#define DDR3_EMIF_TIM2 0x26437FDA
#define DDR3_EMIF_TIM3 0x501F83FF
#define DDR3_EMIF_SDCFG 0x62C05332//Brad
#define DDR3_EMIF_SDREF 0x0000093B
#define DDR3_ZQ_CFG 0x50074BE4
#define DDR3_DLL_LOCK_DIFF 0x4//Brad
#define DDR3_RATIO 0x80
#define DDR3_INVERT_CLKOUT 0x0
#define DDR3_RD_DQS 0x3A
#define DDR3_WR_DQS 0x5A
#define DDR3_PHY_WR_DATA 0x8F
#define DDR3_PHY_FIFO_WE 0xA7
#define DDR3_IOCTRL_VALUE 0x18B
My problem is.Is it possible to place several different groups of calibration result for different ddr chips .
and dynamically identify which calibration result should be used depending on which ddr chip is installed on board?
I don't know if there's any "ID register" or similar things to identify different DDR chips?
thanks
yandong