coreboot-kgpe-d16/src/northbridge
Michał Kopeć ca1e8aaec4 northbridge/amd/pi/00730F01/northbridge.c: remove unneeded global variables
Remove global variables `sblink` and `node_nums` and add function
`get_node_nums()` which reads from PCI config once and returns a static
variable.

TEST=Boot Debian 11 on PC Engines apu3

Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
Change-Id: I20a47f967093ef91355377c164656cabadc30fe6
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/59870
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
2021-12-07 15:03:53 +00:00
..
amd northbridge/amd/pi/00730F01/northbridge.c: remove unneeded global variables 2021-12-07 15:03:53 +00:00
intel nb/intel/sandybridge/romstage.c: Configure DPR and initialize TXT 2021-12-02 17:41:07 +00:00