[coreboot] Missing PCIe devices

Nico Huber nico.h at gmx.de
Sun Jan 14 11:49:28 CET 2018


Hi,

On 14.01.2018 11:05, Kyösti Mälkki wrote:
> On Sun, Jan 14, 2018 at 11:27 AM, Hal Martin <hal.martin at gmail.com> wrote:
>> Just to verify again, I enabled all the PCI Express devices in the
>> devicetree.cb to see if the missing devices would appear. Unfortunately they
>> didn't.
>>
> 
> The log says some of those PCIe root ports are hidden/disabled:
> PCI: Static device PCI: 00:1c.3 not found, disabling it.
> 
> You will want to look at your board's rcba_config() implementation for
> the enablement, it essentially takes precedence over anything you have
> in devicetree.cb. FD register 0x3418 should be of most interest to
> you, and there is also RPFN 0x0404 that affects the enumeration of
> 0:1c.0 PCIe root ports. Datasheet should be public.
> 

Yep, they are disabled in `romstage.c`. I've commented on the commit
that added the culprit.

Hal, generally you shouldn't set any register in your mainboard code
that is already handled by the code for the respective chip (in this
case sb/intel/bd82x6x/) unless you know what you are doing.

Nico



More information about the coreboot mailing list