13 switch (CONFIG_ECAM_MMCONF_BUS_NUMBER) {
14 case 256:
return 0 << 1;
15 case 128:
return 1 << 1;
16 case 64:
return 2 << 1;
static uint32_t read32(const void *addr)
#define dead_code_t(type)
void __weak bootblock_early_northbridge_init(void)
static uint32_t encode_pciexbar_length(void)
static __always_inline void pci_io_write_config32(pci_devfn_t dev, uint16_t reg, uint32_t value)