diff options
author | Michał Kopeć <michal.kopec@3mdeb.com> | 2021-12-03 15:17:46 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-12-07 15:03:53 +0000 |
commit | ca1e8aaec4d33afa6f946edc3b6dabfbb51fdd4e (patch) | |
tree | ff04f596a22f5e5037456709f257ad3ee0092ea9 /.gitreview | |
parent | b049eb2d99560fb6b5685965d433f4b1d5e24898 (diff) |
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>
Diffstat (limited to '.gitreview')
0 files changed, 0 insertions, 0 deletions