diff options
author | Elieva Pignat <Elieva.Pignat@arm.com> | 2018-07-25 17:13:56 +0100 |
---|---|---|
committer | ronald-cron-arm <39518861+ronald-cron-arm@users.noreply.github.com> | 2018-10-18 17:22:34 +0000 |
commit | 2d1e6d82c1892a47d7f238cf6b5af26baa0ea8b4 (patch) | |
tree | f58df9195e6f6a20bad7caa7774856665f4267a9 /product/sgm775 | |
parent | d2a77e0d4d0d369f7504c032a380578a4d145438 (diff) |
ddr_phy500: update the driver
Update the driver to be compatible with sgi575 support.
Change-Id: Ibb6ed26407cfdaf8d9c8d48b3e80eebf53ec8135
Signed-off-by: Elieva Pignat <Elieva.Pignat@arm.com>
Signed-off-by: Chris Kay <chris.kay@arm.com>
Diffstat (limited to 'product/sgm775')
-rw-r--r-- | product/sgm775/scp_ramfw/config_ddr_phy500.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/product/sgm775/scp_ramfw/config_ddr_phy500.c b/product/sgm775/scp_ramfw/config_ddr_phy500.c index e6d2d7b3..a6ad948d 100644 --- a/product/sgm775/scp_ramfw/config_ddr_phy500.c +++ b/product/sgm775/scp_ramfw/config_ddr_phy500.c @@ -4,6 +4,8 @@ * * SPDX-License-Identifier: BSD-3-Clause */ + +#include <stdbool.h> #include <fwk_element.h> #include <fwk_module.h> #include <mod_ddr_phy500.h> @@ -20,7 +22,7 @@ static const struct mod_ddr_phy500_reg ddr_reg_val = { .T_RDLAT = 0x00000016, .T_WRLAT = 0x01000000, .DFI_WR_PREMBL = 0x00000002, - .LP_ACK = 0x00641300, + .DFI_LP_ACK = 0x00641300, }; /* Table of DDR PHY500 element descriptions. */ @@ -59,5 +61,7 @@ struct fwk_module_config config_ddr_phy500 = { .get_element_table = ddr_phy500_get_element_table, .data = &((struct mod_ddr_phy500_module_config) { .ddr_reg_val = &ddr_reg_val, + .initialize_init_complete = false, + .initialize_ref_en = false, }), }; |