mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-23 02:18:51 +09:00
![Marcel Ziswiler](/assets/img/avatar_default.png)
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>
39 lines
777 B
Plaintext
39 lines
777 B
Plaintext
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
|