diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2023-12-17 18:38:08 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2023-12-19 13:14:49 +0000 |
commit | 3f234f85e2cb069e7de75c9d6259934e7916fe87 (patch) | |
tree | 17c85acde43783c09c654d9fbc383da8b9714344 /configs/builder/config.lenovo_x230 | |
parent | dcbb1e8b61cc668260228da2dfc90d3e99b3764b (diff) |
nb/amd/pi/00730F01/northbridge: assume that there's DRAM
This APU is always a single-node and since we're in ramstage when
domain_read_resources gets called, there's DRAM on this node, so no need
to check for this. To be extra sure, also initialize basek and limitk
before calling get_dram_base_limit with pointers to those as arguments.
This won't be necessary for the code to work as intended, but will
probably keep the compiler from complaining. Also move the declaration
of basek, limitk and sizek to the beginning of the function.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I4ef8011eb57b16218b8f5fea295900b855c3014b
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79611
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'configs/builder/config.lenovo_x230')
0 files changed, 0 insertions, 0 deletions