commit | c0c951630aa4cf3f0e01a551ffa64f57d0d7cd7f | [log] [tgz] |
---|---|---|
author | Angel Pons <th3fanbus@gmail.com> | Mon Aug 03 13:55:18 2020 +0200 |
committer | Angel Pons <th3fanbus@gmail.com> | Tue Aug 04 12:23:04 2020 +0000 |
tree | 225e7d18d6ee0c4f10d4698a8699f70ae10c7c81 | |
parent | b9bbed2c41a64b60013080494d0125415fbcfdca [diff] [blame] |
nb/intel/gm45: Deduplicate PCIEXBAR decoding We can use `decode_pcie_bar` instead, if we make it non-static. Change-Id: I4d005290355e30e6fdaae3e8e092891fddfbe4fc Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/44118 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
diff --git a/src/northbridge/intel/gm45/gm45.h b/src/northbridge/intel/gm45/gm45.h index d9cfbf7..d18b3d42 100644 --- a/src/northbridge/intel/gm45/gm45.h +++ b/src/northbridge/intel/gm45/gm45.h
@@ -433,6 +433,7 @@ int get_blc_values(const struct blc_pwm_t **entries); u16 get_blc_pwm_freq_value(const char *edid_ascii_string); +int decode_pcie_bar(u32 *const base, u32 *const len); #include <device/device.h>