From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sun, 26 Apr 2020 07:26:41 -0400 Subject: [PATCH v5 5/6] pci: Add a macro to convert BDF from linux to U-Boot In-Reply-To: <20200408083251.v5.5.Ifb213e62095edbb017224d889263bb63c982c112@changeid> References: <20200408143300.52636-1-sjg@chromium.org> <20200408083251.v5.5.Ifb213e62095edbb017224d889263bb63c982c112@changeid> Message-ID: <20200426112641.GT4555@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Apr 08, 2020 at 08:32:59AM -0600, Simon Glass wrote: > U-Boot's BDF format has its bits in the same position as the device tree > PCI definition. > > Some x86 devices use linux format in their register format and it is > useful to be able to convert to U-Boot format. Add a macro for this. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: