I am working on an LS1021A custom board with a 24 address lines configuration. Whenever we have tried to read memory, the address seems to be shifted by 1 bit. Like when we write into address 0x60000002 A23 line seems to be toggled instead of A22. Why there is always a 1-bit shift in address all the time. Here are 2 different IFC_CSOR configurations we tried.
#define CONFIG_SYS_NOR_CSOR (CSOR_NOR_ADM_SHIFT(7) | \ CSOR_NOR_ADM_SHFT_MODE_EN | \
CSOR_NOR_TRHZ_80)
#define CONFIG_SYS_NOR_CSOR (CSOR_NOR_ADM_SHIFT(7) |\
CSOR_NOR_TRHZ_80)
If we enabled ADM SHIFT MODE enabled, we are not at all seeing any toggle and in the next one, we are seeing as I mentioned above. What should be the proper configuration with regards to 24 bit configuration to have them without any shifts?