]> git.baikalelectronics.ru Git - uboot.git/commit
pci: pci_mvebu: set BAR0 after memory space is set
authorMarek Behún <marek.behun@nic.cz>
Wed, 7 Aug 2019 13:01:56 +0000 (15:01 +0200)
committerStefan Roese <sr@denx.de>
Mon, 12 Aug 2019 11:59:31 +0000 (13:59 +0200)
commit102b3cee3e9bb5ea70a0a4a950fbe6c650f4f6d5
tree1dbaaee4259272ba2b244c07320c8c91ac6c6552
parentd5411fbb6782641d190ffe54d0675289841d915d
pci: pci_mvebu: set BAR0 after memory space is set

The non-DM version of this driver used to set BAR0 register after the
calls to pci_set_region.
I found out that for some strange reason the ath10k driver in kernel
fails to work if this is done the other way around.
I know that Linux's driver should not depend on how U-Boot does things,
but for some strange reason it does and this seems to be the simplest
solution. Fix it since it caused regressions on Omnia.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Cc: Stefan Roese <sr@denx.de>
Cc: Dirk Eibach <dirk.eibach@gdsys.cc>
Cc: Mario Six <mario.six@gdsys.cc>
Cc: Chris Packham <chris.packham@alliedtelesis.co.nz>
Cc: Phil Sutter <phil@nwl.cc>
Cc: VlaoMao <vlaomao@gmail.com>
Tested-by: Chris Packham <judge.packham@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/pci/pci_mvebu.c