Hi @dibyarekha,
I hope you are doing well!
For Custom DDR, One needs to change various parameters (number of rank/cs, data bus width, DRAM speed, timing configurations, etc) according to the datasheet of custom DDR with the help of the DDR configuration tool.
Please refer to 1.1.1 Using DDR configuration tool and 1.1.1.2 Configure DDR controller in QCVS DDR Tool User Guide
After that, the customer can validate DDR configuration using the Validation tool.
Please refer to 1.2 DDR validation in QCVS DDR Tool User Guide
Once validation is done, one can generate code and make changes in TF-A accordingly.
Please refer to the below-mentioned documents in LSDK.
TF-A DDR Driver
Changes in DDR initialization
Regards,
Mrudang