ram: k3-ddrss: lpddr4_structs_if.h: Add a pointer to ddr instance
authorAswath Govindraju <a-govindraju@ti.com>
Tue, 25 Jan 2022 15:26:28 +0000 (20:56 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 8 Feb 2022 14:41:26 +0000 (09:41 -0500)
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@ti.com>
drivers/ram/k3-ddrss/lpddr4_structs_if.h

index e41cbb7..f2f1210 100644 (file)
@@ -24,6 +24,7 @@ struct lpddr4_privatedata_s {
        lpddr4_infocallback infohandler;
        lpddr4_ctlcallback ctlinterrupthandler;
        lpddr4_phyindepcallback phyindepinterrupthandler;
+       void *ddr_instance;
 };
 
 struct lpddr4_debuginfo_s {