From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Mon, 11 Jun 2018 08:54:00 -0600 Subject: [U-Boot] [PATCH 07/18] dm: pci: Use a 1:1 mapping for bus <-> phy addresses In-Reply-To: <1528637118-32739-8-git-send-email-bmeng.cn@gmail.com> References: <1528637118-32739-1-git-send-email-bmeng.cn@gmail.com> <1528637118-32739-8-git-send-email-bmeng.cn@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 10 June 2018 at 05:25, Bin Meng wrote: > From: Christian Gmeiner > > If U-Boot gets used as coreboot payload all pci resources got > assigned by coreboot. If a dts without any pci ranges gets used > the dm is not able to access pci device memory. To get things > working make use of a 1:1 mapping for bus <-> phy addresses. > > This change makes it possible to get the e1000 U-Boot driver > working on a sandybridge device where U-Boot is used as coreboot > payload. > > Signed-off-by: Christian Gmeiner > Reviewed-by: Bin Meng > [bmeng: fixed 'u-boot' in the commit message] > Signed-off-by: Bin Meng > > --- > > drivers/pci/pci-uclass.c | 10 ++++++++++ > 1 file changed, 10 insertions(+) Reviewed-by: Simon Glass