]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 e41cbb7ff488f1330103f70f317c0255f0a47abb..f2f1210c3c4e264249cb44be9b69d7ec24d2c6eb 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 {