mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-24 20:13:39 +00:00
f1333417e8
It turns out that the current PCIe reset implementation in the PCIe board init function is not quite working reliably due to PCIe reset timing violations. Fix this by overriding the tegra_pcie_board_port_reset() function. Also allow optionally bringing up the PCIe switch as found on the Apalis Evaluation board. Note however that the Apalis PCIe port is also left disabled in the device tree by default. Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
38 lines
777 B
Text
38 lines
777 B
Text
if TARGET_APALIS_TK1
|
|
|
|
config SYS_BOARD
|
|
default "apalis-tk1"
|
|
|
|
config SYS_VENDOR
|
|
default "toradex"
|
|
|
|
config SYS_CONFIG_NAME
|
|
default "apalis-tk1"
|
|
|
|
config TDX_CFG_BLOCK
|
|
default y
|
|
|
|
config TDX_HAVE_MMC
|
|
default y
|
|
|
|
config TDX_CFG_BLOCK_DEV
|
|
default "0"
|
|
|
|
config TDX_CFG_BLOCK_PART
|
|
default "1"
|
|
|
|
# Toradex config block in eMMC, at the end of 1st "boot sector"
|
|
config TDX_CFG_BLOCK_OFFSET
|
|
default "-512"
|
|
|
|
config APALIS_TK1_PCIE_EVALBOARD_INIT
|
|
bool "Apalis Evaluation Board PCIe Initialisation"
|
|
help
|
|
Bring up the Apalis PCIe port with the PCIe switch as found on the
|
|
Apalis Evaluation board. Note that by default the PCIe port is also
|
|
left disabled in the device tree which needs changing as well for this
|
|
to actually work.
|
|
|
|
source "board/toradex/common/Kconfig"
|
|
|
|
endif
|