coreboot-kgpe-d16/src/mainboard/asus/f2a85-m
Paul Menzel a9efed5fd9 mb/asus/f2a85-m_pro: Set resources for 2e.b
The v4 resource allocator logs the error below:

    […]
    === Resource allocator: DOMAIN: 0000 - Pass 2 (allocating resources) ===
    DOMAIN: 0000 io: base: 0 size: 0 align: 0 gran: 0 limit: ffff
     update_constraints: PCI: 00:14.3 10000000 base 00000000 limit 00000fff io (fixed)
     update_constraints: PNP: 002e.2 60 base 000003f8 limit 000003ff io (fixed)
     update_constraints: PNP: 002e.5 60 base 00000060 limit 00000060 io (fixed)
     update_constraints: PNP: 002e.5 62 base 00000064 limit 00000064 io (fixed)
     update_constraints: PNP: 002e.b 60 base 00000290 limit 00000291 io (fixed)
     DOMAIN: 0000: Resource ranges:
     * Base: 1000, Size: f000, Tag: 100
      PCI: 00:01.0 14 *  [0x1000 - 0x10ff] limit: 10ff io
      PCI: 00:11.0 20 *  [0x1100 - 0x110f] limit: 110f io
      PCI: 00:11.0 10 *  [0x1110 - 0x1117] limit: 1117 io
      PCI: 00:11.0 18 *  [0x1118 - 0x111f] limit: 111f io
      PCI: 00:11.0 14 *  [0x1120 - 0x1123] limit: 1123 io
      PCI: 00:11.0 1c *  [0x1124 - 0x1127] limit: 1127 io
      ERROR: Resource didn't fit!!!   PNP: 002e.b 62 *  size: 0x2 limit: fff io
    DOMAIN: 0000 io: base: 0 size: 0 align: 0 gran: 0 limit: ffff done
    […]
    === Resource allocator: DOMAIN: 0000 - resource allocation complete ===
    […]
    PNP: 002e.b 60 <- [0x0000000290 - 0x0000000291] size 0x00000002 gran 0x01 io
    PNP: 002e.b e2 <- [0x000000007f - 0x000000007e] size 0x00000000 gran 0x00 irq
    PNP: 002e.b e4 <- [0x00000000f1 - 0x00000000f0] size 0x00000000 gran 0x00 irq
    ERROR: PNP: 002e.b 62 io size: 0x0000000002 not assigned in devicetree
    ERROR: PNP: 002e.b 70 irq size: 0x0000000001 not assigned in devicetree
    WARNING: PNP: 002e.b f0 irq size: 0x0000000001 not assigned in devicetree
    […]

So configure it, to use the resources from port 0.

TEST=With CB:54669 boot Asus F2A85-M PRO to SeaBIOS/GRUB and Debian’s
Linux 5.10.28
Solution-by: Arthur Heymans <arthur@aheymans.xyz>
Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
Change-Id: Ibfedca96e4b5ad17f99bc84e2fbf7d0a6aad4484
Reviewed-on: https://review.coreboot.org/c/coreboot/+/54670
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2021-05-20 08:00:54 +00:00
..
acpi AGESA,binaryPI boards: Drop _SI scope with _SST in ASL 2021-02-20 21:39:24 +00:00
acpi_tables.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
BiosCallOuts.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
board_info.txt
bootblock.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
buildOpts.c mb/asus/f2a85-m_pro: Enable PCIe bridge 00:15.2 in AGESA 2020-11-20 16:01:16 +00:00
cmos.layout mb/**/cmos.layout: Drop unreferenced iommu option 2021-04-26 10:32:49 +00:00
devicetree_f2a85-m.cb mainboard/*/*/*.cb: Remove leading blank lines from SPDX header 2020-05-18 07:01:11 +00:00
devicetree_f2a85-m_le.cb mainboard/*/*/*.cb: Remove leading blank lines from SPDX header 2020-05-18 07:01:11 +00:00
devicetree_f2a85-m_pro.cb mb/asus/f2a85-m_pro: Set resources for 2e.b 2021-05-20 08:00:54 +00:00
dsdt.asl AGESA,binaryPI boards: Drop _SI scope with _SST in ASL 2021-02-20 21:39:24 +00:00
irq_tables.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
Kconfig AGESA,binaryPI boards: Drop invalid MP table files 2021-03-16 21:32:06 +00:00
Kconfig.name
mainboard.c AGESA,binaryPI boards: Move IRQ table programming 2021-03-16 21:26:06 +00:00
Makefile.inc src: Remove leading blank lines from SPDX header 2020-05-18 07:00:27 +00:00
OemCustomize.c AGESA boards: Fix typo in *OVERRIDES* in comment 2020-05-29 12:48:48 +00:00
OptionsIds.h AGESA boards: Drop comments about IDS_DEBUG_PORT 2021-05-10 16:22:39 +00:00
romstage.c src: Include <arch/io.h> when appropriate 2020-10-26 06:44:40 +00:00