[PATCH v2 02/20] ram: k3-ddrss: lpddr4_structs_if.h: Add a pointer to ddr instance

Aswath Govindraju a-govindraju at ti.com
Tue Jan 11 08:55:27 CET 2022


Add a pointer to ddr instance int the lpddr4_privatedata_s structure for
supporting mutliple instances of DDR in the drivers.

Signed-off-by: Aswath Govindraju <a-govindraju at ti.com>
---
 drivers/ram/k3-ddrss/lpddr4_structs_if.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/ram/k3-ddrss/lpddr4_structs_if.h b/drivers/ram/k3-ddrss/lpddr4_structs_if.h
index e41cbb7ff488..f2f1210c3c4e 100644
--- a/drivers/ram/k3-ddrss/lpddr4_structs_if.h
+++ b/drivers/ram/k3-ddrss/lpddr4_structs_if.h
@@ -24,6 +24,7 @@ struct lpddr4_privatedata_s {
 	lpddr4_infocallback infohandler;
 	lpddr4_ctlcallback ctlinterrupthandler;
 	lpddr4_phyindepcallback phyindepinterrupthandler;
+	void *ddr_instance;
 };
 
 struct lpddr4_debuginfo_s {
-- 
2.17.1



More information about the U-Boot mailing list