From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Wed, 17 Mar 2021 01:28:06 +0000 Subject: [PATCH v4 38/42] x86: Support a fake PCI device with of-platdata-inst In-Reply-To: <20210315042553.1932494-18-sjg@chromium.org> References: <20210315042553.1932494-18-sjg@chromium.org> <20210315042553.1932494-1-sjg@chromium.org> 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 With TPL we don't need full PCI support and it adds to code size. Instead, a simple_bus driver is good enough to be able to read and write the PCI config and do a little basic setup. So at present there are two drivers in U-Boot called pci_x86. One is in UCLASS_PCI, used in SPL and U-Boot proper. The other is in UCLASS_SIMPLE_BUS and used only in TPL. Add a tag to tell dtoc about this, so it knows which one to use when generating the devices and uclasses. Signed-off-by: Simon Glass --- (no changes since v1) arch/x86/lib/tpl.c | 1 + 1 file changed, 1 insertion(+) Applied to u-boot-dm/next, thanks!