diff options
author | Stefan Roese | 2019-04-08 14:51:49 +0200 |
---|---|---|
committer | Stefan Roese | 2019-04-12 07:04:18 +0200 |
commit | 0a590243d17c197fafa52be96db4cfaa7676ce69 (patch) | |
tree | 1d8acef47aa5c0fc26223f207e300ec9e1b37901 /board/maxbcm/maxbcm.c | |
parent | 82a00be35382b537cbe1338ade00252242383a90 (diff) |
arm: mvebu: AXP: Enhance PCIe port capability configuration
This patch enables the PCIe port specific link capabilities configuration
for Armada XP. The weak function board_sat_r_get() was used to return
a common flag for PCIe Gen1 vs Gen2 capability for all PCIe ports. This
is now changed with this patch to return a bit per PCIe port (4 bits
in this case, bit 0 for PCIe port 0, etc).
The theadorable board uses this new feature to configure PCIe port 0
as Gen1 and all other PCIe ports as Gen2 capable. All other AXP boards
using this function are not changed in the configuration and still
configure all ports as PCIe Gen2.
This patch also removes the parameter "pex_mode" from
board_serdes_cfg_get() as this parameter was not used in any of the
implementations.
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'board/maxbcm/maxbcm.c')
-rw-r--r-- | board/maxbcm/maxbcm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/maxbcm/maxbcm.c b/board/maxbcm/maxbcm.c index e8f8f7ba5b4..395904f8c87 100644 --- a/board/maxbcm/maxbcm.c +++ b/board/maxbcm/maxbcm.c @@ -95,7 +95,7 @@ MV_DRAM_MODES *ddr3_get_static_ddr_mode(void) return &maxbcm_ddr_modes[0]; } -MV_BIN_SERDES_CFG *board_serdes_cfg_get(u8 pex_mode) +MV_BIN_SERDES_CFG *board_serdes_cfg_get(void) { return &maxbcm_serdes_cfg[0]; } |