u-boot/drivers
Pali Rohár 2a9059aef5 arm: a37xx: pci: Ensure that root port is always on root zero bus
Writing to the PCI_PRIMARY_BUS register of the root port should not change
bus number on which is root port present.

This PCI_PRIMARY_BUS register is used only for correct configuration of
legacy PCI stuff, like forwarding of PCI special cycles between buses.

Aardvark HW does not support PCI special cycles, so it does not have HW
register for PCI_PRIMARY_BUS and therefore it does not matter what is
stored in this register.

So fix this issue and do not use PCI_PRIMARY_BUS register in pci-aardvark.c
driver for moving root bus of the root port.

After this change there is no reason for storing bus number (zero) into
first_busno variable, so remove this variable.

Signed-off-by: Pali Rohár <pali@kernel.org>
Fixes: cb056005dc ("arm: a37xx: pci: Add support for accessing PCI Bridge on root bus")
Reviewed-by: Stefan Roese <sr@denx.de>
2022-02-17 14:17:07 +01:00
..
adc
ata Convert CONFIG_SCSI_AHCI_PLAT et al to Kconfig 2022-02-09 09:16:48 -05:00
axi
bios_emulator
block Convert CONFIG_SYS_IDE_MAXBUS et al to Kconfig 2022-02-09 09:16:47 -05:00
bootcount bootcount: fix printf() code 2022-01-28 17:58:41 -05:00
bus
button button: adc: set state to pressed when the voltage is closest to nominal 2022-02-11 09:00:47 -05:00
cache cache: sifive: Fix -Wint-to-pointer-cast warning 2021-10-20 10:59:09 +08:00
clk clk: clk-k3: Add support for J721S2 SoC 2022-02-08 09:41:27 -05:00
core acpi: Tidy up the item list 2022-01-25 11:44:36 -07:00
cpu
crypto doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
ddr imx8ulp: ddr: Fix DDR frequency request issue 2022-02-05 13:38:39 +01:00
demo
dfu DFU: Check the number of arguments and argument string strictly 2022-02-11 11:29:23 -05:00
dma drivers: dma: Add support for J721S2 2022-02-08 09:41:27 -05:00
fastboot fastboot: only look up real partition names when no alias exists 2022-01-28 11:30:39 -05:00
firmware drivers: dma: Add support for J721S2 2022-02-08 09:41:27 -05:00
fpga arm: socfpga: arria10: Enable double peripheral RBF configuration 2021-12-17 12:58:01 +08:00
gpio GPIO: fxl6408: Add support for FXL6408 GPIO expander 2022-02-05 13:38:39 +01:00
hwspinlock treewide: invaild -> invalid 2022-01-13 07:57:49 -05:00
i2c i2c: muxes: pca954x: add PCA9847 variant 2022-02-01 15:08:07 +05:30
input input: apple: Add support for Apple SPI keyboard 2022-02-10 16:44:23 -05:00
iommu iommu: Add Apple DART driver 2021-10-31 08:46:44 -04:00
led
mailbox mailbox: apple: Add driver for Apple IOP mailbox 2022-02-10 16:44:23 -05:00
memory
misc drivers: misc: Makefile: Enable fs_loader compilation at SPL Level 2022-02-08 11:00:02 -05:00
mmc Merge https://gitlab.denx.de/u-boot/custodians/u-boot-mmc 2022-02-09 11:40:27 -05:00
mtd mtd: cfi_mtd: populate mtd->dev with flash_info->dev 2022-02-01 10:56:25 +01:00
mux treewide: invaild -> invalid 2022-01-13 07:57:49 -05:00
net net: ti: am65-cpsw: Cleanup resources before jump to kernel 2022-02-03 12:15:35 -05:00
nvme nvme: apple: Add driver for Apple NVMe storage controller 2022-02-10 16:44:23 -05:00
pch
pci arm: a37xx: pci: Ensure that root port is always on root zero bus 2022-02-17 14:17:07 +01:00
pci_endpoint
phy phy: nop-phy: Enable reset-gpios support 2022-02-11 11:29:23 -05:00
pinctrl doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
power power: domain: apple: Add reset support 2022-02-10 16:44:23 -05:00
pwm exynos: pwm: Deal with a PWM at 100% 2021-11-09 11:57:22 +09:00
qe configs: fsl: migrate FMAN/QE specific defines to Kconfig 2021-11-09 17:18:23 +05:30
ram ram: k3-ddrss: Add support for J721S2 SoC 2022-02-08 09:41:27 -05:00
reboot-mode
remoteproc remoteproc: ipu: Add driver to bring up ipu 2022-02-08 11:00:03 -05:00
reset reset: dra7: Add a reset driver 2022-02-08 09:41:27 -05:00
rng
rtc rtc: pcf2127: remove U-Boot specific compatible string 2022-02-01 15:08:07 +05:30
scsi Convert CONFIG_SCSI_AHCI_PLAT et al to Kconfig 2022-02-09 09:16:48 -05:00
serial Merge https://source.denx.de/u-boot/custodians/u-boot-riscv 2022-02-10 15:09:55 -05:00
smem
soc soc: soc_ti_k3: update j721e revision numbering 2022-02-08 09:41:27 -05:00
sound doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
spi spi: apple: Add driver for Apple SPI controller 2022-02-10 16:44:23 -05:00
spmi spmi: msm: add arbiter version 5 support 2021-10-31 08:46:44 -04:00
sysinfo
sysreset Xilinx changes for v2022.04-rc1 2022-01-19 11:43:44 -05:00
tee tee: optee: remove unused duplicated login Id macros 2021-11-23 13:53:03 -05:00
thermal
timer omap: timer: implement timer_get_boot_us 2022-01-16 08:31:03 -05:00
tpm doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
ufs
usb usb: gadget: ci: Avoid null pointer dereference 2022-02-11 01:30:43 +01:00
video Merge https://source.denx.de/u-boot/custodians/u-boot-marvell 2022-01-20 12:40:20 -05:00
virtio doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
w1
w1-eeprom
watchdog watchdog: Add a driver for the Apple watchdog 2022-01-13 06:55:46 +01:00
xen
Kconfig iommu: Add IOMMU uclass 2021-10-31 08:46:44 -04:00
Makefile iommu: Add IOMMU uclass 2021-10-31 08:46:44 -04:00