From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Tue, 12 Jun 2018 21:07:26 +0800 Subject: [U-Boot] [PATCH 06/18] dm: pci: Make ranges dt property optional In-Reply-To: References: <1528637118-32739-1-git-send-email-bmeng.cn@gmail.com> <1528637118-32739-7-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 Mon, Jun 11, 2018 at 10:53 PM, Simon Glass wrote: > On 10 June 2018 at 05:25, Bin Meng wrote: >> From: Christian Gmeiner >> >> If we use U-Boot as coreboot payload with a generic dts without >> any ranges specified we fail in pci pre_probe and our pci bus >> is not usable. >> >> So convert decode_regions(..) into a void function and do the simple >> error handling there. >> >> Signed-off-by: Christian Gmeiner >> Reviewed-by: Bin Meng >> [bmeng: fixed 'u-boot' in the commit message and checkpatch warning] >> Signed-off-by: Bin Meng >> >> --- >> >> drivers/pci/pci-uclass.c | 23 ++++++++++------------- >> 1 file changed, 10 insertions(+), 13 deletions(-) > > Reviewed-by: Simon Glass applied to u-boot-x86, thanks!