u-boot-brain/arch/x86
Simon Glass 0ced70a0bb x86: tpl: Add a fake PCI bus
In TPL we try to minimise code size so do not include the PCI subsystem.
We can use fixed BARs and drivers can directly program the devices that
they need.

However we do need to bind the devices on the PCI bus and without PCI this
does not ordinarily happen. As a work-around, define a fake PCI bus which
does this binding, but no other PCI operations. This is a convenient way
to ensure that we can use the same device tree for TPL, SPL and U-Boot
proper:

   TPL    - CONFIG_TPL_PCI is not set (no auto-config, fake PCI bus)
   SPL    - CONFIG_SPL_PCI is set (no auto-config but with real PCI bus)
   U-Boot - CONFIG_PCI is set (full auto-config after relocation)

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2019-11-03 07:20:28 +08:00
..
cpu x86: Reduce resetvec size 2019-10-11 17:37:38 +08:00
dts binman: x86: Separate out 16-bit reset and init code 2019-10-15 08:40:02 -06:00
include/asm x86: spl: Support init of a PUNIT 2019-11-03 07:20:27 +08:00
lib x86: tpl: Add a fake PCI bus 2019-11-03 07:20:28 +08:00
config.mk x86: efi: app: Generate Microsoft PE format compliant image 2018-12-02 21:59:36 +01:00
Kconfig x86: Drop RESET_SEG_SIZE 2019-10-11 17:37:34 +08:00
Makefile x86: Allow 16-bit init to be in TPL 2019-05-08 13:02:13 +08:00