diff options
author | Igal Liberman <igall@marvell.com> | 2017-07-16 18:55:10 +0300 |
---|---|---|
committer | Kostya Porotchkin <kostap@marvell.com> | 2017-07-17 11:29:00 +0300 |
commit | c3099d02706d8868b2a966800dc8795c7dff9128 (patch) | |
tree | efa9b09351105cb91a0bb2ff7f6256a44891679e /include | |
parent | dfcdadcbcd9e640d95413db9ca67c4d3036ed51e (diff) |
plat/marvell: a80x0_mcbin: add pcie reset release through GPIO
A8040 MACCHIATObin releases the reset of the PCIe via GPIO (number 52).
Currently we perform the reset in u-boot which might be too late for
some PCIe endpoints.
This patch adds the required code to get the PCIe card out of reset
and adds a weak stub for other platforms which do not require this.
Change-Id: I43a2e20d091985cf858165d36dc7a8911d0457e0
Signed-off-by: Igal Liberman <igall@marvell.com>
Reviewed-on: http://vgitil04.il.marvell.com:8080/41656
Reviewed-by: Kostya Porotchkin <kostap@marvell.com>
Tested-by: iSoC Platform CI <ykjenk@marvell.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/plat/marvell/a8k/common/plat_config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/plat/marvell/a8k/common/plat_config.h b/include/plat/marvell/a8k/common/plat_config.h index 4582d1cf..91c0376d 100644 --- a/include/plat/marvell/a8k/common/plat_config.h +++ b/include/plat/marvell/a8k/common/plat_config.h @@ -86,6 +86,7 @@ struct skip_image { } info; }; +int marvell_gpio_config(void); uintptr_t marvell_get_amb_reg_offs(int cp_index); uintptr_t marvell_get_rfu_reg_offs(void); uintptr_t marvell_get_iob_reg_offs(int cp_index); |